A simple Java application to draw chess boards from a line.
Execute mvn -p build-docker clean package
to create the docker image of the server. When the server is launched, browsing to the following URL :
will return this image :
Query Parameter | Value | Description |
---|---|---|
lc |
RRGGBB |
Hexadecimal representation of the color for light squares |
dc |
RRGGBB |
Hexadecimal representation of the color for dark squares |
wc |
true/false |
if true the coordinates are drawn |
size |
1,2,3,4 |
Select a size for the squares (1:16px, 2:32px, 3:64px, 4:128px) |
inv |
true/false |
if true, the board is inverted (black at the bottom) |
Space character between move can be also used instead of the underscore.
All the chess pieces, used in the software, have been made by Cburnett (Own work, CC BY-SA 3.0) :
link | |
---|---|