View Single Post
Old 03-30-2007, 11:59 AM   #11 (permalink)
Vorph
Never Go Full Retard
 
Vorph's Avatar
 
Join Date: May 2002
Location: Hell
Posts: 5,657
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.
Vorph is offline   Reply With Quote

 
Uberguilds Network