Game Camp 2008 Example Scenarios

Here are example scenarios for Game Camp 2008 that you may find useful.

Game0:  Not quite a game yet, move the Bee to get the flowers

Game1: An actual game, get the flowers before the time runs out.  Use class variable for numSoFar and numFlowers to determine if you have visited all the Flowers.  Win/lose conveyed to player via System.out.println.

Game2:  Same as game 1 but now the flower vibrate after then have been pollinated.  This is done with the getJumpDistance() and setJumpDistance() methods added to Flower.

Game3:  Same as game2 but add in win/lose screens. 

Game4:  Add in patrolling dragonflies

Game5:  Make the dragonflies "heat seeking" 

Game6: Add game states so you can replay.  Uses enumerated types.

Game7: Adds wand usage to zap dragonflies.  Implemented by keeping an array of dragonflies and looping through them to see within a certain threshold distance of the Bee when the "W" key is pressed. 

AttachmentSize
ForLoops1.zip29.58 KB
game1.zip44.43 KB
game0.zip41.68 KB
game2.zip60.21 KB
game3.zip123.83 KB
game4.zip145.67 KB
game5.zip146.58 KB
game6.zip858.29 KB
game7.zip807.36 KB
textExample5.zip63.27 KB