from yahtzee import Yachtzee from yahtzee_goals import ( GoalOnes, GoalTwos, GoalThrees, GoalFours, GoalThreeOfAKind, GoalYahtzee, ) goals = [ GoalOnes(), GoalTwos(), GoalThrees(), GoalFours(), GoalThreeOfAKind(), GoalYahtzee(), ] game = Yachtzee(goals) game.play()