Hello, StarCraft!

  • 6
  • Locked
You may never have heard of the ancient toy known as "StarCraft I", because it came out—it's scary to say—in 1998. In this strategy game, you had to select a race and play as either Terran, Protoss, or Zerg. Let's remember vacuum-tube-based StarCraft by creating representatives of all three races.
You can't complete this task, because you're not signed in.
Comments (18)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Alvaro Avas
Level 3 , Montevideo, Uruguay
15 September, 01:14
tedioso, pero necesario.
ImDevin
Level 15 , Old Town, United States
25 March, 22:32
wow tedious! :)
Java_Mooood
Level 3 , San Antonio, United States
16 October 2020, 18:04
Create object , use the object reference (cr) to call the string name and assign to unique name Car cr = new Car(); cr.name ="uniquename";
jordan
Level 6 , Houston, United States
20 September 2020, 19:40
for Terran w = new Terran(); why must we put the () at the end?
Matt
Level 3 , Houston, United States
5 August 2020, 18:15
Thanks for the steering! The first lesson, Getting started with classes: writing your own classes, constructors concerning the Cat class and your comments worked. I am wondering whether the goal was to create an object or a variable addressing an object
Kristen Kinnear-Ohlmann
Level 5 , Bloomington, United States
19 April 2020, 17:49
I really whiffed on this one. I totally was not getting how to solve this and had to look at the hints. I think it's because I expected the code to be more optimized so I went for the kind of solution I would normally write.
Yuvavimal Java Developer at Ayotta-technologies
11 December 2019, 14:55
Create 5 Zerg units, 3 Protoss units and 4 Terran units. Give them all unique names. how to solve pls hint me friends
Vicks
Level 4 , Mumbai, India
26 September 2019, 07:07
/* Comment has been deleted */
Roman
Level 41
26 September 2019, 09:18
Posting the solution in the comments is prohibited.
Clarence L Mackey
Level 4 , Fresno, United States
8 June 2019, 05:04
I like programming, it's just those damn (verdamnt) nuances.
Dman
Level 5 , Working from G1 1EJ, Glasgow UK., United Kingdom
30 April 2019, 10:05
Did anyone try approach this in a way such as: // for (int i = 1; i <= 5; i++) { // Zerg z+i = new Zerg(); // z+i.name = "Zerg" + I; } I started off but suspected we weren't supposed to be trying to be too clever and repetition was the key..
Jack
Level 4 , Yerevan, Armenia
13 April 2020, 17:54
i like the way you think