kaorahi / lizgoban

Leela Zero & KataGo visualizer
GNU General Public License v3.0
169 stars 28 forks source link

About "attach LizGoban to Sabaki" feature #116

Closed qcgm1978 closed 7 months ago

qcgm1978 commented 7 months ago

I saw that the OBSOLETE.md file mentioned the "attach LizGoban to Sabaki" feature. I tried to use this feature, but I encountered some problems. I want to know if this feature is still available. My computer seems unable to successfully build the customized version of Sabaki you created. I would like to know if it is possible to modify the latest Sabaki codebase. I made some modifications, but they were not successful. If this feature is too difficult, maybe it can be implemented by receiving data on the server side and then using mimic to open it, as described in #61.

The main reason for wanting to attach LizGoban to Sabaki is that I consider this project to be more suitable as an analysis tool, while Sabaki can be used as an SGF browsing and editing tool. This way, a single project will not have to carry too many functions.

kaorahi commented 7 months ago

Though this feature still works on my machine, I've completely given up on its maintenance. I'm not sure whether the following changes are relevant for the latest version.

https://github.com/SabakiHQ/Sabaki/compare/master...kaorahi:dump_state2

qcgm1978 commented 7 months ago

I modified Sabaki project and request local service with game info and move data when making moves, at the same time a http server is set up in main.js when starting Lizgoban that receives the data from Sabaki and call set_game_info and play function to map the moves. It works.
This eliminates the need for an external server as a mediator, although both Sabaki and Lizgoban applications must be in a started state.