Conversation
Agent-Logs-Url: https://github.com/Devn913/SQL_Chess/sessions/7d3c4bc6-6bdd-46e2-bbed-6cd03df4f2f9 Co-authored-by: Devn913 <56478595+Devn913@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Integrate CI/CD and deploy chess game on GitHub Pages
feat: SQL Chess — playable chess with SQL query panel, guest mode, invite links & GitHub Pages CI/CD
Apr 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds the entire SQL Chess application from scratch (repo was previously empty). Every chess move is translated into real SQL statements in real time, with an optional SQL panel alongside the board.
Core App
index.html— single-page app: chess board, SQL panel, New Game / Guest / Invite modals, pawn-promotion dialog, toast notificationscss/style.css— dark-themed responsive layout; board highlights (selection, valid moves, last move, check), SQL syntax colouring, modal animationsjs/app.js— chess.js engine integration, click-to-move with full rule enforcement (castling, en passant, promotion, check/checkmate/stalemate), SQL generation per move, invite URL encoding, undo/flip boardvendor/chess.min.js— chess.js v0.10.3 vendored locally (no CDN dependency)SQL Panel
Each move generates contextually correct SQL against a 3-table schema (
chess_game,chess_piece,chess_move). Special moves get special treatment:Panel is toggleable; "Copy All" exports the full session SQL.
Guest Mode & Invite
CI/CD
.github/workflows/deploy.yml—validatejob runshtml-validateon every push/PR tomain;deployjob publishes to GitHub Pages on push tomain(requires Pages to be enabled in repo Settings → Pages → Source → GitHub Actions)Screenshot
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
cdn.jsdelivr.net/usr/bin/curl curl -s REDACTED -o /home/REDACTED/work/SQL_Chess/SQL_Chess/vendor/chess.min.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt