Tetris 3D

In 2012 I had an assignment to program a Tetris clone in 3D using OpenGL (and GLUT) in C++. I spent the two weeks of Easter vacation coding it, and I'm proud of the result. The only thing missing is a translucent border around the playing field.

Controls

arrow keys
Move the tetromino
B key
Rotate the tetromino around the X axis
N key
Rotate the tetromino around the Y axis
V key
Rotate the tetromino around the Z axis
space bar
Soft drop
W key
Rotate the field anti-clockwise
X key
Rotate the field clockwise

If the choice of keys for field rotation seem weird to you, that's because you're not using an AZERTY keyboard. ;)

Download