Add tetris example

This commit is contained in:
Chris Proctor
2026-01-07 09:46:26 -05:00
parent 298a5fc58c
commit d6adfef5a1
8 changed files with 280 additions and 0 deletions

7
tetris/game.py Normal file
View 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()