Hacker GitHub

← All repos

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

Mentions per year 8 mentions · busiest year 2025 (3)
20082026
  1. …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
  2. 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…
  3. …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.
  4. 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
  5. "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
  6. …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