generated from mwc/lab_dice
it was an okay experience. It didnt feel much different in units 1 or 2
This commit is contained in:
14
play.py
14
play.py
@@ -1,15 +1,15 @@
|
||||
from yahtzee import Yahtzee
|
||||
from yahtzee_goals import (
|
||||
GoalOnes,
|
||||
GoalTwos,
|
||||
GoalThrees,
|
||||
GoalOnes, GoalTwos, GoalThrees, GoalFours, GoalFives, GoalSixes,
|
||||
GoalThreeOfAKind, GoalFourOfAKind, GoalFullHouse,
|
||||
GoalSmallStraight, GoalLargeStraight, GoalYahtzee, GoalChance
|
||||
)
|
||||
|
||||
goals = [
|
||||
GoalOnes(),
|
||||
GoalTwos(),
|
||||
GoalThrees(),
|
||||
GoalOnes(), GoalTwos(), GoalThrees(), GoalFours(), GoalFives(), GoalSixes(),
|
||||
GoalThreeOfAKind(), GoalFourOfAKind(), GoalFullHouse(),
|
||||
GoalSmallStraight(), GoalLargeStraight(), GoalYahtzee(), GoalChance()
|
||||
]
|
||||
|
||||
game = Yahtzee(goals)
|
||||
game.play()
|
||||
game.play()
|
||||
Reference in New Issue
Block a user