Releases: petesimple/khonschess
Version 2.7.1 (Bug Fixes: Checkers, Chess, Theme Restore, Labels)
Khon’s Chess - Version 2.7.1 (Bug Fixes: Checkers, Chess, Theme Restore, Labels)
This release is all about tightening the bolts. A handful of sneaky logic issues were causing incorrect moves, weird win states, and unreliable theme behavior. 2.7.1 fixes the core problems and cleans up the board UI.
Fixed
• Checkers capture bug
• Corrected jump move calculation so captures and multi-jumps behave properly
• Checkers win handling
• Normalized winner values so endgame results and prompts trigger correctly
• Chess attack detection
• Added a dedicated attack map (no pawn pushes, no castling) to make check and castling logic reliable
• Prevents false attacked squares from pawn forward moves and avoids castling related recursion edge cases
• Theme restore on refresh
• Saved theme now reloads correctly and syncs to the Theme dropdown
• Board labels UI
• Rank and file labels are now anchored to the square corners for consistent placement
Notes
• No gameplay changes beyond correctness fixes - this is a stability and accuracy release
Quick test checklist
• Checkers: confirm captures and multi-jumps work
• Chess: confirm check, checkmate, and castling rules feel correct
• Refresh the page: theme should persist
• Labels: a-h and 1-8 should stay pinned in the right corners
Tag: v2.7.1
Version 2.6.2 (LinkParams Theme + Game)
Version 2.6.2 – LinkParams Theme + Game
This release adds deep-linking support so Khon’s Chess can be launched in a specific theme and game mode using a single shareable URL. Ideal for festivals, events, kiosks, and QR codes.
New Features
-
Theme via URL
- Launch with a preset theme using
?theme=SFIFF - Example: http://petesimple.github.io/khonschess/?theme=SFIFF
- Launch with a preset theme using
-
Game Mode via URL
- Launch directly into a specific game:
?game=chess?game=checkers?game=backgammon
- Launch directly into a specific game:
-
Combined Deep Links
- Theme + game together:
-
Shorthand Theme Support
- Theme-only shorthand URLs still work:
?SFIFF&game=chess
- App automatically normalizes to the explicit format
- Theme-only shorthand URLs still work:
URL Syncing
- Changing Theme or Game inside the app updates the URL in real time
- Makes links copy/paste-ready for sharing without extra setup
Improved Save Handling
- Game state is now saved per game mode
- Chess, Checkers, and Backgammon maintain independent saves
- Switching games no longer overwrites progress in another mode
Event & Festival Ready
- Enables one-click launches for branded experiences (e.g. SFIFF)
- Ideal for festival lounges, lobby kiosks, QR posters, and social links
Internal Cleanup
- Safer initialization order when loading from URL parameters
- More robust reset logic when switching games
- Version bump and labeling cleanup