1. Home
  2. Computing & Technology
  3. Delphi Programming

15 Puzzle Game with Delphi Source Code
Fancy Delphi Application Contest Entry #37 by Paul Maravelias

By Zarko Gajic, About.com

15 Puzzle Game with Delphi Source Code

15 Puzzle Game with Delphi Source Code - FDA(C) Contest Entry #37 by Paul Maravelias

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 Version

When 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 Maravelias.

Do you have a FDA(C)? Submit your Delphi code to the Fancy Delphi Application Contest.

Zarko Gajic
Guide since 1998

Zarko Gajic
Delphi Programming Guide

Explore Delphi Programming
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming
  4. Source Code Projects
  5. Game Programming
  6. 15 Puzzle Game - Fancy Delphi Application Contest Entry #37

©2009 About.com, a part of The New York Times Company.

All rights reserved.