tetris-selfplay

A self playing tetris game.
User can choose between watching the bot play, or playing a game themselves
Written in python, uses the pygame module, and text is displayed in the font FairFax.

Example Gameplay

gameplay

Controls

Input Action
Left Arrow Move Left
Right Arrow Move Right
Down Arrow Move Down
Up Arrow Rotate Clockwise
CTRL Rotate Anticlockwise
SHIFT Hold / Swap Piece
ENTER Hard Drop
ESC Pause / Unpause
N New Game

How to Run

  • Instructions here

GitHub

https://github.com/mpdcampbell/tetris-selfplay