/tetris-ia-project

tpg-tetris-ia_equipa_21 created by GitHub Classroom

Primary LanguagePythonMIT LicenseMIT

ia-tetris

Projecto de InteligĂȘncia Artificial 2021 - Tetris

How to install

Make sure you are running Python 3.7 or higher

$ pip install -r requirements.txt

Tip: you might want to create a virtualenv first

How to play

open 3 terminals:

$ python3 server.py

$ python3 viewer.py

$ python3 client.py

to play using the sample client make sure the client pygame window has focus

Keys

Directions: arrows

Debug Installation

Make sure pygame is properly installed:

python -m pygame.examples.aliens

Tested on:

  • OSX Big Sur 11.6

Commands to update from the main repository