1. Technology

Games That Ship With Delphi: Delphi BLOCKS


Delphi BLOCKS - Tetris Clone

Delphi BLOCKS - Tetris Clone

Delphi BLOCKS - Tetris Clone
Tetris is a popular "falling-blocks puzzle" single-player computer game originally developed in 1985/86.

Tetris is a puzzle with the shapes each consisting of several squares, that are falling down the well. When playing a tetris game, one turns them or moves left and right, trying to arrange the shapes in a line. When a line of squares makes a line from edge to edge, it disappears and all the pieces move down by a square. When the well is filled up, the player loses.


If you have over 25 years chances are that you've played Tetris when you were "young" :)

Delphi XE ships with a Tetris clone called "Delphi Blocks".

The source code to "Delphi BLOCKS", a Delphi Tetris clone, can be located under the "C:\Documents and Settings\All Users\Documents\RAD Studio\8.0\Samples\Delphi\VCL\Blocks" folder (on a default Windows XP install).

By exploring the Delphi Blocks source code you will learn how to program:

Know a better way to learn programming by playing games? :)

There are a few more games that ship with Delphi under the "samples" folder.

©2014 About.com. All rights reserved.