SabakiHQ / Sabaki

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

How to send programmatic board coordinate data to Sabaki #921

Open ghost opened 1 year ago

ghost commented 1 year ago

Hi, does Sabaki support sending coordinate data not through terminal but other programmatic means? Like instead of clicking on the board I use a program to send coordinate data such as 'CF' and have Sabaki display that stone in the current board for me?

apetresc commented 1 year ago

Like some sort of RPC API? No, there's nothing like that, although I'm pretty sure you could achieve it via some sort of UI automation library. What is your use case, out of curiosity?

ghost commented 1 year ago

I am trying to build an electronic go board and would like to embed Sabaki in the project. I have a physical board, circuit and Arduino set up and a Javascript program that receives coordinate data, ie 'FG' or 'PD', when someone places a stone on the board. And the next thing is send that information to a go playing client like Sabaki to progress the game. I also would like this project to be able to accept an AI engine and display AI generated moves using LED on my board. This requires that I can receive such move information from a go playing client or my project software needs to be that go playing content. I hope this makes sense to you.