7xGit / 7xGit/7xGit_Task3

Column Win Check Missing

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

説明

Title:
Win Check for Columns Missing

Description:
In the current implementation, the game checks for row and diagonal wins, but column wins are not checked. This causes the game to miss a victory when all spots in a column are filled by the same player.

Expected Behavior:
The game should declare a win when a player fills all spots in any column.

Suggested Fix:
Add logic in the checkWin() function to check columns for the winning condition.

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

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

調査の方向性

Find the `checkWin()` function in the codebase, likely in a game logic file. Examine the existing row and diagonal checks. Add a loop to iterate through columns, checking if all cells in a column belong to the same player. Test by playing a game where a column is filled to verify the win is detected.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cpp
領域
game-dev
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
75/100

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

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