/trabalho-de-grupo-sokoban-93102_93019_93169

trabalho-de-grupo-sokoban-93102_93019_93169 created by GitHub Classroom

Primary LanguagePython

iia-ia-sokoban

Sokoban clone for AI teaching

Demo

How to install

Make sure you are running Python 3.5 or higher

  1. Create a virtual environment (venv)
python3 -m venv venv
  1. 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
  1. Install the game requirements:
pip install -r requirements.txt

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:

  • OSX 10.15.6

Credits

Thank you Kenney for the sprites!