Instructors Only

Student and Instructor Source Code
(suggested answers and starting points for students)

(all 9 zip files below as one download)

When students open the project, they simply need to read the comments in the .java files to find out what to do. There are comments and guidance throughout the files. In some places they will be writing entire methods, in others they may be just completing a code segment or finishing a single statement. The student version is, of course, just a suggested starting point for your students. Depending on the time you want to dedicate to the lab, you may delete out or add back in more code, having them create more/less on their own. Enjoy.
Name
Solution
Student Version
Game of Fifteen
zip
zip
WuZiQi
zip
zip
Escape from a Maze
zip
zip
Magic Wand World
zip
zip

 

This lab is suggested as a final project. There is no "student version" for this. The lab is long and involved. The game can be played on the internet; there are many sites where it can be found. The students who welcome a challenge will have a lot of fun designing this lab, not to mention playing it (careful, it's addictive). Of course, you can always give them some of the code to get them started.

Some things they'll have to think about include:
* how to represent initial-situation game data in a file
* reading game data from a file and filling a data structure of their design
* representing an arrow in the Grid
* drawing their own custom graphics (I used arrows)
* timing game play using a Thread and a separate Frame

Possible extensions include:
* saving/reinstating the players' wins/losses/stats in a file (serialized)
* remembering multiple players' stats, displaying best scores

Name
Solution
Student Version
Traffic Jam
zip
n/a