Commit graph

7 commits

Author SHA1 Message Date
gpt-engineer-app[bot]
c25a17a74a Add contradiction detection
Implement logic to detect contradictory answers in the computer's question-answering mode. If contradictions are found, the game will abort and prompt the user to restart.
2025-08-10 15:36:09 +00:00
gpt-engineer-app[bot]
d6f1449d23 Fix guess count
Track and display questions and guesses made by the user.
2025-08-10 14:23:08 +00:00
gpt-engineer-app[bot]
62c6acc388 Refine guessing game logic
Update the guessing game to handle user-provided questions and optimize computer-generated questions. The game will now grey out numbers divisible by 10 based on user input. Additionally, the computer will prioritize questions that maximize the remaining search space, ensuring a longer guessing period for the user. The "too high/too low" feedback is removed, relying solely on user questions for deduction.
2025-08-10 14:11:36 +00:00
gpt-engineer-app[bot]
b0595d1cc7 Refine question guessing mode
Update the question guessing mode to not reveal the number directly. Instead, it should grey out numbers that are eliminated by the user's answer.
2025-08-10 14:06:21 +00:00
gpt-engineer-app[bot]
ec168be51d Add more guessing game modes
Add two new modes to the guessing game: one where the user guesses the number using arbitrary yes/no questions, and another where the computer guesses the number using random, linear, or binary search.
2025-08-10 14:00:21 +00:00
gpt-engineer-app[bot]
9e899131fd Add range display to guessing game
Show the full range of numbers in the guessing game, and grey out invalid choices when the user is guessing.
2025-08-10 13:51:03 +00:00
gpt-engineer-app[bot]
a981f2ec87 Add Guessing Game
Implement a guessing game with user-selectable range via slider. Includes two modes: user guesses computer's number, and computer guesses user's number using random, linear, or binary search strategies.
2025-08-10 13:38:45 +00:00