generated from CogitoNTNU/README-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c72ebe8
commit 3452372
Showing
2 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from src.agents.agent_factory import create_agent | ||
from src.game.tetris import Tetris | ||
from src.game.TetrisGameManager import * | ||
|
||
if __name__ == "__main__": | ||
board = Tetris() | ||
agent = create_agent("heuristic") | ||
manager = TetrisGameManager(board) | ||
manager.startDemo(agent) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
|
||
from src.game.block import Block | ||
|
||
DEMO_SLEEP = 0.05 | ||
DEMO_SLEEP = 0 | ||
|
||
|
||
class Action(Enum): | ||
|