Files
lab_dice/play.py
2025-08-28 04:58:22 +00:00

16 lines
203 B
Python

from yahtzee import Yahtzee
from yahtzee_goals import (
GoalOnes,
GoalTwos,
GoalThrees,
)
goals = [
GoalOnes(),
GoalTwos(),
GoalThrees(),
]
game = Yahtzee(goals)
game.play()