Skip to content

comonad/ColorSort

Repository files navigation

This is an example Haskell implementation of a BFS solver for games like

ColorSort, WaterSort etc... https://poki.com/en/g/water-color-sort

The solver is based on a custom monad "Prog", which allows parallelized BFS and allows to join/cut branches based on already visited game states.

Input is written within its source code (app/ColorSort/ColorSort.hs), the solution is calculated with

stack run ColorSort

I tried to use the same solver for the problem HouseRiddle, but HouseRiddle was way too easy as a problem and too cumbersome to implement the strategy in order to call it beautiful. I would now suggest using https://hackage.haskell.org/package/holmes for HouseRiddle instead.

stack run HouseRiddle

nine men's morris

stack run Mills

Solver for mobile game Blockout3D

stack run Blockout3D

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published