// Castling (only move which disable flags)
this.castleFlags[move.appear[0].c][0] = 10;
this.castleFlags[move.appear[0].c][1] = 10;
// Castling (only move which disable flags)
this.castleFlags[move.appear[0].c][0] = 10;
this.castleFlags[move.appear[0].c][1] = 10;