generated from mwc/lab_dice
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			203 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			203 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from yahtzee import Yahtzee
 | 
						|
from yahtzee_goals import (
 | 
						|
    GoalOnes, 
 | 
						|
    GoalTwos, 
 | 
						|
    GoalThrees,
 | 
						|
)
 | 
						|
 | 
						|
goals = [
 | 
						|
    GoalOnes(), 
 | 
						|
    GoalTwos(),
 | 
						|
    GoalThrees(),
 | 
						|
]
 | 
						|
 | 
						|
game = Yahtzee(goals)
 | 
						|
game.play()
 |