add variation after last move
Chess Database Application
Status: Pre-Alpha
Brought to you by:
gcramer
Sometimes the game ends because one of the player resigns, but in the annotation of the game one would like to add the variation that caused the resignation.
I cannot see how to do it in the current scidb's version. Whatever I add after the last move is added in the main line, even if the results of the game ('1-0', etc.) is alreay there.
The idea is to, in some way, display this °continuation° as a variation, even if it's not an actual variation.
I think that you don't know yet how to force a variation (some day I will write more documentation, but I hope that a volunteer will do this). If you play the last move the cursor will go to this last move, but if you press the Shift key ("force") while playing the last move a menu will open which allows to insert this move to a variation. Is this what you want?
In my scidb (last commit, in ubuntu 15.10), if I press Shift while moving some piece nothing happens. No menu, and the move is simply added to the game's main line.
I think that you don't know yet how to force a variation (some day I will write more documentation, but I hope that a volunteer will do this). If you play the last move the cursor will go to this last move, but if you press the Shift key ("force") while playing the last move a menu will open which allows to insert this move to a variation. Is this what you want?
Yes, this works.But if I end the game '1-0' after 1.e4 then whatever I add becomes part of the main line. This is logic of course, but since the game is finished I would like to add some annotation to show the variation why the player resigned, even if it did not happen.
This is the test I am talking about. Open a new game and play 1.e4. Then right click on the game, 'add new game to clipbase', select results 1-0, save the game.Close the game.Re-open the game.Now you want to add the variation 1...,c5 2.Nf3 which is the reason why black resigned (!). How do you do it without modifying the fact that the actual game ended after the first white move?
Please do the following test: open a new game, and click on square e4, then take back this move, and click on e4 while pressing the Shift key, now a menu must pop-up. This also works with Drag&Drop, hold the Shift key while releasing the mouse button. This is tested with both shift keys, and works even when Caps-Lock is on.
Please do the following test: open a new game, and click on square e4, then take back this move, and click on e4 while pressing the Shift key, now a menu must pop-up. This also works with Drag&Drop, hold the Shift key while releasing the mouse button. This is tested with both shift keys, and works even when Caps-Lock is on.
That's why I've showed the way how to force a variation, because repeating the move is the solution:
This is the solution provided by all chess applications.
But is seems that you want a continuation, something like this:
A continuation is unusual, I don't know any chess applications which provides continuations. In fact I've realized continuations in new Scidb version (still in development), I need this for showing the continuation of a game link. It looks like this:
Instead of brackets I'm using a different color. But providing continuations for the user would complicate the user guidance enormously, so I think that the solution with repeating the last move in sub-variation is better.
Yes I agree, your solution is more than fine.Thanks
This is the test I am talking about. Open a new game and play 1.e4. Then right click on the game, 'add new game to clipbase', select results 1-0, save the game.Close the game.Re-open the game.Now you want to add the variation 1...,c5 2.Nf3 which is the reason why black resigned (!). How do you do it without modifying the fact that the actual game ended after the first white move?
That's why I've showed the way how to force a variation, because repeating the move is the solution: 1. e4 (1.e4 c5 2.Nf3) 1-0
This is the solution provided by all chess applications.But is seems that you want a continuation, something like this: 1. e4 [c5 2.Nf3] 1-0
A continuation is unusual, I don't know any chess applications which provides continuations. In fact I've realized continuations in new Scidb version (still in development), I need this for showing the continuation of a game link. It looks like this: 1. e4 c5 2.Nf3
[-> 2...d6 3.d4 1-0 K.K.-A.A., Anywhere, anytime]
[-> 2...e6 3.d4 0-1 B.B.-K.K., Somewhere, five days later]
1/2-1/2
Instead of brackets I'm using a different color. But providing continuations for the user would complicate the user guidance enormously, so I think that the solution with repeating the last move in sub-variation is better.