7xGit / 7xGit/7xGit_Task3

Game Ends Early Due to Incorrect Turn Count

Đang mở Phù hợp với người mới
#1 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug enhancement
Ngôn ngữ chính
C++
Star
1
Fork
4
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
cpp
Lĩnh vực
game-dev
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
70/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.