- As the possible hands of the game (paper, rock, scissors) are constants, I choose an enum class to represent it.
- All hand match outcomes are tested.
- Game setup is easy to understand.
- If a change on the match rules is needed, like choose certain hands on specific rounds, the game class will need to be refactored.
-
Notifications
You must be signed in to change notification settings - Fork 0
hersonoliveira/rock-scissor-paper
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published