A minimalist game engine