Skip to content

BioMeDS/Python_Course_WS23

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published