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 }}
niklasf
/
python-chess
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
586
Star
2.9k
Code
Issues
37
Pull requests
13
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
feat: Adds support for displaying NAGs in the chess.svg.board AND other optimizations chess.svg.board function
- #1062
#1062
Open
Vikasg7
wants to merge 26 commits into
niklasf:master
niklasf/python-chess:master
from
Vikasg7:master
Vikasg7/python-chess:master
Copy head branch name to clipboard
Conversation
Commits
26
(26)
Checks
Files changed
Open
feat: Adds support for displaying NAGs in the chess.svg.board AND other optimizations chess.svg.board function
#1062
Vikasg7
wants to merge 26 commits into
niklasf:master
niklasf/python-chess:master
from
Vikasg7:master
Vikasg7/python-chess:master
Copy head branch name to clipboard
Commits
Commits on Jan 21, 2024
feat: adds visualization of NAGs on the SVG board.
Vikasg7
committed
dc31630
View commit details
Copy full SHA for dc31630
Browse repository at this point
fix: refactored to remove unneccessary if statements without changing the behaviour
Vikasg7
committed
a75d028
View commit details
Copy full SHA for a75d028
Browse repository at this point
Commits on Jan 22, 2024
fix: separated rendering of X marked Squares from Piece rendering
Vikasg7
committed
9c1d7f6
View commit details
Copy full SHA for 9c1d7f6
Browse repository at this point
Commits on Jan 23, 2024
fixed the order in which ascii board appeared in the svg
Vikasg7
committed
4a32115
View commit details
Copy full SHA for 4a32115
Browse repository at this point
fix: added a check where a valid nag was passed but there is no Glyph for it
Vikasg7
committed
eb13080
View commit details
Copy full SHA for eb13080
Browse repository at this point
fix: Updated the ?! Glyph background color for it to be more visible
Vikasg7
committed
b872884
View commit details
Copy full SHA for b872884
Browse repository at this point
adds basic tests for the squares and NAGs
Vikasg7
committed
368eb5b
View commit details
Copy full SHA for 368eb5b
Browse repository at this point
fixed the background color of inaccuracy glypha again to match mistake but a bit darker
Vikasg7
committed
43367fb
View commit details
Copy full SHA for 43367fb
Browse repository at this point
Commits on Jan 24, 2024
fix: bringing global constants in local scope for lil perf boost
Vikasg7
committed
7e330b5
View commit details
Copy full SHA for 7e330b5
Browse repository at this point
Commits on Feb 7, 2024
chores: updates docs to show which nags are supported by nag param in chess.svg.board function
Vikasg7
committed
1f9977a
View commit details
Copy full SHA for 1f9977a
Browse repository at this point
Commits on Apr 5, 2024
Merge branch 'niklasf:master' into master
Vikasg7
authored
549529c
View commit details
Copy full SHA for 549529c
Browse repository at this point
Commits on May 12, 2024
Removes border crap and adds coordinates inside the squares
Vikasg7
committed
33341e2
View commit details
Copy full SHA for 33341e2
Browse repository at this point
Fixed the z-order of coords so that they don't overlap glyphs or other important stuff.
Vikasg7
committed
d8b7160
View commit details
Copy full SHA for d8b7160
Browse repository at this point
Fixed type errors
Vikasg7
committed
8d808ce
View commit details
Copy full SHA for 8d808ce
Browse repository at this point
Fixed the bug where glyphs weren't placed correctly in flipped board
Vikasg7
committed
88171b7
View commit details
Copy full SHA for 88171b7
Browse repository at this point
Commits on May 25, 2024
Decouple the rendering of lastmove rects from rendering of board for performance
Vikasg7
committed
f86269d
View commit details
Copy full SHA for f86269d
Browse repository at this point
Commits on Nov 26, 2024
feat: adds parser and svg print support for Novelty nag
Vikasg7
committed
5eba38f
View commit details
Copy full SHA for 5eba38f
Browse repository at this point
fix: taken care all the linter warnings
Vikasg7
committed
5809ef1
View commit details
Copy full SHA for 5809ef1
Browse repository at this point
Commits on Nov 27, 2024
fix: Updated Novelty nag's color and reduced the size of letter N
Vikasg7
committed
98a1a38
View commit details
Copy full SHA for 98a1a38
Browse repository at this point
fixes placement of the nag, made it more dynamic and also respects the first/last ranks and files
Vikasg7
committed
bf7f632
View commit details
Copy full SHA for bf7f632
Browse repository at this point
Commits on Nov 28, 2024
Reduces size of arrow
Vikasg7
committed
c70fe85
View commit details
Copy full SHA for c70fe85
Browse repository at this point
bumped size of nags and fix their colors
Vikasg7
committed
473d657
View commit details
Copy full SHA for 473d657
Browse repository at this point
Commits on Dec 16, 2024
fixed nag color of inaccuracy and mistake
Vikasg7
committed
97eac2c
View commit details
Copy full SHA for 97eac2c
Browse repository at this point
Commits on Jan 28, 2025
fix: updated the inaccuracy nag color to be same as mistake
Vikasg7
committed
1aff931
View commit details
Copy full SHA for 1aff931
Browse repository at this point
Commits on Jun 15, 2025
refactor: rename arrow handling methods for %csl and %cal and update related tests
Vikasg7
committed
fc477d4
View commit details
Copy full SHA for fc477d4
Browse repository at this point
Commits on Sep 27, 2025
Updating chess.svg from the custom implementation from current personal project
Vikasg7
committed
3e6d881
View commit details
Copy full SHA for 3e6d881
Browse repository at this point
You can’t perform that action at this time.