When I started coding PentAI, I used "BLACK" as a constant (1) for the first player. (like in the game of Go) (and WHITE for P2)
I later changed to using P1 and P2 as the constants, but there are still many places where the code refers to "black", "white" or "colour", when it is really referring to P1, P2 and the player number in the current game.
When I started coding PentAI, I used "BLACK" as a constant (1) for the first player. (like in the game of Go) (and WHITE for P2) I later changed to using P1 and P2 as the constants, but there are still many places where the code refers to "black", "white" or "colour", when it is really referring to P1, P2 and the player number in the current game.