Skip to content

Conversation

FishyGitHubUser
Copy link

Description

  • Fixed in branch bugfix/guess-input-range
  • Player input can exceed the guess range min and max value, overwriting their progress with a less accurate value

Steps to Reproduce Bug and Validate Solution

  1. Uncomment # play(1000, interactive, "game_results.csv").
  2. Run guessing_game.py as the main file.
  3. Input a number within the range of guesses, leaving ample space around the min and max values. The next round correctly updates the guess range min and max values one closer than the guessed values.
  4. Input a number outside the range of guesses. The next round incorrectly overrides the guess range min and max values which backtracks player progress and game starting values, allowing for negative progress.

Does This Introduce a Breaking Change?

  • Yes
  • No

@FishyGitHubUser FishyGitHubUser marked this pull request as ready for review September 2, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant