[...]
Let's begin from here. In "replay training" user loads a game from a database. Then move by move he/she tries to predict a move for one side; white or black. This will teach user how his/her role model player thinks in various positions.
Moderators: hgm, Rebel, chrisw
[...]
This is very primitive. What if users move is same or better than the played move ? One can implement what I said that exist in ChessBase and my more suggestions in this thread. I think that is the way to develop XBoard.hgm wrote: ↑Wed Sep 18, 2019 5:03 pm This sounds like XBoard training mode. You load a game, select 'Training' in the Mode menu. From then on you can play a move. If it is not the one of the game you get a pop-up saying 'Incorrect move', and the entered move is ignored/taken back. If it is the move of the game, the move is accepted, the move of the opponent is played automatically, and you can start guessing the next move.
Yes you can, feel free, it's open source.Look wrote: ↑Wed Sep 18, 2019 5:36 pmThis is very primitive. What if users move is same or better than the played move ? One can implement what I said that exist in ChessBase and my more suggestions in this thread. I think that is the way to develop XBoard.hgm wrote: ↑Wed Sep 18, 2019 5:03 pm This sounds like XBoard training mode. You load a game, select 'Training' in the Mode menu. From then on you can play a move. If it is not the one of the game you get a pop-up saying 'Incorrect move', and the entered move is ignored/taken back. If it is the move of the game, the move is accepted, the move of the opponent is played automatically, and you can start guessing the next move.
Indeed, this is very basic (as well as very old and never further developed). So far you have not described anything that ChessBase would do differently, though.
Now that you understood what "replay training" is , see my previous post in the thread.
User should actually follow the loaded game from database. In each move user guesses the next move from one side. The guessed move will be recorded and then user follows game move. After the game is finished , it is time for engine analysis. Maybe for all user moves.A GUI would not know if the played move would be better; you would need an engine for that. But if you trust the judgement of an engine, why would you even need to start with a game? You could just play with & against the engine. E.g. the engine could say for every sub-optimal move of the opponent: "I would have played ...", in a simple human-engine game. (I actually know an engine that does that!)
If I find a move better than my role model , I would be happy.What do you expect to happen when the move is better? If it would be accepted, you would have left the loaded game...
Let me give you an example. After replaying many classical games, This is the game I followed:hgm wrote: ↑Thu Sep 19, 2019 11:48 pm But how would you know? The engine analysis you do at the end evaluates both the positions of the loaded game, as well as any recorded deviations you entered, and displays them side by side?
A first step towards what you describe would be not to merely display the popup "incorrect move" in XBoard's Training mode, but add the move (as 'recursive variation') to the loaded game. That should be pretty easy: XBoard stored recursive variations together with other types of comment as one text string per game move. In this case the variation part would just consist of the move in SAN form, surrounded by parentheses. Having the existing routines CoordsToAlgebraic() and AppendComment() act on the entered move at the point that summons the popup would do that.
The second step would be to implement something very similar to the handling routine of the Analize Game menu item, which does not only step through the main line of the game, but also follows up all variations recorded in it.
I am just not sure what is expected in the form of result diplay. XBoard´s current Analyze Game function just adds the score-depth info as comments to the move.
First of all , I selected that game because I played less blunders in it.hgm wrote: ↑Fri Sep 20, 2019 12:54 pm OK, this is what I referred to as the 'first step'. I wonder if this should not be made standard behavior of XBoard's Training Mode. There seems not much harm in always adding the variations to the loaded game, as you can always refrain from saving that game when you don't want them.