Rendering | Repo Files | Source |
---|---|---|
ASCII input SVG output |
Wikipedia: Chess | |
ASCII input SVG output |
Wikipedia: Immortal Game (last position) |
- CoffeeScript mapping file and equivalent
JavaScript mapping file, illustrating:
- Computing the square parity to automatically shade dark squares
- Using
require
to load and modify external SVG files (strip off unnecessary<svg>
wrapper) - JSX notation for creating and composing symbols
Piece shapes are defined by unmodified SVGs from Wikimedia's Standard chess diagrams, authored by Cburnett (Colin M.L. Burnett) and licensed under BSD license (among other licenses).