Jeff Hlywa

Results 62 comments of Jeff Hlywa

The variation code will most likely come later in version 2.0.0 (I refer to it above as RAV - Recursive Annotation Variation). The PGN loading code needs to be rewritten...

@coffeeDev98 I'd be interesting in creating the grammar from scratch. I think it would give us a better understanding of how the PGN parser works, and frankly, I think it...

Hi all, I just pushed the new **dev** branch this morning. I manually copied over all of the tests from the 0.13.2 tag and added a few extras where necessary....

Hi @DevAndrewGeorge. No, I haven't been able to account for the discrepancy in tests cases. I did omit a few cases that I though were redundant on the `dev` branch,...

Thanks for the report @DioBrandoZ. This occurs because the provided FEN contains castling rights (the 'KQkq' portion of the string) which makes the library think it can castle. The next...

Hi and thanks for the report. There's a new typescript version of chess.js in the dev branch that's about 95% feature complete. It's slated to be version 1.0.0. You can...

@933459 Perhaps you're running with an older version of typescript? I've only tested with 4.4.x and greater. Try adding a call to `npm install` prior to calling `npm run build`,...

The library doesn't explicitly create variations, it simply uses a stack to keep track of moves - pushing (`.move()`) and popping (`.undo()`) as needed. There's currently no support for preserving...

There is a very outdated 960 branch here -> https://github.com/jhlywa/chess.js/tree/960. If there's demand for 960 support I may merge it with master in the future.

Thanks @swaltek. I'll try to get this reviewed this weekend.