![]() ![]() The one new thing you will need is to download a newįor this project (right-click on the link and select "Save Link As" to download the file). You need to copy the entire directory so that you get all the classes ( HangmanGame, WordFile) as well as the word-lists, etc.You should make a copy the entire project directory (remember to rename the folder!), and then start working from there. You will need a copy of your completed Hwk 7 (the HangmanGame). To practice developing programs with low coupling (separating logic and representation).To practice writing graphical event-driven programs.To practice implementing Graphical User Interfaces (GUIs) using classes from the Swing libraries.To practice refactoring and modifying code.You are welcome to ask for help (either from me or from your classmates), but remember the Gilligan's Island rule! This assignment should be completed individually. Implementing this program will involve refactoring (reorganizing) your Hangman game, as well as adding classes to support the drawing and the buttons.įinally, you'll also package your entire game into a single file, so that you can easily show it off to your friends and family without them needing BlueJ! Users can click on the buttons to guess letters, and will see the hangedman drawing appear as they make mistakes! The "NEW" button can start a new game. Indeed, "we might want to change it" has been a common excuse for a lot of style and implementation decisions! The vast majority of programming wok involves modifying and adapting existing programs-this assignment will give you a chance to practice with that process and see how easy it can be with well-organized code.įor this assignment, you will be modifying your previous Hangman game to give it a simple graphical user interface (or "GUI"), like the one below: ![]() In designing your Hangman game for the last program, you were encouraged to break the code up into helper methods so that it would be easy to modify and adjust your program later. CS 161 Homework 8 - Graphical Hangman Due Tues Apr 21 at 11:59pm Overview ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |