oakmac / chessboardjs

JavaScript chessboard
https://chessboardjs.com
MIT License
2.01k stars 408 forks source link

use of chessboard.js as the GUI for chess interpreter #168

Open gchiu opened 5 years ago

gchiu commented 5 years ago

Just a FYI, I was creating a demo of Rebol as WASM in browser, and used your chessboard.js to make a chess "interpreter"

http://metaeducation.s3.amazonaws.com/chess.html

Just type chess moves as square positions at the chess prompts

eg. e2 e4 e7 e5 etc castling is o-o, o-o-o pawn promotion is e7 e8=N and en passant is detected though legality is not checked.

You can see help by typing chess-help

and as a bonus, I included a game of mine from 43 years ago.

oakmac commented 5 years ago

Neat! 😎👍🏻

On Sat, Apr 27, 2019 at 5:24 PM Graham Chiu notifications@github.com wrote:

Just a FYI, I was creating a demo of Rebol as WASM in browser, and used your chessboard.js to make a chess "interpreter"

http://metaeducation.s3.amazonaws.com/chess.html

Just type chess moves as square positions at the chess prompts

eg. e2 e4 e7 e5 etc castling is o-o, o-o-o pawn promotion is e7 e8=N and en passant is detected though legality is not checked.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/oakmac/chessboardjs/issues/168, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAYBNOPLAFTGMKM6XP257LPSTHDTANCNFSM4HI5FEYQ .

hostilefork commented 5 years ago

If this is to be an "issue" proper, perhaps the issue can be about pawn promotion syntax.

Could/should there be a standard, or is it beyond the scope of the chessboard.js ?