Wrote while loop that runs the game