09 Jan 2012

Tetris game engine

Various useful classes

Tetris game engine

Version 1.0.0 uploaded 9 Nov 2007.

Download the Tetris game engine.

This tetris engine contains full source code for a tetris game. As well as being useful for people looking to develop a tetris-like game, it's also a good starting point for anyone looking to build games in Actionscript 3. Take a look through the code and learn from it.

The code is in two parts.

  • The game engine itself, comprising all the classes in the bigroom.tetris package, plus the KeyPoll class which is also available as a stand-alone.
  • The example game, comprising the .fla plus all the code in the default package and which uses the game engine.

The example game included looks like this.

Flash required: You need version 9 or later of the free Flash player from Adobe to use this content. To download and install the free player from Adobe's web site click here.