It’s finally time to add a little bit of interactivity to this game. We will
introduce a player character that walks around the map. But before we do that,
we need to clean up our main loop a little bit, get rid of most of the globals
and create a Game object.
Main loop cleanup