Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimum frontend #5

Closed
6 tasks done
Terkwood opened this issue Jun 10, 2019 · 13 comments
Closed
6 tasks done

Minimum frontend #5

Terkwood opened this issue Jun 10, 2019 · 13 comments

Comments

@Terkwood
Copy link
Owner

Terkwood commented Jun 10, 2019

Use Sabaki

  • no auth (hardoded & fake UID)
  • resurrect some Sabaki engine logic into a branch
  • implement a Sabaki GTP-style controller to communicate with gateway
  • implement gateway communication via web sockets
  • don't bother to trim anything else out of Sabaki, just take its interface as is
  • handle player assignment / engine attachment sanely.
@Terkwood Terkwood mentioned this issue Jun 10, 2019
5 tasks
@Terkwood
Copy link
Owner Author

@Terkwood
Copy link
Owner Author

@Terkwood
Copy link
Owner Author

https://github.com/waltheri/wgo.js

@Terkwood
Copy link
Owner Author

wgo.js draw Handlers could be useful for putting a marker down before move is acknowledged by backend

WGo.Board.drawHandlers

http://wgo.waltheri.net/documentation

@Terkwood
Copy link
Owner Author

wgo.js allows using a custom board graphic

@Terkwood Terkwood pinned this issue Jun 14, 2019
@Terkwood
Copy link
Owner Author

https://github.com/SabakiHQ/Sabaki/tree/web

@Terkwood
Copy link
Owner Author

sabaki engines docs

@Terkwood
Copy link
Owner Author

@Terkwood
Copy link
Owner Author

@Terkwood
Copy link
Owner Author

It's easy to hook up Sabaki desktop version to play against Gnu Go. Sabaki talks to Gnu Go using Go Text Protocol(GTP).

This setup is currently supported in Sabaki desktop version only.

We could write a small node.js/socket.io app which responds to GTP from Sabaki and communicates with our gateway layer, providing multiplayer.

@Terkwood
Copy link
Owner Author

Once that's done, we'd probably know enough to be able to extend Sabaki-web

@Terkwood
Copy link
Owner Author

Terkwood commented Jul 3, 2019

https://www.npmjs.com/package/events

Events package which can be used to fill in for missing nodejs Event Emitter api

@Terkwood
Copy link
Owner Author

Implemented in Terkwood's Sabaki repo

@Terkwood Terkwood unpinned this issue Jul 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant