Ah I see they called it "connect four" in english :-) Connect Four - Wikipedia, the free encyclopedia
Type: Posts; User: noctarius
Ah I see they called it "connect four" in english :-) Connect Four - Wikipedia, the free encyclopedia
i meant the game "4 wins" which has a lot bigger gameboard than tictactoe and then imagine your switch or if-block :-)
Here's an older recursive winner search algorithm for an "4 wins" game I made...
But the bigger the gameboard the bigger the array
Have you thought about what your "win-calculation" algorithm would look like if the game has 200 fields (4 wins would be ugly in your way :))? I would suggest to implement a recursive search...