Skip to content

jmbhughes/slidingpuzzle

Repository files navigation

slidingpuzzle

Documentation Status GitHub license codecov CodeFactor GitHub stars

slidingpuzzle is a library that explores the slidinguzzle game. It's currently under development and focused on solving the N-puzzle, sometimes also called the N2-1 puzzle.

Install

  1. Clone the repo
  2. pip install .

Usage

See the docs

Roadmap

  • implement a basic sliding puzzle
  • implement a basic N-puzzle
  • write a basic BFS solver for N-Puzzle
  • write a basic A* solver using the Manhattan heuristic for A*
  • write tests for all the above basics
  • explore the walking distance heuristic
  • explore neural heuristics
  • look into the relaxed version of the N-puzzle where there are k blanks instead of just one
  • implement an unbounded version, so you can push through walls

Resources: