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