Combined OOP number game and API homework