Skip to content

Latest commit

 

History

History

chess

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Chess Boards

Drawings

Rendering Repo Files Source
Initial chessboard ASCII input
SVG output
Wikipedia: Chess
Immortal Game chessboard ASCII input
SVG output
Wikipedia: Immortal Game (last position)
Kasparov's Immortal chessboard ASCII input
SVG output
Wikipedia: Karparov's Immortal (last position)

Drawings with Attack Graph

Rendering Repo Files Source
Initial chessboard ASCII input
SVG output
Wikipedia: Chess
Immortal Game chessboard ASCII input
SVG output
Wikipedia: Immortal Game (last position)
Kasparov's Immortal chessboard ASCII input
SVG output
Wikipedia: Karparov's Immortal (last position)

Mapping

  • 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
    • svgtiler.afterRender for rendering a background white rectangle
  • CoffeeScript file for rendering the graph of attacks, illustrating more advanced svgtiler.afterRender usage.

Piece Shapes

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).

Image Repo file Wikimedia link
Chess_bdt45.svg Chess_bdt45.svg
Chess_blt45.svg Chess_blt45.svg
Chess_kdt45.svg Chess_kdt45.svg
Chess_klt45.svg Chess_klt45.svg
Chess_ndt45.svg Chess_ndt45.svg
Chess_nlt45.svg Chess_nlt45.svg
Chess_pdt45.svg Chess_pdt45.svg
Chess_plt45.svg Chess_plt45.svg
Chess_qdt45.svg Chess_qdt45.svg
Chess_qlt45.svg Chess_qlt45.svg
Chess_rdt45.svg Chess_rdt45.svg
Chess_rlt45.svg Chess_rlt45.svg