Fill Loop Condition
- 主要语言
- C++
- 星标
- 1
- 派生
- 5
- PR 合并指标
- 30 天内没有已合并 PR
描述
The condition for the while loop that controls the guessing attempts is incomplete. Fill in the condition so that the loop runs while the number of attempts is less than the maximum allowed attempts and the player has not guessed correctly.
Acceptance Criteria:
The loop should continue until either the player guesses correctly or they reach the maximum number of attempts.
贡献指南
这个仓库没有索引到贡献指南
调研方向
Look for the while loop controlling guessing attempts in the main game logic file (likely main.cpp or a similarly named file). The condition should check both attempts < maxAttempts and that the player's guess is not equal to the secret number. Run the program to verify the loop stops correctly on a correct guess or after max attempts.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cpp
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 80/100