lrozenblyum / chess

Leokom Chess. java + Winboard + TDD + OOP
Apache License 2.0
12 stars 3 forks source link

King's movement - castling - WinBoard support #84

Closed lrozenblyum closed 10 years ago

lrozenblyum commented 10 years ago

1) WinBoard engine must receive our castling correctly 2) We must interpret WinBoard castling correctly

It's an important step in castling integration #76

lrozenblyum commented 10 years ago

Probably accidentally we FIT into winboard format. Winboard supports castling exactly in the same way we send it! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Normal moves: e2e4 Pawn promotion: e7e8q Castling: e1g1, e1c1, e8g8, e8c8 Bughouse/crazyhouse drop: P@h3 ICS Wild 0/1 castling: d1f1, d1b1, d8f8, d8b8 FischerRandom castling: O-O, O-O-O (oh, not zero) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I think we haven't selected SAN : (and probably don't need it) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Beginning in protocol version 2, you can use the feature command to select SAN (standard algebraic notation) instead; for example, e4, Nf3, exd5, Bxf7+, Qxf7#, e8=Q, O-O, or P@h3. Note that the last form, P@h3, is a extension to the PGN standard's definition of SAN, which does not support bughouse or crazyhouse. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!