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

I believe documentation is outdated? #110

Open
Trevoke opened this issue Jan 29, 2022 · 0 comments
Open

I believe documentation is outdated? #110

Trevoke opened this issue Jan 29, 2022 · 0 comments

Comments

@Trevoke
Copy link

Trevoke commented Jan 29, 2022

Hi,

I just tried to install the npm package - I would love to leverage all the hard work, but the examples don't match the objects available (e.g. BasicPlayer / SimplePlayer, or Board).

I have figured out that this will work:

import WGo from "wgo"

let boardElem = document.getElementById("board");

let player = new WGo.SimplePlayer(boardElem, {
sgf: "<sgf goes here>"

is there a place with updated documentation I can rely on?

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