7xGit / 7xGit/7xGit_Task3

Players Can Overwrite Each Other’s Moves

オープン
#2 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement good first issue
主要言語
C++
スター
1
フォーク
4
PR マージ指標
30日以内にマージされた PR はありません

説明

Title:
Players Can Overwrite Existing Moves

Description:
Currently, the game does not properly prevent players from overwriting each other's moves. Although there's a check to see if a space is already occupied, it does not handle the overwriting issue correctly, leading to moves being replaced.

Steps to Reproduce:

Start the game.
Player 1 makes a move.
Player 2 selects the same spot.
Observe that Player 2 is allowed to overwrite Player 1's move.
Expected Behavior:
Players should not be allowed to overwrite moves in occupied cells.

Suggested Fix:
Add a stronger check to ensure that once a move is made in a square, no player can overwrite it.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。