Files
lab_dice/play.py
2023-08-16 05:28:24 +00:00

16 lines
205 B
Python

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