Fork me on GitHub

mamikk's tetris.c ported to WebGL

Move left and right: Left/Right keys
Rotate: Up key
Move down: Down key
Drop brick: Space bar
Render ghost bricks: g
Pause: p
Reset: r

tetris.c was made by Martin Mikkelsen 2008. WebGL port by Trygve Vea 2012.