Skip to content

cpeterp/TetrisLearning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reinforcement learning on GB Tetris

  1. Obtain a ROM of Tetris for Gameboy, move to the lib directory, and rename tetris.gb
  2. In your commandline, navigate to the TetrisLearning directory and install conda environment with with conda env create -p ./.conda environment.yml. You may swap out the -p ./.conda argument with -n some_name if you prefer.
  3. Activate the environment: conda activate ./.conda
  4. Train the model by running python run/run_training.py
  5. [Optional] Track progress of the model training via Tensorboard. While the model is running, open a seperate terminal, navigate to the TetrisLearning directory, and run tensorboard --logdir ./board
  6. Once training has finished, play the model using the play_model.ipynb notbook

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published