Open pavellauko opened 6 years ago
I think a good start would be to add an interface for stepping backwards/forwards through the game that's already loaded, and then to add a way to paste in a game.
The Isopath game object already has provision for undoing moves, so we'd probably just want to add a "redo" stack and a redo function, and then some undo/redo buttons.
I don't know whether it would be worth trying to support arbitrary trees of variations, or just a "main line" and a single other variation, or just basic undo/redo of the main line. I think lichess lets you try out a variation without forgetting what the main line was, but it doesn't keep track of multiple variations at once.
would be nice.
we can inspire here: https://cs.wikipedia.org/wiki/PGN https://www.reddit.com/r/Tak/wiki/portable_tak_notation https://boardgamegeek.com/thread/1070444/hive-notation-system-used-boardspacenet