| Ok, that was easy. You're going out of bounds on your win checks... you can't just add and subtract to the column without making sure you're still inside the board. Also you're using constants for the size of the board, but you have hard-coded stuff like Board[row][6] which is only valid with the current board size. If someone changes those constants at the top of the code, your win checker won't work at all.
Last edited by Vorph : 03-30-2007 at 12:03 PM.
|