Closed dellros8 closed 5 years ago
countThreats returns null when no legal moves are found. afterMove chrashes when trying to use a-"history" property from the return of countThreats. Defaults to empty object in afterMove.
countThreats returns null when no legal moves are found. afterMove chrashes when trying to use a-"history" property from the return of countThreats. Defaults to empty object in afterMove.