Sokoban clone for AI teaching
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
Directions: arrows
Make sure pygame is properly installed:
python -m pygame.examples.aliens
- OSX 10.15.6
Thank you Kenney for the sprites!