logo.jpg (7978 bytes)

wpe22.jpg (1945 bytes)

Introduction
After creating Pong, I thought I should try something a bit more difficult. But programming Tetris didn't turn out difficult at all, it was completed it in 2 days. I used the same OO framework from Pong which made it quick and easy.

Features:

  • Processor speed independence - easy, since we don't have to worry about the frame rate so much.
  • Music and sound effects using the Fmod API.
  • Simple highscore saving - I need to make an encrypted score table to deter cheating.
  • Game speed increases every 10 lines (or every level).
  • Shows next block.
  • Blocks are actually 3D which gives them a nicer look.

The code was written with Visual C++ 6, uses the Fmod API for sound, DirectX8 for input, and OpenGL for graphics.

Download
You will need Fmod library file to compile this, which goes into the visual c++ lib directory.
Also the DirectX8 SDK.

Grab the latest binary and source code here [796kB].

 

Screenshot
 

screenshot1.jpg (20311 bytes)