Coding Dojo

Edit on Gitlab

Greed

http://en.wikipedia.org/wiki/Greed_%28dice_game%29

Greed (Dice Game)

Write a class Greed with a score() method that accepts an array of die values (up to 6). Scoring rules are as follows:

Note that the scorer should work for any number of dice up to 6.