Sam Loyd's "Fore and Aft" puzzle Version 2.1 www.mazeworks.com Copyright 2002 Robert Kirkland

The object of the puzzle is to transpose the positions of the gold and silver pieces in the fewest number of moves.

Click on a piece with the mouse to move it into the vacant square. A piece may either be moved to an adjacent vacant square, or jumped over an adjacent piece (of either color) to the vacant square. No diagonal moves or jumps are permitted. The Solve button will initiate a search for a solution, then run the found solution