Skip to content

RadicalZephyr/snake-puzzle-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

puzzle-solve

This is a tiny program that is meant for solving fill-the-board puzzles with straight-line movement rules. Given a 5x5 board with some set of off-limits blocks, it will find a solution that starts at some block, and fills all the remaining squares in the board by making moves that go in perpendicular straight lines. A move must continue until it reaches the end of the board, or an already filled square.

Usage

To solve the built-in puzzle:

lein run

If you want to solve a different puzzle, modify the puzzle var in puzzle-solve.core.

If you want to solve a non-5x5 puzzle, then modify the x-limit and y-limit vars.

License

Copyright © 2014 Geoff Shannon

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

Solve puzzles like the one in the greenhouse in Machinarium

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published