Search:

Type: Posts; User: maikeru

Search: Search took 0.16 seconds.

  1. Replies
    3
    Views
    5,278

    Re: Method for legal moves in connect four.

    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...
  2. Replies
    3
    Views
    5,278

    Re: Method for legal moves in connect four.

    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...
  3. Replies
    3
    Views
    5,278

    Re: Method for legal moves in connect four.

    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...
Results 1 to 3 of 3