Author: Benny Antonsson
Date: 14:17:28 01/28/02
Go up one level in this thread
On January 28, 2002 at 12:10:27, Severi Salminen wrote: >>Can you tell from a FEN-string if one side has castled or not ? >> >>E.g: r1bqk1nr/pppp1ppp/2n5/2b1p3/2B1P3/5N2/PPPP1PPP/RNBQ1RK1 b kq - 0 40 >> >>This string doesn't directly tell you that white has castled... only that >>white lost all castling rights. Do I have to assume that white has castled >>becasue the king is on g1 and the krook is on f1 ? > >???? What? Why do you need to know if one side has castled or not?? What does >this have to do with my improvements?? > >Severi This is from your previoyus message: 6. Maybe WB could send "setboard" after every move. There would be no need to program a move parses, engine wouldn't have to remember and save the game history. So allways when the board changes, "setboard" is sent. I can't think now any drawbacks in this but it would make things a lot easier: no need for "undo" and maybe "new" commands in analyze mode. Since the setboard-command takes a fen-string as a parameter... your program cannot know if your king has castled or not... and therefor it might think it should have a penalty for that ?
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.