2D game engine development excerise