Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 793 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 793 Bytes

Tetris

Goal for the week is an algorithm, that plays Tetris at a level to consistently reach scores above 0.

We use the PyBoy emulator.

The code in this repo uses an old version of PyBoy. In order to run it, you can re-create the environment.

mamba env create -f pyboy.yaml
mamba activate pyboy
# Run interactively
pyboy Tetris.gb
# Run the final algorithm
python 10-putting-it-together.py

Related Literature

  1. Building Controllers for Tetris, by Thiery and Scherrer
  2. Tetris, by Fahey
  3. The Game of Tetris in Machine Learning, by Algorta and Şimşek