Files
lab_dice/play.py
2026-01-26 01:57:34 +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()