Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.
/ sokoban-ia Public archive

Using Artificial Intelligence to solve sokoban levels.

License

Notifications You must be signed in to change notification settings

Orlando-pt/sokoban-ia

Repository files navigation

iia-ia-sokoban

Sokoban clone for AI teaching

sokoban.mp4

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 run

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

Debug Installation

Make sure pygame is properly installed:

python -m pygame.examples.aliens

Tested on:

  • OSX 10.15.6
  • Ubuntu 20.04

Credits

Thank you Kenney for the sprites.

Also, a huge thanks to Diogo Gomes for the amazing IA lessons.

About

Using Artificial Intelligence to solve sokoban levels.

Topics

Resources

License

Stars

Watchers

Forks

Languages