Describe Player {}
- Make an object for each player
- Player one = new player use constructor to build
- Objects should have Keys: Player Name, current score, total score
Describe rollDice()
- Create function to make dice.
- Use randomizer to produce number
Describe roll()
- Add rollDice number to current score.
- else if roll 1 lose current score.
- Function should end turn if a one is rolled.
Describe endTurn()
- Function to end the turn voluntarily.
- Function should also transfer the current score to the total score.
- Function should then transfer control to other player.
- Game should end when a player ends turn with 100 points.
Describe rollTwo()
- Perform rollDice() twice.
- Check for a single 1, end turn.
- Check for a double 1, clear total score and end turn.
- Check for any other double, add score and must roll again.