Licences
Gambit is built on these works. Each is used under the licence named here.
Chess engine
- Stockfish 19 (T. Romstad, M. Costalba, J. Kiiski, G. Linscott and contributors), via stockfish.js (Chess.com, LLC). Licence: GNU GPL version 3.
- Gambit serves stockfish.js with one change to its loader: the WASM file is instantiated from an ArrayBuffer instead of a streaming compile (the change is marked at the top of sf/stockfish-19-lite-single.js). The engine and its WASM build are as released. Corresponding source: the stockfish.js repository at its version 19 release and Stockfish, plus the loader change described here. The served files: stockfish-19-lite-single.js, stockfish-19-lite-single.wasm, stockfish-19-asm.js.
Content
- Opening names: lichess-org/chess-openings, CC0 1.0.
- Master puzzles: chess-console-puzzles, Copyright (c) 2021 Stefan Haack, MIT licence (text below).
Pieces
- Marble, Royal, Modern, Neon, Kingdom: original artwork made for Gambit (drawn as code, no third-party assets).
- Crafted boards: the wood, marble, stone, parchment, leather and felt, painted stone and snow and velvet textures were generated for Gambit with SpriteCook (same terms); the boards are composed from them by tools/boards/build.cjs. Foundry, Frosted Glass, Midnight and Gambit Signature are drawn from noise by the same tool.
- Forged, Porcelain, Arcade, Timber, Origami, Ink, Clay, Jade: generated for Gambit with SpriteCook, then cut, scaled and outlined by hand; used under the SpriteCook terms (ยง6: outputs may be used, reproduced and distributed; no attribution required).
- The eight sets below are the open-source sets used on lichess.org, unchanged.
- Cburnett, Merida: lichess piece sets, GNU GPL version 2 or later.
- Chessnut: Apache License 2.0 (text).
- Celtic, Fantasy, Spatial: Copyright (c) Maurizio Monge, MIT licence (text below).
- Rhos: RhosGFX, CC0 1.0.
- Papercut: Nikolay Anzarov, CC BY 4.0.
Sounds and fonts
- Piece sounds: processed from "Impact Sounds" by Kenney (kenney.nl), CC0 1.0.
- Reward chimes: the SoundWeaver library, Copyright (c) the SoundWeaver authors, MIT licence (text below).
- Sofia Sans and Noto Sans Symbols 2: SIL Open Font License 1.1.
MIT licence text
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.