Changes

Jump to: navigation, search

Castling Rights

No change in size, 21:40, 15 May 2018
m
no edit summary
'''[[Main Page|Home]] * [[Chess]] * [[Chess Position|Position]] * Castling rightsRights'''
The '''Castling rightsRights''' specify whether both sides are principally able to [[Castling|castle]] king- or queen side, now or later during the game - whether the involved pieces have already moved or in case of the rooks, were captured. Castling rights do not specify, whether castling is actually possible, but a pre-condition for both wing castlings.
Two [[Bit|bits]] per side are appropriate to store the castling rights, often one uses one [[Nibble|nibble]] to store the rights for both sides inside a [[Chess Position|position]] object, a kind a [[Array|array]] of four booleans. In [[Make Move|make move]] one has to consider that king-moves reset both castling bits per side.

Navigation menu