File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ category chosen.
1919 Sixes 6 × number of sixes 2 3 4 5 6 scores 6
2020 Full House Total of the dice 3 3 3 5 5 scores 19
2121 Four of a Kind Total of the four dice 4 4 4 4 6 scores 16
22- Little Straight 30 points 1 2 3 4 5 scores 30
22+ Little Straight 30 points 1 2 3 4 5 scores 30
2323 Big Straight 30 points 2 3 4 5 6 scores 30
2424 Choice Sum of the dice 2 3 3 4 6 scores 18
2525 Yacht 50 points 4 4 4 4 4 scores 50
@@ -28,7 +28,7 @@ If the dice do not satisfy the requirements of a category, the score is zero.
2828If, for example, * Four Of A Kind* is entered in the * Yacht* category, zero
2929points are scored. A * Yacht* scores zero if entered in the * Full House* category.
3030
31- ## Task
31+ ## Task
3232Given a list of values for five dice and a category, your solution should return
3333the score of the dice for that category. If the dice do not satisfy the requirements
3434of the category your solution should return 0. You can assume that five values
You can’t perform that action at this time.
0 commit comments