Changes made for this site (original: https://github.com/zeyu2001/chess-ai @ 30e96db3b77495ea462c5d9990fc375ba5a1ae7e)
- Copied only runtime files (index.html, css/, js/, img/chesspieces/wikipedia/) plus the original LICENSE.
- Vendored the CDN libraries locally, byte-identical to the versions the original loaded (SRI hashes match):
vendor/jquery/jquery-3.5.1.js jQuery 3.5.1, MIT (vendor/jquery/LICENSE.txt)
vendor/bootstrap/bootstrap.min.css Bootstrap 4.4.1, MIT (vendor/bootstrap/LICENSE)
vendor/bootstrap/bootstrap.bundle.min.js Bootstrap 4.4.1 bundle incl. Popper.js, MIT (license headers inside the file)
vendor/chessboardjs/chessboard-1.0.0.min.css chessboard.js 1.0.0 by Chris Oakman, MIT (vendor/chessboardjs/LICENSE.md)
vendor/chessboardjs/chessboard-1.0.0.min.js
- Removed the Font Awesome kit script and the Google Material Icons stylesheet (neither was used by the page).
- index.html: page
changed from "Chess AI" to "Chess vs Computer"; added ; removed a stray tag.
- Footer: the copyright line is kept, but the author name is no longer a link that leaves the game;
added a credit line for the chess piece images (see PIECES-ATTRIBUTION.txt).
- js/main.js: fixed a stray semicolon after `if (!checkStatus('black'))` in onDrop, which made the
computer try to move after the game had already ended (uncaught TypeError after checkmate/stalemate).
- js/main.js: added a window resize handler that calls board.resize().
- css/main.css: #myBoard overflow changed from "scroll" to "visible" (the board border was clipped and
desktop browsers showed empty scrollbars); the layout container may use up to 960px on screens >= 768px.
The chess AI (minimax search, evaluation, piece-square tables) and js/chess.js are unchanged.
- 2026-11-04: Display title text changed from "Chess vs Computer" to "Chess AI" (1 file(s)). Game logic unchanged.