Column Win Check Missing
Open
enhancement
- Dominant language
- C++
- Stars
- 1
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.