← The arcade

Mini Games · difficulty 2 of 3

Yahtzee scorer 🎲

Classify a roll of five dice: Yahtzee (five same), Four of a kind, Full house (3+2), Straight (five in a row), or Chance.

Write it in the browser and press run. Real Python, checked against the expected output, no account needed.

Skills: loops, lists, dicts

Open the arcade