added a basic tetris game to the samples
constantize some magic numbers, and s/dir/direction
Merge pull request #938 from jakesgordon/tetris

Tetris sample game

Changelog: improvement