andreclerigo / ia-tetris

Projecto de Inteligência Artificial 2021 - Tetris

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Projecto de Inteligência Artificial 2021 - Tetris

License:MIT License


Languages

Language:Python 92.6%Language:HTML 5.5%Language:CSS 1.9%