cropleyb / pentai

MIT License
15 stars 1 forks source link

Black -> P1, White -> P2 #35

Open cropleyb opened 10 years ago

cropleyb commented 10 years ago

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.