7xGit / 7xGit/7xGit_Task3

Game Ends Early Due to Incorrect Turn Count

未关闭 适合新手
#1 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug enhancement
主要语言
C++
星标
1
派生
4
PR 合并指标
30 天内没有已合并 PR

描述

Title:
Game Ends Prematurely

Description:
The game ends too early due to an issue with how the turn counter is managed. Even when there are still empty spaces, the game may end as a draw or skip some rounds.

Steps to Reproduce:

Play a game for a few rounds.
Observe that the game may end before all 9 turns are used, or it may terminate early.
Expected Behavior:
The game should continue until all 9 turns have been played or a player wins.

Suggested Fix:
Ensure that the turn counter is correctly managed and all 9 moves are allowed unless a player wins earlier.

贡献指南

这个仓库没有索引到贡献指南

调研方向

Look for the turn counter variable and the game loop logic in the main game file. Check the condition that determines when the game ends—it should only stop after 9 turns or when a win is detected. Run the game and simulate a few rounds to see if it ends early, then adjust the turn management.

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp
领域
game-dev
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
70/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。