fixed checkmate and completed implementation (more testing is still advised)

(0) -10 -1 +1 +10 +30 tip

mercurial