Git Product home page Git Product logo

sokobanai's Introduction

SokobanAI

A Sokoban AI solver using the gym-sokoban environment. Uses the reward values from the gym-sokoban environment to compute edge weights. The Branch and Bound algorithm was employed.

Example Game 1 Example Game 2 Example Game 3
Game 1 Game 2 Game 3

Via PIP

pip install gym-sokoban

From Repository

git clone [email protected]:mpSchrader/gym-sokoban.git
cd gym-sokoban
pip install -e .

Room Variations

The available room configurations are shown in the table below.

Room Id Grid-Size Pixels #Boxes Example TinyWorld
Sokoban-v0 10x10 160x160 3 Sokoban-v0 Sokoban-v0
Sokoban-v1 10x10 160x160 4 Sokoban-v1 Sokoban-v1
Sokoban-v2 10x10 160x160 5 Sokoban-v2 Sokoban-v2
Sokoban-small-v0 7x7 112x112 2 Sokoban-small-v0 Sokoban-small-v0
Sokoban-small-v1 7x7 112x112 3 Sokoban-small-v1 Sokoban-small-v1
Sokoban-large-v0 13x11 208x176 3 Sokoban-large-v0 Sokoban-large-v0
Sokoban-large-v1 13x11 208x176 4 Sokoban-large-v1 Sokoban-large-v1
Sokoban-large-v2 13x11 208x176 5 Sokoban-large-v2 Sokoban-large-v2
Sokoban-huge-v0 13x13 208x208 5 Sokoban-huge-v0 Sokoban-huge-v0

Please note that the larger rooms might take some time to be created, especially on a laptop.

Choose any of these and import the corresponding version in the sokobanAI/sokobanAI.py file.

Execute

Run sokobanAI/sokobanAI.py, sit back and enjoy!

sokobanai's People

Contributors

mpschrader avatar chandradithyaj avatar mjanschek avatar olloxan avatar ben-bay avatar guyfreund avatar jaromiru avatar maximilianigl avatar zjowowen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.