Sokoban clone for AI teaching
sokoban.mp4
Make sure you are running Python 3.5 or higher
- Create a virtual environment (venv)
python3 -m venv venv
- Activate the virtual environment (you need to repeat this step, and this step only, every time you start a new terminal/session):
source venv/bin/activate
- Install the game requirements:
pip install -r requirements.txt
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
Make sure pygame is properly installed:
python -m pygame.examples.aliens
- OSX 10.15.6
- Ubuntu 20.04
Thank you Kenney for the sprites.
Also, a huge thanks to Diogo Gomes for the amazing IA lessons.