Simple 2D grid-based game engine