goutham / nakshatra

A chess + antichess engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handle stalemate in antichess properly

promethium145 opened this issue · comments

There are two variations of stalemate rules:

  1. Stalemated player wins
  2. Side with fewer pieces wins or draw if both sides have equal pieces

1 is used on lichess (https://lichess.org/variant/antichess) while 2 is used on FICS (https://www.freechess.org/Help/HelpFiles/suicide_chess.html). Current implementation of Nakshatra is 2 but it plays antichess on lichess assuming FICS rules.