Number Guessing Game Environment
A simple RL environment where an agent tries to guess a randomly chosen number between 1 and 100.
Action
guess(int): A number between 1-100
Observation
last_guess_feedback(str): "Too high!", "Too low!", or "Correct!"guesses_remaining(int): How many guesses are leftreward(float): +10 for correct, -1 for wrongdone(bool): Whether the episode is over
Rules
- The agent has 5 guesses to find the number
- Optimal strategy is binary search (can solve in ~7 guesses worst case)