moved (and renamed) global variables to game structure (ExitX/ExitY)