hang man game
i have been asked to design this game using gui and java
so plz can i get help with tips and codes
I would have made a JFrame (BorderLayout) w. two panels, one for drawing the gallows and one for presenting questions and entering answers. These two panels I would have coded in separate files and added the components to the JFrame. The gallows in CENTER and the other WEST. In SOUTH I would have had a panel for Close button (etc.).
In the gallows panel I would have overridden the paint method. I would have used a series of images depicting the situation, this situation is given from the outcome of the answers. The gallowspanel must use paint logic that paints the image that corresponds to the success/failure of the answers.
Good luck !
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center