Skip to content

I believe documentation is outdated? #110

@Trevoke

Description

@Trevoke

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions