Projecto de Inteligência Artificial 2021 - Tetris
Make sure you are running Python 3.7 or higher
$ pip install -r requirements.txt
Tip: you might want to create a virtualenv first
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
Directions: arrows
Make sure pygame is properly installed:
python -m pygame.examples.aliens
- OSX Big Sur 11.6
- git remote add upstream https://github.com/dgomes/ia-tetris
- git fetch upstream
- git merge upstream/main --allow-unrelated-histories