Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paradoxzw/nodego
A Node.js Web Server for Go Game AI, powered by WGo.js, SabakiHQ/gtp and leela-zero.
https://github.com/paradoxzw/nodego
nodejs website weiqi
Last synced: 16 days ago
JSON representation
A Node.js Web Server for Go Game AI, powered by WGo.js, SabakiHQ/gtp and leela-zero.
- Host: GitHub
- URL: https://github.com/paradoxzw/nodego
- Owner: ParadoxZW
- License: agpl-3.0
- Created: 2021-01-09T09:07:25.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-12T10:52:28.000Z (about 4 years ago)
- Last Synced: 2025-01-13T13:20:03.391Z (18 days ago)
- Topics: nodejs, website, weiqi
- Language: JavaScript
- Homepage:
- Size: 1.14 MB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NodeGo: A Node.js Web Server for Go Game AI
## Introduction
The basic purpose of this project is to learn javascript, node.js and other necessary skills for web programming (frontend skills and backend skills). Since I've found that there is no repository of a node.js web server that support playing Go with AI, I decided to make one. During programming, I've also learned some topic of Go Program, like GTP and SGF. For the love of Go and deep learning, I surely wish that I can make contributions to the communities.
It's a **on-the-fly** project just for now. The server only supports some basic functions. But I will continue to make progress to this project. For now, the website looks like
![example-image](images/screenshot.png?raw=true)## Quick Start
You need prepare [node](https://nodejs.org/zh-cn/download/) and [leela-zero](https://github.com/leela-zero/leela-zero#usage-for-playing-or-analyzing-games) following their official instructions.
For linux, you may need compile `leelaz` (a executable file of go engine) by your own. Download network weights from [here](https://zero.sjeng.org/best-network), extract it, rename it as `best-network` and move it to the build folder of leela-zero.Run bash
```Bash
git clone https://github.com/ParadoxZW/NodeGo.git
ln -s path/to/leela-zero/build leela
```
Now you can start server
```Bash
node server.js
```## Implementation Details
coming soon...
## Todo List
I'll make effort to let the project become fully functional, more powerful and more beautiful.
Following functions are important and need to be support:- [ ] change color of stone
- [ ] resign
- [ ] make score function more powerfull, use it to estimate situationOther features:
- [ ] save kifu on backend and support downloading
- [ ] apply a backend framework, like express
- [ ] apply a frontend framework, like Vue## Appreciate
Thanks [leela-zero/leela-zero](https://github.com/leela-zero/leela-zero#usage-for-playing-or-analyzing-games), [SabakiHQ/gtp](https://github.com/SabakiHQ/gtp) and
[waltheri/wgo.js](https://github.com/waltheri/wgo.js) for their valuable work.