SabakiHQ / Sabaki

An elegant Go board and SGF editor for a more civilized age.
https://sabaki.yichuanshen.de/
MIT License
2.41k stars 377 forks source link

Issue 773 - cycle through downstream variations #834

Closed petermao closed 10 months ago

petermao commented 2 years ago

For your consideration, here is an implementation of Issue 773.

Starting from the present node, this finds downstream forks and cycles through the possible variations by altering the gameCurrents array. For myself, I prefer to have these new function calls bound to Left and Right, but in the interest of not surprising anyone, I bound these to Shift+Left and Shift+Right.

The function name is a bit jarring. It doesn't act like a goTo..., so I didn't name it as such.

apetresc commented 10 months ago

I agree the name is a bit jarring but I couldn't find a better alternative either. Thanks for this, I think it's quite useful! :)

(Better late than never right? 😅)