I am using JTwixt. I feel it very useful but I have got an issue with the "make this main variation" which I am not able to make working. It always consider the last peg as being the main variation.
It is a pity because it forces me to replay manually some big parts of the games before coming up to the current peg.
Possibly the Jtwixt documentation is unclear. Here's how it's supposed to work:
- At each node of the game tree, one move can optionally be labeled the "main" one. "Main" is perhaps misleading here. "Actual game" might be better than "main".
- The menu command "main to root" labels all move leading up to the current position as "main".
- The menu command "main next" moves to the child node labeled main, if there is one.
- The menu command "main to end" is equivalent to doing "main next" until you reach a node which does not have a "main" child.
- But there is a design flaw in Jtwixt and Jhex: The plain "forward" command ignores the "main" designations, and instead (1) makes the best move (in the sense that "vertical wins" is better than "vertical advantage" is better than unlabeled), and (2) if there's a tie for best move, it makes the move most recently added to the tree. If Jtwixt is modified in the near future (possible, but not certain), then this will likely be changed so that the "main" variation takes precedence over all others for the "forward" command (and similarly for "-> branch" and "-> end").
Yes, I am the author of jtwixt and jhex. I stopped playing these games online about 10 years ago, and consequently also stopped developing jtwixt. But recently I've started playing again (only hex at present, but perhaps twixt in the future), so it's likely I will start revising jtwixt/jhex again. (The two applications share most of their code.) The biggest obstacle was converting the source code from the old, defunct developer environment to a modern developer environment like eclipse. Happily, I managed to do that this morning.
Thanks, but what I meant to ask was "Can anyone on a non-Mac platform confirm that the shortcut key in jtwixt or jhex for "Save" is control-S?". Sorry that wasn't clear.