Turn Skipping After Invalid Move
オープン
bug
enhancement
- 主要言語
- C++
- スター
- 1
- フォーク
- 4
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Title:
Turn Counting Error After Invalid Input
Description:
After an invalid move (e.g., selecting a position that's already taken or out of bounds), the game asks the player to try again, but the turn counter still increments. This causes the turn to skip, giving the other player two turns in a row.
Steps to Reproduce:
Start the game.
Make an invalid move by choosing a taken or out-of-bounds cell.
Observe that after re-entering the move, the other player gets two turns.
Expected Behavior:
The game should not increment the turn count when the input is invalid.
Suggested Fix:
Ensure the turn counter only increments when the input is valid.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。