Sunday 28 May 2006

Special Move Rules

In Chess, few special moves can made like en passant, castling, pawn promotion, pawn initial move. You can read more on those rules in wiki.

Pawn usually can jump to its next square, eg. a2-a3 (refer algebraic notation ). For a special case, it can jump from a2-a4, provided that the pawn never been moved and its infront square (eg. a3) is empty. Pawn capture method is also different but that it not considered as special move case. I have done coding pawn rules, except pawn promotion when it reaches rank 8 and en passant.

Castling is king special move, I will write more on this when I finished pawn part.

No comments: