Introduction
Introduction Statistics Contact Development Disclaimer Help
allow "startpos" for FEN for the starting position - chess-puzzles - chess puzz…
git clone git://git.codemadness.org/chess-puzzles
Log
Files
Refs
README
LICENSE
---
commit 318de62766d2fd0caa0594f939cd1b2d9d143e0a
parent d1450a9bf4d9b009733094038420a82a6872a8ae
Author: Hiltjo Posthuma <[email protected]>
Date: Tue, 19 Dec 2023 00:33:27 +0100
allow "startpos" for FEN for the starting position
Diffstat:
M fen_to_svg.c | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/fen_to_svg.c b/fen_to_svg.c
@@ -204,6 +204,9 @@ main(int argc, char *argv[])
}
fen = argv[1];
+ if (!strcmp(fen, "startpos"))
+ fen = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 …
+
moves = argv[2];
/* initial board state, FEN format */
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.