Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 563 Bytes

README.md

File metadata and controls

36 lines (19 loc) · 563 Bytes

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