CS 124, Fall 2017
Labs 14: Hangman Finished

For the final lab of the semester, you should complete the Hangman game that was begun in Lab 12 (or, if you are working on a different program, you should finish that). The completed program is due tomorrow by 3:00 PM. (It will be accepted late until noon on Saturday, with a very small lateness penalty.)

Polish

For this final lab, you should already have a completed, working game by the time you arrive at the lab. You can use the last lab to add polish and maybe some additional features to your program.

The program that you turn in for this project should be well-documented, and it should carefully follow all the other rules of good programming style. The code should be well-organized and efficient. Define subroutines where appropriate to avoid having long segments of code in one method. Use nested clases to organize the code better.

A correct but minimalistic game will not receive full credit. The game should look nice, and it should be fun to play. It should keep the user informed about exactly what is going on.

Think about adding some extra features, especially if you are working with a partmer. You could provide the user with a choice of several different word lists to choose from. You might keep track of the number of games won or lost and display that information somewhere in the panel. You might implement levels of difficulty by varying the number of incorrect guesses that are allowed. You could think about adding Midi sound effects (using ideas from Lab 8). Maybe even add some animation (Section 6.4.1). Or come up with your own ideas.

Turing in Your Work

If the only thing that you are submitting is Hangman.java, you can turn it in in the usual way at http://math.hws.edu/submit/. If you are turning in one or two extra files, you can submit them individually on the site, using the button under "You can submit additional files for this assignment here:".

If you are working on a completely different project than hangman, or if you have a lot of files to submit, it will be easier for you to submit a compressed archive of your entire project as a single file. To do this from Linux, find the folder that you want to submit in a file browser window—probably the src folder of an Eclipse project. Right-click the folder and select "Compress...". In the window that pops up, you can leave the type of archive set to the default .tar.gz, or you can change it to the more common .zip. When you click OK, a .tar.gz (or .zip) file will be created. That file is a compressed archive of the folder that you created. You can then submit that file using the Submit web site.