Limbic~Region has asked for the wisdom of the Perl Monks concerning the following question:
This is a picture of the starting position. The object of the game is to get the large square (red dot) to the position at the bottom occupied by the 4 small squares (blue dots). You may only move pieces by sliding them.
The challenge is to write a program that will solve the puzzle in the fewest number of moves possible. Graphic solutions are not necessary, but would be cool. Any solution method will be eligible (golfed, regex, bruteforce, etc). The solution must be able to be verified using the real puzzle :-)
Cheers - L~R
Update: It is definately not 16 moves as this site would suggest. The 16 step solution (don't peek) requires multiple moves to get to each step. My definition of "move" remains and the solution with the fewest moves still wins.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Challenge: Setting Sun Puzzle
by thospel (Hermit) on Oct 04, 2004 at 17:53 UTC | |
by Limbic~Region (Chancellor) on Oct 04, 2004 at 18:04 UTC | |
Re: Challenge: Setting Sun Puzzle
by tye (Sage) on Oct 04, 2004 at 19:02 UTC | |
Re: Challenge: Setting Sun Puzzle
by itub (Priest) on Oct 04, 2004 at 20:11 UTC | |
Re: Challenge: Setting Sun Puzzle
by bobf (Monsignor) on Oct 05, 2004 at 04:35 UTC | |
by tye (Sage) on Oct 05, 2004 at 16:04 UTC | |
by itub (Priest) on Oct 05, 2004 at 16:28 UTC | |
by bobf (Monsignor) on Oct 05, 2004 at 16:11 UTC | |
Re: Challenge: Setting Sun Puzzle
by tilly (Archbishop) on Oct 04, 2004 at 16:01 UTC | |
by Limbic~Region (Chancellor) on Oct 04, 2004 at 16:05 UTC | |
by MidLifeXis (Monsignor) on Oct 04, 2004 at 17:09 UTC | |
by Limbic~Region (Chancellor) on Oct 04, 2004 at 17:12 UTC | |
Re: Challenge: Setting Sun Puzzle
by Roy Johnson (Monsignor) on Oct 04, 2004 at 16:39 UTC | |
by SpanishInquisition (Pilgrim) on Oct 04, 2004 at 16:59 UTC | |
by thospel (Hermit) on Oct 04, 2004 at 18:43 UTC | |
Re: Challenge: Setting Sun Puzzle
by Tii (Monk) on Oct 04, 2004 at 15:49 UTC | |
Re: Challenge: Setting Sun Puzzle
by dragonchild (Archbishop) on Oct 04, 2004 at 17:27 UTC | |
Re: Challenge: Setting Sun Puzzle
by tall_man (Parson) on Oct 29, 2004 at 16:48 UTC | |
Re: Challenge: Setting Sun Puzzle
by ggg (Scribe) on Nov 23, 2004 at 22:33 UTC |