Open
Description
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 bemore 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
Labels
No labels