from yahtzee import Yahtzee from yahtzee_goals import ( GoalOnes, GoalTwos, GoalThrees, GoalFours, GoalFives, GoalSixes, GoalThreeofaKind, GoalFourofaKind ) goals = [ GoalOnes(), GoalTwos(), GoalThrees(), GoalFours(), GoalFives(), GoalSixes(), GoalThreeofaKind(), GoalFourofaKind() ] game = Yahtzee(goals) game.play()