/rl_tetris

Apply RL to learn to play Tetris

Primary LanguagePython

Goal

Train AI to play simplified implementation of Tetris

Game setup

  • 20 X 10 well
  • 5 actions (fixed) possible before the tetramino sinks 1 row
  • next tetramino to appear is selected using random.randint()

State space

Huge, 2200 states

Action space

  • Move left
  • Move right
  • Rotate left
  • Rotate right
  • Do nothing

Approach

TODO