>>22955057>In c, is this expression based at all upon visual aspects such as color or position, or is it just a function of denoted possibilities?well, the way i see it, you should have some sort of board set up as an object.
>20 possible moves to 18 possible locations on 16 squaresa move can be chosen from this set of moves, which will alter/manipulate the board object
after that, the visual representation of the board will update based on that board object
after that, the other player chooses a move
that would be one way of doing it.
but the visuals shouldn't have anything to do with the mechanics of the game, or the set of possible moves, or hte way the player chooses them.
for the purposes of the program, the visuals are just a way to represent/show what's happening in the game.
the game itself is just your program.
also,
>20 possible moves to 18 possible locations on 16 squares.you gotta keep track of this set of possible moves for player 1 and player 2, keep that in mind