Coder Social home page Coder Social logo

arkarnm / sokoban-solver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shray-sharma/sokoban-solver

0.0 0.0 0.0 20 KB

Implemented Anytime GBFS and Weighted A* search algorithms along with two heuristic functions to solve Sokoban puzzles

Python 100.00%

sokoban-solver's Introduction

Sokoban Puzzle Solver

An assignment for CSC384. Note to UofT students, please do not plagarize. MarkUs will catch you.

Description

Sokoban is a puzzle game in which a warehouse robot must push boxes into storage spaces. The rules hold that only one box can be moved at a time, that boxes can only be pushed by the robot and not pulled, and that neither robots nor boxes can pass through obstacles (walls or other boxes). In addition, the robot cannot push more than one box, i.e., if there are two boxes in a row, the robot cannot push them. The game is over when all the boxes are in their storage spots. In our version of Sokoban, the rules are slightly more complicated, as there may be restrictions on which storage spaces are allowed for each box.

The functions implemented include:

  • Manhattan distance heuristic
  • Anytime Greedy Best-First Search
  • Implement Anytime Weighted A*
  • A non-trivial heuristic that improves on the Manhattan distance heuristic

sokoban-solver's People

Contributors

shray-sharma 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.