Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
jhlywa
/
chess.js
Public
Notifications
You must be signed in to change notification settings
Fork
990
Star
4.4k
Code
Issues
26
Pull requests
21
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
All pull requests
New pull request
Search pull requests
is
:
pr
state
:
open
is:pr state:open
Clear filter
Search
Pull requests
Open
21
(21)
Closed
211
(211)
Author
Label
Projects
Milestones
Reviews
Assignee
Sort by
Newest
descending
More items
Comfortable display density
Compact display density
Revise chess.js documentation for clarity and accuracy
#587
·
vidyutganesh
opened
Sep 29, 2026
·
·
Fix put/remove always clearing the en passant square
#585
·
seojoonrp
opened
Aug 26, 2026
·
·
2
Run npm audit fix
#584
·
demerphq
opened
Aug 11, 2026
·
·
Fix: Pawns on edge ranks should have no chess.moves()
#578
·
some1else
opened
Jan 17, 2026
·
·
1
2
feat: add complete Chess960 support, including X-FEN, castling rules,PGN loading tests
#575
·
void-57
opened
Jan 5, 2026
·
·
1
3
Multigame stage1a
#568
·
JeffML
opened
Oct 5, 2025
Contributor
·
·
2
Move 'addMove' stateful function + add extra conditional to promotion check
#563
·
joachimbulow
opened
Sep 21, 2025
·
·
3
Fix: handle invalid FEN when side to move is already delivering check
#559
·
YusungAN
opened
Sep 13, 2025
·
·
1
2
Added a learning note to README as part of GitHub practice
#557
·
David20061129
opened
Sep 11, 2025
·
·
Improve Draw Rule Handling
#553
·
ANDREA-1720
opened
Aug 20, 2025
·
·
2
Add chess960 support. This is a roll-up of all changes from the 'chess960support' branch.
#551
·
deverac
opened
Aug 1, 2025
·
·
12
Chess 960 Improvements
#489
·
sowson
opened
Feb 19, 2025
·
·
23
Add comment at FEN
#473
·
awbridgers
opened
Aug 28, 2024
·
·
Add constant POSITION_COORDINATES
#471
·
svk091
opened
Aug 6, 2024
·
·
1
add default separator param to ascii function
#437
·
kwkr
opened
Sep 25, 2023
·
·
2
Optimisations for history, pgn and getComments
#421
·
gavin-lb
opened
Jun 24, 2023
Contributor
·
·
Changes to
isDraw
and
isGameOver
(to fix #112) and fixes for games that include
put
/
remove
#417
·
gavin-lb
opened
Jun 14, 2023
Contributor
·
·
9
Added methods to get captured pieces for either player.
#402
·
angarc
opened
Apr 29, 2023
Contributor
·
·
Add is_valid_move and get_move_obj
#299
·
ptjuanramos
opened
Oct 16, 2021
·
·
Added Chess 960 support
#253
·
atinm
opened
Dec 16, 2020
·
·
1
Added preliminary Chess960 support.
#169
·
primepandey
opened
Dec 26, 2017
·
·
3
You can’t perform that action at this time.