it was an okay experience. It didnt feel much different in units 1 or 2

This commit is contained in:
cdonahue
2025-11-14 09:35:04 -05:00
parent 7661d6dc54
commit dd0f4153a6
2 changed files with 144 additions and 8 deletions

14
play.py
View File

@@ -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()