Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dgomes/ia-tetris
Projecto de Inteligência Artificial 2021 - Tetris
https://github.com/dgomes/ia-tetris
Last synced: 1 day ago
JSON representation
Projecto de Inteligência Artificial 2021 - Tetris
- Host: GitHub
- URL: https://github.com/dgomes/ia-tetris
- Owner: dgomes
- License: mit
- Created: 2021-09-06T13:17:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-20T18:15:51.000Z (about 3 years ago)
- Last Synced: 2023-03-11T12:42:30.337Z (almost 2 years ago)
- Language: Python
- Size: 136 KB
- Stars: 8
- Watchers: 2
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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