now passing the game state obj though all calls
updated the mario example to use game state to hold the score