Skip to main content

Timeline for Survival Game - Create Your Wolf

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Apr 11, 2014 at 21:21 comment added BurntPizza You should really have a default: on your switch in setUpMove(), in the presence of GamblerWolf, firstMove and secondMove wind up both being null, generating a NPE and halting the sim. Either that, or use a Random instance instead of Math.random()
Apr 10, 2014 at 8:32 comment added user20151 Thanks, I was rushing, using notepad, and haven't wrote Java for about 10 years so I appreciate the fixes.
Apr 10, 2014 at 3:55 comment added Rainbolt I corrected 'bool' to 'boolean' and 'var' to 'Move'. Your code wouldn't compile otherwise. I went ahead and edited your post too. If that was a mistake, I apologize and you can undo the edit yourself.
Apr 10, 2014 at 3:53 history edited Rainbolt CC BY-SA 3.0
Code correction
Apr 9, 2014 at 16:23 review First posts
Apr 9, 2014 at 16:33
Apr 9, 2014 at 15:58 history answered user20151 CC BY-SA 3.0