Another problem in indexToWin, "variable i referenced before assignment", now that the diagonal directions are filtered variable i might be left unititialized. I initialized it to 0. I guess my experiment in avoiding conditional statements, is not as elegant as I thought it could be.
Another problem in indexToWin, "variable i referenced before assignment",
now that the diagonal directions are filtered variable i might be left
unititialized. I initialized it to 0. I guess my experiment in avoiding
conditional statements, is not as elegant as I thought it could be.

rortms/tictac,bb-blud/tictac