/tetris

C++ Tetris Game

Primary LanguageC++MIT LicenseMIT

Tetris

Old C++ Tetris game I wrote in 2003.

Screenshots

Tetris screenshot 1Tetris screenshot 2Tetris screenshot 3 Tetris screenshot 4Tetris screenshot 5Tetris screenshot 6

Notes

  • Thanks to Chris Barry for some of the codes
  • Uses ZEngine (obsolete)

Tasks

  • game starts
  • blank world
  • a brick starts to drop, next brick is displayed
  • player controls the brick's movement
  • game checks for collisions depending on the bricks direction of movement
  • brick lands
  • game checks for partial bricks that landed, this means the player lost (overlap)
  • game checks for complete lines to destroy
  • game destroys all complete lines
  • game collapses the remaining bricks
  • next random brick starts to fall
  • fix masks
  • fix initial position
  • display next brick
  • score
  • level
  • drop speed
  • improve graphics
  • fix clearing of lines when dropping the bricks