[Haskell-cafe] river crossing puzzle

Claude Heiland-Allen claudiusmaximus at goto10.org
Mon Sep 28 19:26:21 EDT 2009


pat browne wrote:
> Hi,
> Does anyone know where there are any Haskell implementations of the the
> River Crossing  puzzle (AKA Farmer/Fox/Goose/Grain).

I wrote some code to generate a map of some version of the game:

https://code.goto10.org/svn/maximus/2009/boatman/BoatMan.hs

ghc -O2 --make BoatMan.hs && ./BoatMan | neato -Tpng | display


Claude
-- 
http://claudiusmaximus.goto10.org


More information about the Haskell-Cafe mailing list