Here’s a couple of very tiny games I wrote today. The first you can type into Processing.js to play a timer-based snap game. The second is c++ code which requires a compiler. In both cases the source is more interesting than the actual game, and I had fun trying to compress them both down.
Snap in Processing.js
A Threes-like in C++: source