DUE SUNDAY NOVEMBER 1 11:59:59 In the game Hangman, the player attempts to guess a hidden name or phrase. On each turn, the player guesses a letter. If the letter is part of the phrase, each occurrence of that letter is filled in for the player. If the letter is not part of the phrase, a part of the man is hung on a noose (in general, a guess is counted against the user). Here's an on-line version of the game. For this project, you'll write your own on-line version of the game using Google's App Engine. One way to start is to copy your mastermind folder, change the names of the files to use "hangman" instead of "mastermind", then modify the files and names of event-handlers to fit for this application. Basic Game (70% credit) Show the phrase, the previously entered wrong letters, and the number of misses as simple text. The phrase should show all correctly chosen letters filled in, and use some character (e.g., *) for the blanks. (15) The game should randomly choose one of n phrases (where n>5) (15) The game should report that the player lost after n bad guesses, and show the phrase. (15) The game should report that the player has won. (15) The player should be able to start a new game at any time. (10) Advanced Game (the other 30%) Show the man being hung with an image (actually, a sequence of images) (20) Notify the player if they enter a letter twice and discount the entry (10) Extra Credit (0-10%) Provide a nice graphical user interface (menu, background, css styling) (0-10) Other features (for credit, run them by your instructor beforehand) (0-10) Alternative Projects You may choose a different game or application of similar complexity, if you can talk your instructor into it. If you choose this option, email your instructor the specifications, including credit points for each feature, by Oct 26. |
