Module: Yahtzee
- Defined in:
- lib/game.rb,
lib/round.rb,
lib/errors.rb,
lib/scoring.rb,
lib/yahtzee.rb,
lib/score_card.rb
Overview
Immutable via API, I will work on freezing this later, but notice that when you ‘save’ you are not altering THIS instance, you return a new instance with the old and the new attributes
Defined Under Namespace
Modules: Dice, Errors, Game, Probability, Scoring Classes: Round, ScoreCard
Constant Summary collapse
- VERSION =
"0.0.3"
- SCORINGS =
[:aces, :twos, :threes, :fours, :fives, :sixes, :upper_subtotal, :upper_total, :small_straight, :large_straight, :full_house, :three_of_a_kind, :four_of_a_kind, :yahtzee, :chance, :bonus_yahtzee_1, :bonus_yahtzee_2, :bonus_yahtzee_3, :lower_subtotal, :game_total]