board: assert valid move when check disabled
board: disable castling when rook is captured
nmoves: add isFinished call
doMove_unchecked
Move castle disable to move generation, to speed up doMove
improve isX() macros
ai: remove useless mm set
ai: clean up
ai: perf: only copy g to ng when necessary
New piece representation!