0039. Piece set: Cburnett by default, Chessnut as an option
Source:
docs/decisions/0039-piece-set.md. Generated at build time; edit the source file.
Date: 2026-11-21 Status: Accepted (owner decision, 2026-11-21)
Context
Section titled “Context”The board needs a piece set that fits the “Annotated scoresheet” direction (packages/ui/DESIGN.md, “Pieces”): flat, in the ink metaphor, recoloured to --color-piece-dark and --color-piece-light, with a dark outline that holds 3:1 on both squares in both themes. The web client is closed source and commercial, so the licence must allow that. GPL and AGPL image sets would put the client’s licensing in question, and non-commercial (NC) and “freeware” sets are excluded outright. A CC BY-SA set would be acceptable only as images released under CC BY-SA with attribution on /licenses.
Candidates
Section titled “Candidates”The licences were read on 2026-11-21. Details are in packages/ui/design/references/REFERENCES.md, and the side-by-side comparison is in packages/ui/design/references/06-piece-set-candidates.png.
| Set | Licence | Source |
|---|---|---|
| Cburnett (Colin M.L. Burnett) | Multi-licensed: GFDL 1.2+, CC BY-SA 3.0, BSD-3-Clause or GPLv2+. We choose BSD-3-Clause. | Wikimedia Commons, Chess_{k,q,r,b,n,p}{l,d}t45.svg |
| Chessnut (Alexis Luengas) | Apache-2.0 | github.com/LexLuengas/chessnut-pieces |
| RhosGFX | CC0 1.0 | lichess-org/lila, public/piece/rhosgfx |
Decision
Section titled “Decision”Piece sets are user-configurable (“Pieces” in Settings, under Board, stored per user and applied to every board).
- Default: Cburnett, under its BSD-3-Clause option. It is taken from Wikimedia Commons, not from Lichess’s GPL-labelled copy, and recoloured at build time to
--color-piece-darkand--color-piece-light. The BSD notice and attribution go on/licenses. - Option: Chessnut, under Apache-2.0. It is taken from github.com/LexLuengas/chessnut-pieces and recoloured the same way. The Apache-2.0 licence and attribution go on
/licenses. - Not offered: RhosGFX. Its multi-colour, warm palette breaks the recolouring rules (ban
B1). - Reserved: a slot for a future commissioned signature set, which needs a written licence or assignment to us.
- Licence gate for any future set: no GPL, AGPL, NC, freeware or unlicensed sets. The licence, author and exact source are recorded in REFERENCES.md and here before the set is added, and attribution goes on
/licenses. Every set must pass the recolouring rules in DESIGN.md, “Piece sets”.
Consequences
Section titled “Consequences”- The pieces are modified (recoloured), which BSD-3-Clause permits as long as the notice is kept.
- The most familiar silhouettes in online chess help players read positions fast. The trade-off is that the set is familiar rather than unique, and the board’s identity comes from the squares, the marks and the motion.
- Shipping two sets means two build-time sprite sets per theme. That cost is small, but it is a cost.
- Both sets’ licence texts must be on
/licensesfrom the first release that offers them.
Addendum (2026-11-21, M4 Task 10 review): the copy embedded in react-chessboard
Section titled “Addendum (2026-11-21, M4 Task 10 review): the copy embedded in react-chessboard”react-chessboard 5.12.1 (MIT, Ryan Gregory) bundles its own default pieces (defaultPieces in dist/index.esm.js). They are Cburnett drawings, with path data identical to the Commons files, but the package carries no attribution to Colin M.L. Burnett and no BSD notice. The bundle includes them whatever the board passes to pieces, so every release that bundles react-chessboard ships them, even though they are never rendered.
- Never rendered: every board passes a set from “Piece sets” in DESIGN.md through
pieces, so react-chessboard’s default pieces never appear on screen. The Cburnett set we render comes from Commons, atpackages/ui/assets/pieces/cburnett/with itsLICENSE(Task 11). - Always attributed: the Cburnett BSD-3-Clause notice and attribution on
/licensesalso cover the embedded copy, from the first release that bundles react-chessboard. - It stays: the notice remains for as long as react-chessboard is bundled, even if the default set later changes to Chessnut or the signature set, or Cburnett stops being offered.