LibTetris This is a simple Tetris clone. But available as a c header. A sample main is also available, since it can be fun to try the game out before putting it into something else.