Touch-move rule move or capture the first of the pieces that they touched. If it cannot be determined whether he touched his own piece or the opponent's piece first, it is assumed that he touched his own piece first. If a player touches more than one piece, he must move or capture the first piece that can be legally moved or captured. An exception to that is an attempted illegal castling; in that case the king must be moved if possible, but otherwise there is no requirement to move the rook. When castling, the king must be the first piece touched. If
Null-move heuristic program must make the full-depth search. This approach makes two assumptions. First, it assumes that the disadvantage of forfeiting one's turn is greater than the disadvantage of performing a shallower search. Provided the shallower search is not too much shallower (in practical implementation, the null-move search is usually 2 or 3 plies shallower than the full search would have been), this is usually true. Second, it assumes that the null-move search will produce a cutoff frequently enough to justify the time spent performing null-move searches instead of full searches. In practice, this is also usually true. There are a class