Glide is a game engine.  Open source.