Puzzle solvers in different languages for the 8 log raft wooden puzzle
Ruby Prolog Erlang
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
erlang
prolog
ruby
README.md
logs.png
logs.txt

README.md

Solving the 8 log raft puzzle

I stumbled upon this puzzle at a kids' science centre at a Museum. The task is simple: create a stable raft by putting four logs in a bottom layer and four logs in a top layer, connecting the layers with the pegs and holes found in the logs. These are the eight logs:

the logs

After playing around with the logs for a minute I decided that I would get more satisfaction out of solving the puzzle with code than by playing with the actual pieces of wood. This repo contains my solutions in various languages (so far only Ruby).

License

GPL version 2. (c) 2012 David Vrensk