generated from mwc/lab_dice
play.py yahtzee.py yahtzee_goals.py
This commit is contained in:
12
play.py
12
play.py
@@ -3,12 +3,24 @@ from yahtzee_goals import (
|
||||
GoalOnes,
|
||||
GoalTwos,
|
||||
GoalThrees,
|
||||
GoalFours,
|
||||
GoalFives,
|
||||
GoalSixes,
|
||||
Goal_is_three_of_a_kind,
|
||||
Goal_is_four_of_a_kind,
|
||||
Goal_is_full_house,
|
||||
)
|
||||
|
||||
goals = [
|
||||
GoalOnes(),
|
||||
GoalTwos(),
|
||||
GoalThrees(),
|
||||
GoalFours(),
|
||||
GoalFives(),
|
||||
GoalSixes(),
|
||||
Goal_is_three_of_a_kind(),
|
||||
Goal_is_four_of_a_kind(),
|
||||
Goal_is_full_house(),
|
||||
]
|
||||
|
||||
game = Yahtzee(goals)
|
||||
|
||||
Reference in New Issue
Block a user