For the past week I have been working on a game for my gameplay programming class : Robo. In the game you take control over a robot whose energy is drained as you move around the level. There are batteries that spawn at random positions and in order for you to keep running around you…