Skip to content

lacuna in documentation #246

Open
Open
@strnbrg59

Description

@strnbrg59

In your examples that use the chessjs library (for example the example that validates moves for legality), you don't say how exactly you do that. I see you
using chessjs functions (like the Chess class). But where do you load chess.js (or perhaps chess.ts)?
I don't see anything like <script src="chess.js"></script> in your html file.

I tried the obvious -- compile chess.ts using tsc, and then put

<script src="chess.js"></script> in *my* html file. But that doesn't work. There must be

more to it and I wonder if you'd be willing to provide a bit more handholding to benefit people who aren't keen (right now at least) to learn about typescript and nodejs and all that.

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