A well known hand game, called 15 puzzle, is a real gem. The problem is simple: there's a 4x4 filed with 16 pieces where one piece was removed. The remaining 15 pieces are put in random place.
The goal of the 15 puzzle game is to is to unscramble the squares by only making moves which slide squares into the empty space, in turn revealing another empty space in the position of the moved piece.
A great idea for the Fancy Delphi Application Contest ;-)
15 Puzzle Game - Delphi VersionWhen the game starts, click the Randomize button. The goal is to get the tiles arranged in order from 1 to 15, with the blank tile in the bottom right corner.
"15 Puzzle" was submitted by Paul Marvelias.
Do you have a FDA(C)? Submit your Delphi code to the Fancy Delphi Application Contest.