You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let break it up into separate classes using OO and MVC concepts.
For example:
Sound player (MakeSound class) should be a separate class.
Hangman rendering could be done in a separate renderer class.
The options buttons and setting should be different classes.
play() could use some helper functions, like by using button creator helper createButton(String name, ActionListener listener). Look for repeating patterns.
400 points
The text was updated successfully, but these errors were encountered:
Currently, HangmanGUI.java is a big blob.
Let break it up into separate classes using OO and MVC concepts.
For example:
400 points
The text was updated successfully, but these errors were encountered: