fichee (the real name 'pfitschigogaln' is unpronouncable for people not speaking german) is a game usually played by kids in school on their tables using coins and set squares, which now can be played onscreen. It is written in C using libSDL.
The project page on sf: http://sourceforge.net/projects/fichee/
The first try looks like this: