Skip to content

Instantly share code, notes, and snippets.

@sdliv
Created May 5, 2014 13:56
Show Gist options
  • Save sdliv/5e60fee298554851c7f8 to your computer and use it in GitHub Desktop.
Save sdliv/5e60fee298554851c7f8 to your computer and use it in GitHub Desktop.
Farkle Dice Game Thoughts
What does a Dice do?
Has numbers.
It rolls.
Does it store numbers? No.
GameTurn
What does a player's turn do?
It rolls the dice
It records the score for a turn
Player can accept the score or reject it
Player can store their score.
Game
Tells you who is playing
Establishes the rules
Prints out the scores
Determines the score limit - (An established rule)
Player
Has a name
Has their own respective score.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment