Next: About this document ...
Up: Project 2 Description
Previous: Extra Credit
Please turn in the following:
- A README file which describes the program and how to install it
- A file hangman.scm which contains the following procedures:
- hangman - the initialization routine
- hangman-guess - the guess routine for the interactive hangman game from the first part of the project
- hangman-guess-sim - the guess routine for the simulated hangman game from the second part of the project
- (optional) hangman-guess-anim - the guess routing for the animated interactive hangman game (the first part of the extra credit)
- (optional) hangman-guess-sim-anim - the guess routine for the animated simulated hangman game (the second part of the extra credit)
- any global data structures you need, I needed the following for the original game (and more for the extra credit)
- PARTS - the list of body parts
- WORDS - the original list of words
- chosen-word - the word player1 has chosen
- status-word - the word that shows what player2 has guessed
- body-parts-left - the list of body part player2 still has
- any helper functions needed
- A file dict.scm which contains the following procedures:
- add-word which adds a word to the database
- any helper functions
- (optional) fast-add-word which adds a word to the database using sorting and searching
- A file sim.scm which contains the following procedures:
- player1-maker which makes the player1 object
- player2-maker which makes the player2 object
- any helper functions needed for the simulation
These files should be tarred and attached to email in the same way that the project 1 files were turned-in. Additionally, any file which requires the loading of another file, should have the full path of that file in a load statement at the beginning of the file.
For example, if you need the counter object definition in your sim file, sim.scm should contain a line (load "~pfeather/proj2helper/counter.scm"). If you need the hangman file in your sim file, sim.scm should contain a line (load "hangman.scm").
- 5-pts Proper turn-in
- 10-pts Documentation
Note: You will find several files of helper function in ~pfeather/proj2helper.
Next: About this document ...
Up: Project 2 Description
Previous: Extra Credit
Patricia Gilfeather
2001-04-12