So, I am trying to make a "Connect 4" style game. I have made the game itself, that was simple, but i have run into issues with detecting when 1 player has 4 in a row (both Vertically, Horizontally, and Up/down sideways)
I want it to detect some like these (Blue Examples):
I want it to be able to make the player that gets 4 in a row win.
Any suggestions on how this can be done?
Thanks in advance!