Menu

#28 implement fischer-random (Chess960) castling

open
nobody
None
5
2007-06-10
2007-06-10
Anonymous
No

Attached is a patch to add fischer-random castling support to eboard. It's a bit ugly**, but eboard can now reconstruct the position from a movelist which includes a castling correctly***. The legality check also works, but it remains impossible to signify short/long castling in the normal way in the GUI.

** There probably is a better way to initalize a parameter than I did with the replacement cpos when cg==NULL.

*** This can be verified by loading a PGN of fischer-random game, or by beginning the observation of a wild/fr game after a castling has occured.

--

Discussion

  • Nobody/Anonymous

    implement fischer-random (Chess960) castling

     
  • Nobody/Anonymous

    Logged In: NO

    The diff is slightly damaged (missing context at one poist). I posted a new diff at: http://www.fileupyours.com/files/77985/eboard_frcastling.diff , with other minor changes.

     

Log in to post a comment.