jhlywa/chess.js
View on GitHub ↗ ★ 4,449 TypeScript
A TypeScript chess library for chess move generation/validation, piece placement/movement, and check/checkmate/draw detection
8 mentions on Hacker News by 8 people: 2 stories, 6 comments · first 2013-07-26 · latest 2025-09-11
20082026
-
▲ 1
Show HN: Chess Invite, start a game of chess, share the linkstory by jrnkntl · 2025-09-11 · 0 comments
-
…much easier to implement with chessboard.js [1] and chess.js [2]. 1. https://chessboardjs.com/ 2. https://github.com/jhlywa/chess.js/blob/master/README.md
comment by primitivesuave · 2025-02-25 · in Blunder Free Chess – visualize which squares are attacked -
▲ 1
Chess.js v1.0.0story by lavren1974 · 2025-01-11 · 1 comment
-
Cool! I've been thinking to make the exact same thing in Javascript using Chess.js and Chessboard.js https://github.com/jhlywa/chess.js/blob/master/README.md http://chessboardjs.com/ I got a half-working version and will opensource the…
comment by marcusbrown · 2015-09-04 · in Visualize move, protection and threat status in chess -
…against a crowd of 100 other players should prove entertaining. Fun tech too.. using chess.js ( https://github.com/jhlywa/chess.js/blob/master/README.md ), chessboard.js (chessboardjs.com) and Firebase.com at the moment.
comment by onion2k · 2015-02-04 · in Ask HN: What have you achieved in January 2015? -
No, the application uses chess.js library found here: https://github.com/jhlywa/chess.js
comment by stepanbujnak · 2014-05-16 · in Show HN: Retichess -
"it would be tricky to get all the rules of chess into a JS file" Check out chess.js, https://github.com/jhlywa/chess.js , it does a pretty excellent job. The combination of chessboard.js and chess.js would result in a pretty sweet…
comment by pgambling · 2013-07-26 · in ChessBoardJS -
…that nicely fits into it's own library and should be separate from any display logic. For example: https://github.com/jhlywa/chess.js
comment by chrisoakman · 2013-07-26 · in ChessBoardJS