Simple 2D game engine using Pygame