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 to harness immutability, object orientation, old&plain cli #4

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

Conversation

ghost
Copy link

@ghost ghost commented May 23, 2017

I hope you enjoy this refactor as much as I enjoy your articles.
Nice contest. Would love to read your books in the near future.
Regards. https://twitter.com/fejnartal

fejnartal and others added 21 commits May 23, 2017 00:27
Possible future improvements.
Ascii animation?
Improved SecretProviders?
Multilanguage support?
Handle state by method parameters (receive previous round as method
argument)
Sync changes from original repo
Encapsulate NULL character manipulation inside Guess class.
Encapsulate Guess combination strategy inside Guess class.

Future work:
Completely hide the public final knownText. Implement a better strategy
to check if some Guess contains the full secretPhrase already.
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

Successfully merging this pull request may close these issues.

1 participant