Lx-stc is a project mainly written in C and MAKEFILE, it's free.
Simple Tetris Clone game for hacked Didjs/Explorers
This is a lightly modified version of STC ("simple tetris clone") v0.3 from http://code.google.com/p/simple-tetris-clone/ and available under the MIT license: http://www.opensource.org/licenses/mit-license.php
Its only dependency is libSDL.
To build, set your CROSS_COMPILE environment variable (ex: "arm-linux-") and ROOTFS_PATH variable (which should point to the rootfs directory tree where your libSDL headers can be found), then type "make".
To "install", copy ./sdl-stc to /usr/bin on your device and copy the .bmp files in ./bin/sdl to /usr/share on your device.
The changes are:
The "statistics" graphics don't really fit in a 320x240 screen but they're left alone, they simply won't render.
Controls: