This site requires JavaScript, please enable it in your browser!
Greenfoot back

kc4tlm's Comments

Back to kc4tlm's profile

No problem. Glad I could help. It was fun. I like the game, too. Very cool.
I would re-write it as: public void addBlocks() { int i = 0; while (i < 48) { addObject(new Block(),Random(),Random()); int = i + 1; } }
I fixed your code that adds blocks. I wrote a while loop that creates the same 48 random blocks. I happen to choose this game for my class and I had to find a good place to write a won :-)
I love the Stargate Theme!