Are you trying to say that if you know all the legal moves, then all other moves are illegal? I don't see how it's possible to make an illegal move in this game unless if a column is completely...
Type: Posts; User: maikeru
Are you trying to say that if you know all the legal moves, then all other moves are illegal? I don't see how it's possible to make an illegal move in this game unless if a column is completely...
Why not use an array of arrays, for example: board[6][7]? This way you could make a loop something like this:
@Code
For every column, starting at the last row and backing up, look for the next...
I may be able to help, but I need more information. Aren't there 7 columns? Columns resemble vertical lines and rows resemble horizontal lines.
How are you using a single integer to represent...