Basic 2D engine with PyGame, as well as an implementation.