generated from mwc/lab_dice
22 lines
335 B
Python
22 lines
335 B
Python
from yahtzee import Yachtzee
|
|
from yahtzee_goals import *
|
|
|
|
goals = [
|
|
GoalOnes(),
|
|
GoalTwos(),
|
|
GoalThrees(),
|
|
GoalFours(),
|
|
GoalFives(),
|
|
GoalSixes(),
|
|
ThreeofaKind(),
|
|
FourofaKind(),
|
|
FullHouse(),
|
|
SmallStraight(),
|
|
LargeStraight(),
|
|
YAHTZEE(),
|
|
Chance()
|
|
]
|
|
|
|
game = Yachtzee(goals)
|
|
game.play()
|