Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dgomes/ia-snakes
IA Game 2024
https://github.com/dgomes/ia-snakes
Last synced: 1 day ago
JSON representation
IA Game 2024
- Host: GitHub
- URL: https://github.com/dgomes/ia-snakes
- Owner: dgomes
- Created: 2024-10-02T22:26:23.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-22T10:19:27.000Z (2 months ago)
- Last Synced: 2024-10-22T16:27:33.595Z (2 months ago)
- Language: Python
- Size: 21.9 MB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ia-snakes
Snakes clone for AI teaching## How to install
Make sure you are running Python 3.11.
`$ 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 hidden window has focus
### Keys
Directions: arrows
## Debug Installation
Make sure pygame is properly installed:
python -m pygame.examples.aliens
# Tested on:
- MacOS 15.0.1