generated from mwc/lab_dice
30 lines
463 B
Python
30 lines
463 B
Python
from yahtzee import Yachtzee
|
|
from yahtzee_goals import (
|
|
GoalOnes,
|
|
GoalTwos,
|
|
GoalThrees,
|
|
GoalFours,
|
|
GoalFives,
|
|
GoalSixes,
|
|
GoalThreeOfAKind,
|
|
GoalFourOfAKind,
|
|
GoalFullHouse,
|
|
GoalChance
|
|
)
|
|
|
|
goals = [
|
|
GoalOnes(),
|
|
GoalTwos(),
|
|
GoalThrees(),
|
|
GoalFours(),
|
|
GoalFives(),
|
|
GoalSixes(),
|
|
GoalThreeOfAKind(),
|
|
GoalFourOfAKind(),
|
|
GoalFullHouse(),
|
|
GoalChance()
|
|
]
|
|
|
|
game = Yachtzee(goals)
|
|
game.play()
|