writing Game class