Sunday, October 20, 2013

Class 7, Assignment 2: Greenfoot JoC #12 through #15

Beards, Bugs, and Bacon!

JoC #12



JoC #13



JoC #14


I had to actually download my own fanfare sound file from the web.  I substituted the mp3 I found where the wav file should have been.

JoC #15


In the image above I highlighted the bug in the code from JoC #15.  It took me a few mins to figure out what was going wrong.  It appears that the code as it stands requires the player to get exactly 15 points to trigger the WIN.   In my screenshot above, you can see I have 38 points and the game is still going.  

No comments:

Post a Comment