Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Hangman GUI #69

Open
YunSuk opened this issue Sep 30, 2017 · 1 comment
Open

Refactor Hangman GUI #69

YunSuk opened this issue Sep 30, 2017 · 1 comment

Comments

@YunSuk
Copy link
Contributor

YunSuk commented Sep 30, 2017

Currently, HangmanGUI.java is a big blob.

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

@brianslee
Copy link
Contributor

W18 Ok 400 Points

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants