Files
lab_dice/play.py
2024-11-10 14:10:35 -05: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()