Specifically, there are two "players" for how tetrominoes are generated (finite and infinite), and two agents that actually play the game (one based on the baseline / hand-tuned evaluation function and another that uses the many features we incoirporated into our model) TetrisAgents.py -> File containing a series of Game Agents that play the game of Tetris. When executed, it also prints the board at each step. This is useful to test the learned weights from our algorithms: Calling this file as:Īdditionally, providing as a parameter a path to a file with weights to the program will cause it to use those weights (rather than default zero vector) when evaluating states. This file contains a Game class and a GameState class that run the complete game. TetrisGame.py -> Main Tetris game play loop. The following is a list of flles found in this project and what their contents are:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |