mlsdpk / alphazero-checkers-pygame

3 stars 0 forks source link

Decision for win/loss/draw #13

Closed mlsdpk closed 3 years ago

mlsdpk commented 3 years ago

Need to discuss how to decide win/loss/draw conditions.

aungpaing98 commented 3 years ago

I will use these rules to decide winner/draw:

  1. If a player has lost all his pieces he loses.
  2. If a player can't move at all, all his pieces are blocked, he loses.
  3. The exact same board state has come up three times without any men captured in between. The game ends in a draw. This is to avoid situation with two pieces left just moving around never being able to capture each other.
  4. There have been 100 moves (50 for each player) with no piece captured. The game ends in a draw.

I could use some help with rule no. 3. @Awthura .