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 left
  • reward (float): +10 for correct, -1 for wrong
  • done (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)
Downloads last month

-

Downloads are not tracked for this model. How to track
Video Preview
loading