Viewer/editor for toroidal Go Go forum
10 replies. Last post: 2018-03-26Reply to this topic Return to forum
Malcolm Schonfield at 2018-01-04
Hopefully it should be fairly self explanatory.
The source code is on github.
Disclaimer – it may well not work on mobile phones.
Please let me know if you like it! I would be please to see some other people commented their games using this tool. Let me know/send me the sgf and I could put it on my blog..
eobllor at 2018-01-06
Very nice replayer!
I have but one reservation: while panning is a really cool feature, the labels of the intersections unfortunately stay fixed when the stones are shifted (and by the way, I’d prefer the rows to be ordered from bottom to top), therefore a label (e.g. ‘a1’) no longer indicates the same stone after a shift.
Malcolm Schonfield at 2018-01-06
Good points. I expect to be able to tweak it fairly soon to have shifting coords and I’ll add an option to choose the direction of the vertical coordinates.
Malcolm Schonfield at 2018-01-13
I made some further improvements. Summary:
- a new feature to load a game from LG by the game ID (experimental)
- choice of type of coordinates; top to bottom or bottom to top are among the options available
- coordinates displayed on the edge of the board
- choice of markers for wraparound boundary
- coordinates pan along with the rest of the board as suggested by eobllor
It would be nice if people were to use this tool to make some commentaries of t-Go games – maybe those interested could post the t-Go SGF for their commentary to this forum?
In order to encourage that, I hereby propose a new game, with me as the sole judge: the winner is the person who has provided the most interesting commentary (up to me to make a subjective judgement on that) of a t-Go game. Let’s say the deadline for submissions is 2018-03-01 12:00 GMT. By the way I do not intend to participate in this game by submitting my own t-Go commentaries as it wouldn’t be fair... :)
Malcolm Schonfield at 2018-03-20
There were no takers for the game I suggested in the previous post which is a pity, but never mind.
Anyway, the point of this message is to announce a version of the viewer/editor – it now should be more intuitive as it’s no longer necessary to push the “update” button after moves in order to get the wraparound. Here’s the link again:
Also, I put a new commentary of a toroidal go game online:
Feedback and comments about the above are all welcome. Feature requests..?
Tony at 2018-03-20
The marked stone X at 22 has a corresponding stone on top which is not marked.
The board looks really impressive. I would really like to understand how some people are able to make all these shiny editors. It is amazing!
Actually part of the fun of toroidal Go for me was that there was not yet an editor available, but I do not blame you. ;-)
Malcolm Schonfield at 2018-03-20
I agree, the board is indeed pretty nice – I can say that because I did not make it. It’s an open-source library called Web Go Board which is designed for normal Go (actually the developer was kind enough to implement a few small features specially for me so as to get it to work better for Toroidal Go). My contribution is making the board work for Toroidal Go. The features related to Toroidal Go, like the panning buttons, aren’t as well presented – that’s my part, and presentation isn’t the main focus for me at the moment.
About the marked stone X at 22. Good point. It’s because the corresponding stone at the top is at the edge of the wraparound, and the marks for the edge of the wraparound take precedence over other marks at the moment. I’m not sure actually if it is a good idea to have it this way, but I don’t think it’s a big issue.
Tony at 2018-03-21
Yes, the single mark X is just a minor thing.
Would you have any suggestion how to build a web version of this game of Tetrahex?
It can be played on a 3D tetrahedron, but also on a 2D unfolded tetrahedron in the shape of a triangle or a rhomboid.
As the tetrahedron has no sides the question rises what to connect. The difference with the normal hex rules is therefore that the winning condition in Tetrahex is that you have to connect all of your stones. So catching one stone of your opponent is enough to prevent his victory.
I saw you are not a hex player on LG, but if you have any ideas that would be nice.
Malcolm Schonfield at 2018-03-23
Tony, I had another look at the single mark X thing. I think it does seem a bit strange as sometimes the wraparound border takes precedence over marks, and sometimes it doesn’t. I’ll see about fixing it maybe some time.
Tony at 2018-03-26
Thanks! I found a nice tutorial on react.js. One day I’ll fly away