From: Wilkin Ng To: tim.mann@compaq.com Subject: History window for winboard Date: Tue, 31 Jul 2001 13:28:42 -0700 Hi, I started coding the window user interface. Attached is the screen dump. The b, w button allow me to specify which side is moved when I clicked on the line in the movelist. I used the code from the gamelist as the template. (also looked at the xhistory source file) What eventually I want to do is to display comment in the list, so I keep a data structure to let me know whether a line has white move, white/black move, or comment. And if it is comment I want to try to parse the comment to see if it is an analysis line and try to display the moves in the analysis. It wont be able to handle complicated variation tree, but what I want to do is run Crafty to analyse my game and let it add alternate move when it find I made a bad move (ala Fritz). So I would just insert the analysis as a comment in the comment array, and then display it in the history window. I haven't looked much in the analysis part, what is the best way to get move suggestion from a chess engine. The way I figure Fritz doing it is to run the game backward, and see if the move suggestion is close to the move the player make. Is there a way to ask the engine to evaluate the current position and return a score for the position?