ECE 5760: Final Project

Hand Motion Controlled Tetris

 

Richard Branciforte (rjb297@cornell.edu)

Christine Soong (cs795@cornell.edu)

Mayur Patel (map379@cornell.edu)

"The classic Tetris game controlled by the movements of your hand!"

This final project for ECE 5760 takes a very well known and classic game and puts a twist on it. Tetris was released in 1984 and since then has become an iconic game, garnering many reproductions and modifications to the original version. Our version of Tetris aims to produce the original Tetris game using a DE2-115 FPGA from Altera. Using VGA as an output and a camera that is able to detect skin tone, the user can play the game using motions that are sensed from their hand. There are four main regions of the screen. These regions control whether the block moves right, left, rotates, or moves down twice as fast. By filtering the video stream and looking for specific types of color in the YUV color space, the hardware recognizes when a user’s hand goes into one of the four sections and sends a signal to the game, instructing it what to do with the block. The game includes features that allow a player to move a piece left/right or rotate, count down time until the game ends, and also keep track of the score for the player. A player gets 10 points for each line that is completed. There are 7 different types of blocks that are chosen at random (with different colors) that drop down from the top of the screen. The games allows flexibility to switch between hand motion recognition or buttons on the FPGA to navigate the blocks and option for slow and fast speed of the blocks dropping down. The goal was to use our knowledge of hardware design to bring Tetris to the next level.

 

 

The finished product.