from yahtzee import Yachtzee from yahtzee_goals import ( GoalOnes, GoalTwos, GoalThrees, GoalFours, GoalFives, GoalSixes, GoalThreeOfAKind, GoalFourOfAKind, GoalFullHouse, GoalSmallStraight, GoalLargeStraight, GoalChance, GoalYahtzee ) goals = [ GoalOnes(), GoalTwos(), GoalThrees(), GoalFours(), GoalFives(), GoalSixes(), GoalThreeOfAKind(), GoalFourOfAKind(), GoalFullHouse(), GoalSmallStraight(), GoalLargeStraight(), GoalChance(), GoalYahtzee() ] game = Yachtzee(goals) game.play()