generated from mwc/project_game
Add tetris example
This commit is contained in:
7
tetris/game.py
Normal file
7
tetris/game.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from retro.game import Game
|
||||
from manager import Manager
|
||||
|
||||
agents = [Manager()]
|
||||
state = {'level': 1}
|
||||
game = Game(agents, state, board_size=(20, 20), debug=True)
|
||||
game.play()
|
||||
Reference in New Issue
Block a user