Tetris - Delphi/VCL Source
=========================

This is a small classic Tetris game written in Delphi/Object Pascal.
The project is intentionally simple and is suitable as an educational VCL example.

Contents
--------
- Tetris.dpr: main Delphi project
- MainUnit.pas / MainUnit.dfm: game UI and game logic
- GetNameUnit.pas / GetNameUnit.dfm: high-score name dialog
- Sound.RES: embedded sound effects used by PlaySound
- Tetris.res / Tetris_Icon.ico: application icon resources

Features
--------
- Classic 10 x 20 Tetris board
- Falling blocks with movement and rotation
- Upcoming piece preview
- Score, lines, and level display
- High-score list saved under the current user's registry hive
- Embedded sound effects for piece landing and line removal
- Sound can be enabled/disabled from the Game > Sound menu

Compatibility
-------------
The source is kept Delphi 7 friendly while also supporting modern Delphi/RAD Studio.
For Delphi 7, open Tetris.dpr directly.
For modern Delphi, Tetris.dproj can be used if desired.

Notes
-----
Sound.RES is kept because the original WAV files were embedded into this compiled
resource file. The old .RC file referenced absolute paths from the original
development machine, so it was removed from the public package.

The included executable, if present, is only for quick testing. Rebuild from source
if you want an executable that exactly matches your compiler/settings.
