Closed Zrp200 closed 9 years ago
Let's just borrow the short cuts from this repo.
key_move_mappings = {"1" => :ones, "2" => :twos, "3" => :threes,
"4" => :fours, "5" => :fives, "6" => :sixes,
"s" => :small_straight, "l" => :large_straight,
"t" => :three_of_a_kind, "f" => :four_of_a_kind,
"h" => :full_house, "y" => :yahtzee, "?" => :chance};
I had initially envisioned typing the full name but supporting tab completion. However, that's probably more work than necessary.
Sure
Where should this go?
In the Player
class.
There needs to be abbreviations for the score field