generated from mwc/lab_dice
I made all the rolls in yahtzee and got a score 294
This commit is contained in:
27
play.py
27
play.py
@@ -1,15 +1,36 @@
|
||||
from yahtzee import Yahtzee
|
||||
from yahtzee_goals import (
|
||||
GoalOnes,
|
||||
GoalTwos,
|
||||
GoalOnes,
|
||||
GoalTwos,
|
||||
GoalThrees,
|
||||
GoalFours,
|
||||
GoalFives,
|
||||
GoalSixes,
|
||||
GoalThreeOfAKind,
|
||||
GoalFourOfAKind,
|
||||
GoalFullHouse,
|
||||
GoalSmallStraight,
|
||||
GoalLargeStraight,
|
||||
GoalYahtzee,
|
||||
GoalChance,
|
||||
)
|
||||
|
||||
goals = [
|
||||
GoalOnes(),
|
||||
GoalOnes(),
|
||||
GoalTwos(),
|
||||
GoalThrees(),
|
||||
GoalFours(),
|
||||
GoalFives(),
|
||||
GoalSixes(),
|
||||
GoalThreeOfAKind(),
|
||||
GoalFourOfAKind(),
|
||||
GoalFullHouse(),
|
||||
GoalSmallStraight(),
|
||||
GoalLargeStraight(),
|
||||
GoalYahtzee(),
|
||||
GoalChance(),
|
||||
]
|
||||
|
||||
|
||||
game = Yahtzee(goals)
|
||||
game.play()
|
||||
|
||||
Reference in New Issue
Block a user