This is a game engine I made in 2008 using C++ to make 2D Java applet games. Unfortunately the newer Java security configurations make it very hard to display applets simply.
Download it from GitHub.
Here are screenshots of some demos I made using the engine:
Screenshot
Description
Bejeweled clone
Breakout clone
Lights out
Room generator for my clutter paper