-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
So far, the game can only confirm a victory if the red pieces are horizontally lined up.
If a player manages to get 4+ red pieces in a column, the game does not recognize it as a victory (in fact, if the AI manages to get 4 horizontal pieces in that time, the player loses despite having been the first to connect 4 pieces).
Diagonal victories are also not recognized, but that can be taken care of in a separate issue.
As a hint, your check_col_full() function can be used as a template to determine vertical and diagonal victories.
If you find the free time, circle back to this assignment and try to address this issue.
@seanc @Athora190 @Jordane-Allen @JustDame
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels