Welcome to Functional Tetris!

The game has the following modes of gameplay:

  • Single Player: improve your all-important Tetris skills by playing a classic game with increasing speed
  • Battle 2P: compete with a friend to see who can outlast the other (or first achieve the win score below)
  • Bot Challenge: try to defeat our AI bot by sending it over the top, but watch out for attacks!
  • Spectator: relax in your seat while watching our bot in action, trained using the genetic algorithm

Difficulty (Easy, Medium, etc.) determines the initial falling speed

For keyboard controls, press:

  • A / D to move left/right (← / → for second player)
  • W / S to rotate clockwise/counterclockwise (↑ / ↓ for second player)
  • SPACE to move down (ENTER for second player)
  • ESC / BACKSPACE (DELETE on Mac) to pause or continue the game

Scoring and Attacks:

  • Clearing 1~4 lines at once is worth 1, 4, 9, 16 points respectively
  • Clearing 2 or 4 lines sends 1 or 2 penalty lines to the opponent respectively

(2P or Bot Challenge Only) Use slider below to adjust winning score, or set to zero to disable it:

CS3110 Final Project by Benjamin Gillott (bg357), Hao Lee (hl2258), Perry Lee Loveridge (pll37), and Steven Ye (xy93)