wrote a playTheGame class that calls the ingame methods.