Files
lab_dice/play.py
2025-09-16 13:20:24 +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()