<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="
http://www.w3.org/2005/Atom">
<title>chess-puzzles, branch HEAD</title>
<subtitle>chess puzzle book generator
</subtitle>
<entry>
<id>aba286b23210523ed76e012d608c3e09c65e9dad</id>
<published>2025-03-09T09:47:03Z</published>
<updated>2025-03-09T09:47:03Z</updated>
<title>improve some comments</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/aba286b23210523ed76e012d608c3e09c65e9dad.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit aba286b23210523ed76e012d608c3e09c65e9dad
parent d30b443f23a15ffab12f6a00931d979b9cfab061
Author: Hiltjo Posthuma <
[email protected]>
Date: Sun, 9 Mar 2025 10:47:03 +0100
improve some comments
</content>
</entry>
<entry>
<id>d30b443f23a15ffab12f6a00931d979b9cfab061</id>
<published>2025-03-09T09:46:12Z</published>
<updated>2025-03-09T09:46:12Z</updated>
<title>do not use ctype functions</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/d30b443f23a15ffab12f6a00931d979b9cfab061.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit d30b443f23a15ffab12f6a00931d979b9cfab061
parent 07c37ef3931e33b55aebe2561ed92d37735cabe8
Author: Hiltjo Posthuma <
[email protected]>
Date: Sun, 9 Mar 2025 10:46:12 +0100
do not use ctype functions
These can be locale-specific on some platforms.
</content>
</entry>
<entry>
<id>07c37ef3931e33b55aebe2561ed92d37735cabe8</id>
<published>2024-06-11T22:28:12Z</published>
<updated>2024-06-11T22:28:12Z</updated>
<title>tests.sh: add a few more tests for ambigous moves (files and ranks)</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/07c37ef3931e33b55aebe2561ed92d37735cabe8.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 07c37ef3931e33b55aebe2561ed92d37735cabe8
parent 887918beab1aba026f2c228bb8ef770d420d338e
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 12 Jun 2024 00:28:12 +0200
tests.sh: add a few more tests for ambigous moves (files and ranks)
</content>
</entry>
<entry>
<id>887918beab1aba026f2c228bb8ef770d420d338e</id>
<published>2024-06-11T13:42:26Z</published>
<updated>2024-06-11T13:44:25Z</updated>
<title>fix notating files and rank for piece moves</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/887918beab1aba026f2c228bb8ef770d420d338e.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 887918beab1aba026f2c228bb8ef770d420d338e
parent 32c2e6a2c44fba3b0242123894dcacf79f59578f
Author: Hiltjo Posthuma <
[email protected]>
Date: Tue, 11 Jun 2024 15:42:26 +0200
fix notating files and rank for piece moves
Do not notate files and ranks for pawn moves (requires only file).
Do not allow to output the same file twice.
</content>
</entry>
<entry>
<id>32c2e6a2c44fba3b0242123894dcacf79f59578f</id>
<published>2024-06-11T13:41:46Z</published>
<updated>2024-06-11T13:44:25Z</updated>
<title>fix incorrect check of enpassant square (x -> y) for checks/checkmate</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/32c2e6a2c44fba3b0242123894dcacf79f59578f.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 32c2e6a2c44fba3b0242123894dcacf79f59578f
parent 13632b938c00ed21681a7bde25d8c119666524b8
Author: Hiltjo Posthuma <
[email protected]>
Date: Tue, 11 Jun 2024 15:41:46 +0200
fix incorrect check of enpassant square (x -> y) for checks/checkmate
</content>
</entry>
<entry>
<id>13632b938c00ed21681a7bde25d8c119666524b8</id>
<published>2024-06-11T13:41:20Z</published>
<updated>2024-06-11T13:44:22Z</updated>
<title>add 2 tests and log errors to stderr</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/13632b938c00ed21681a7bde25d8c119666524b8.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 13632b938c00ed21681a7bde25d8c119666524b8
parent b157d49005e4d9fd2e5e979b72a1e222e21fdec3
Author: Hiltjo Posthuma <
[email protected]>
Date: Tue, 11 Jun 2024 15:41:20 +0200
add 2 tests and log errors to stderr
</content>
</entry>
<entry>
<id>b157d49005e4d9fd2e5e979b72a1e222e21fdec3</id>
<published>2024-02-29T18:02:30Z</published>
<updated>2024-02-29T18:02:30Z</updated>
<title>add option to not highlight the last played move or checks or checkmates</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/b157d49005e4d9fd2e5e979b72a1e222e21fdec3.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit b157d49005e4d9fd2e5e979b72a1e222e21fdec3
parent 52d9636da4a82de476f21b1c61de8b7570f96c92
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 29 Feb 2024 19:02:30 +0100
add option to not highlight the last played move or checks or checkmates
This is better for puzzles/training. Sometimes the last played move gives a
hint of a blunder etc.
This adds an extra challenge to analyze more properties of the position.
</content>
</entry>
<entry>
<id>52d9636da4a82de476f21b1c61de8b7570f96c92</id>
<published>2024-01-31T20:09:22Z</published>
<updated>2024-01-31T20:09:22Z</updated>
<title>add love theme and valentine puzzles</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/52d9636da4a82de476f21b1c61de8b7570f96c92.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 52d9636da4a82de476f21b1c61de8b7570f96c92
parent 208dbcea3dd150fb2eb4ef1a8469acf9df2940ab
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 31 Jan 2024 21:09:22 +0100
add love theme and valentine puzzles
</content>
</entry>
<entry>
<id>208dbcea3dd150fb2eb4ef1a8469acf9df2940ab</id>
<published>2024-01-28T12:24:42Z</published>
<updated>2024-01-28T12:24:42Z</updated>
<title>remove TODO</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/208dbcea3dd150fb2eb4ef1a8469acf9df2940ab.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 208dbcea3dd150fb2eb4ef1a8469acf9df2940ab
parent 8f1c842cc8cc6ef6a5b8f6020a94d54a83f21542
Author: Hiltjo Posthuma <
[email protected]>
Date: Sun, 28 Jan 2024 13:24:42 +0100
remove TODO
</content>
</entry>
<entry>
<id>8f1c842cc8cc6ef6a5b8f6020a94d54a83f21542</id>
<published>2024-01-28T12:23:20Z</published>
<updated>2024-01-28T12:23:20Z</updated>
<title>tests.sh: remove duplicate tested entries</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/8f1c842cc8cc6ef6a5b8f6020a94d54a83f21542.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 8f1c842cc8cc6ef6a5b8f6020a94d54a83f21542
parent 4edab675e79782ae15324c3a890c87068521b999
Author: Hiltjo Posthuma <
[email protected]>
Date: Sun, 28 Jan 2024 13:23:20 +0100
tests.sh: remove duplicate tested entries
</content>
</entry>
<entry>
<id>4edab675e79782ae15324c3a890c87068521b999</id>
<published>2024-01-27T20:02:21Z</published>
<updated>2024-01-27T20:02:21Z</updated>
<title>test all possible castling positions</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/4edab675e79782ae15324c3a890c87068521b999.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 4edab675e79782ae15324c3a890c87068521b999
parent 551d1075b050556fafd5ff8c86e0b3a92bbbda46
Author: Hiltjo Posthuma <
[email protected]>
Date: Sat, 27 Jan 2024 21:02:21 +0100
test all possible castling positions
Castling is perfect now, except for illegal UCI moves.
</content>
</entry>
<entry>
<id>551d1075b050556fafd5ff8c86e0b3a92bbbda46</id>
<published>2024-01-27T20:00:45Z</published>
<updated>2024-01-27T20:00:45Z</updated>
<title>fen.c: fix castling for chess960</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/551d1075b050556fafd5ff8c86e0b3a92bbbda46.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 551d1075b050556fafd5ff8c86e0b3a92bbbda46
parent bf941d069fdc94c7157de62e737e9f305a751b5b
Author: Hiltjo Posthuma <
[email protected]>
Date: Sat, 27 Jan 2024 21:00:45 +0100
fen.c: fix castling for chess960
</content>
</entry>
<entry>
<id>bf941d069fdc94c7157de62e737e9f305a751b5b</id>
<published>2024-01-27T19:22:18Z</published>
<updated>2024-01-27T19:22:18Z</updated>
<title>initial stub for new castling tests</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/bf941d069fdc94c7157de62e737e9f305a751b5b.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit bf941d069fdc94c7157de62e737e9f305a751b5b
parent 78e1ed61ec461637e664b9527f002e232f30ca6e
Author: Hiltjo Posthuma <
[email protected]>
Date: Sat, 27 Jan 2024 20:22:18 +0100
initial stub for new castling tests
</content>
</entry>
<entry>
<id>78e1ed61ec461637e664b9527f002e232f30ca6e</id>
<published>2024-01-22T19:28:16Z</published>
<updated>2024-01-22T19:28:16Z</updated>
<title>some improvements</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/78e1ed61ec461637e664b9527f002e232f30ca6e.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 78e1ed61ec461637e664b9527f002e232f30ca6e
parent e62dd220612aaada2231586e9c00845700bf4949
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 22 Jan 2024 20:28:16 +0100
some improvements
- be less strict about parsing UCI moves, just space-separated
- add script to quickly convert PGN to gif, using pgn-extract.
- improve some comments.
- move scripts to root dir.
</content>
</entry>
<entry>
<id>e62dd220612aaada2231586e9c00845700bf4949</id>
<published>2024-01-22T18:56:19Z</published>
<updated>2024-01-22T18:56:19Z</updated>
<title>tests.sh: add a few more castle tests</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/e62dd220612aaada2231586e9c00845700bf4949.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit e62dd220612aaada2231586e9c00845700bf4949
parent bcb9d6c7bd496cd907cd960f599eb8d19730973d
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 22 Jan 2024 19:56:19 +0100
tests.sh: add a few more castle tests
update TODO
</content>
</entry>
<entry>
<id>bcb9d6c7bd496cd907cd960f599eb8d19730973d</id>
<published>2024-01-22T18:42:53Z</published>
<updated>2024-01-22T18:42:53Z</updated>
<title>docs: archive table with chess960 starting positions</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/bcb9d6c7bd496cd907cd960f599eb8d19730973d.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit bcb9d6c7bd496cd907cd960f599eb8d19730973d
parent 3ee1d913ba6bcafbf4647c86d45aaf958954793e
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 22 Jan 2024 19:42:53 +0100
docs: archive table with chess960 starting positions
</content>
</entry>
<entry>
<id>3ee1d913ba6bcafbf4647c86d45aaf958954793e</id>
<published>2024-01-22T18:28:32Z</published>
<updated>2024-01-22T18:28:32Z</updated>
<title>add a separate script to generate a gif or tty animation from FEN + moves</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/3ee1d913ba6bcafbf4647c86d45aaf958954793e.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 3ee1d913ba6bcafbf4647c86d45aaf958954793e
parent 5bf484cc8a074778fe73a54541288119dd207822
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 22 Jan 2024 19:28:32 +0100
add a separate script to generate a gif or tty animation from FEN + moves
</content>
</entry>
<entry>
<id>5bf484cc8a074778fe73a54541288119dd207822</id>
<published>2024-01-22T00:36:43Z</published>
<updated>2024-01-22T00:36:43Z</updated>
<title>fen.c: improve more subtle things in chess960 castling</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/5bf484cc8a074778fe73a54541288119dd207822.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 5bf484cc8a074778fe73a54541288119dd207822
parent 34e46a6fdd7cddde422a6b75c285879951d540e9
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 22 Jan 2024 01:36:43 +0100
fen.c: improve more subtle things in chess960 castling
</content>
</entry>
<entry>
<id>34e46a6fdd7cddde422a6b75c285879951d540e9</id>
<published>2024-01-22T00:09:24Z</published>
<updated>2024-01-22T00:09:24Z</updated>
<title>generate.sh: fix to detect possible rook promotion and support uppercase</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/34e46a6fdd7cddde422a6b75c285879951d540e9.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 34e46a6fdd7cddde422a6b75c285879951d540e9
parent 0dcd2f065cb678018fb2e30055550987705a09c5
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 22 Jan 2024 01:09:24 +0100
generate.sh: fix to detect possible rook promotion and support uppercase
</content>
</entry>
<entry>
<id>0dcd2f065cb678018fb2e30055550987705a09c5</id>
<published>2024-01-22T00:07:15Z</published>
<updated>2024-01-22T00:07:27Z</updated>
<title>tests.sh: add some more castling and chess960 PGN tests</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/0dcd2f065cb678018fb2e30055550987705a09c5.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 0dcd2f065cb678018fb2e30055550987705a09c5
parent 14096028aee533f132200b020687e1ce3884105b
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 22 Jan 2024 01:07:15 +0100
tests.sh: add some more castling and chess960 PGN tests
</content>
</entry>
<entry>
<id>14096028aee533f132200b020687e1ce3884105b</id>
<published>2024-01-22T00:04:59Z</published>
<updated>2024-01-22T00:07:25Z</updated>
<title>fen.c: simplify castling code</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/14096028aee533f132200b020687e1ce3884105b.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 14096028aee533f132200b020687e1ce3884105b
parent 3ccf4d4450965cc2853d9cbc8b81b75cfd44660a
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 22 Jan 2024 01:04:59 +0100
fen.c: simplify castling code
</content>
</entry>
<entry>
<id>3ccf4d4450965cc2853d9cbc8b81b75cfd44660a</id>
<published>2024-01-21T23:55:15Z</published>
<updated>2024-01-21T23:55:15Z</updated>
<title>fen.c: fix highlight square when castling</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/3ccf4d4450965cc2853d9cbc8b81b75cfd44660a.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 3ccf4d4450965cc2853d9cbc8b81b75cfd44660a
parent 7915ffd10d87934201c751632a4e1dd4c3cb65cb
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 22 Jan 2024 00:55:15 +0100
fen.c: fix highlight square when castling
</content>
</entry>
<entry>
<id>7915ffd10d87934201c751632a4e1dd4c3cb65cb</id>
<published>2024-01-21T23:55:02Z</published>
<updated>2024-01-21T23:55:02Z</updated>
<title>fen.c: improve castling with chess960</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/7915ffd10d87934201c751632a4e1dd4c3cb65cb.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 7915ffd10d87934201c751632a4e1dd4c3cb65cb
parent 37c4fe7bb023a2537fd8221042a9b62086c6532b
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 22 Jan 2024 00:55:02 +0100
fen.c: improve castling with chess960
</content>
</entry>
<entry>
<id>37c4fe7bb023a2537fd8221042a9b62086c6532b</id>
<published>2024-01-14T19:30:56Z</published>
<updated>2024-01-14T19:30:56Z</updated>
<title>fen.c: fix a typo</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/37c4fe7bb023a2537fd8221042a9b62086c6532b.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 37c4fe7bb023a2537fd8221042a9b62086c6532b
parent 62500fd8c67b353a43bad026d0f730eccbd90b47
Author: Hiltjo Posthuma <
[email protected]>
Date: Sun, 14 Jan 2024 20:30:56 +0100
fen.c: fix a typo
</content>
</entry>
<entry>
<id>62500fd8c67b353a43bad026d0f730eccbd90b47</id>
<published>2024-01-14T18:23:25Z</published>
<updated>2024-01-14T18:23:25Z</updated>
<title>improve documentation and reference the pgn-extract tool</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/62500fd8c67b353a43bad026d0f730eccbd90b47.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 62500fd8c67b353a43bad026d0f730eccbd90b47
parent e34a8cc5befa1d22f9468bb9169113acb84ef6f8
Author: Hiltjo Posthuma <
[email protected]>
Date: Sun, 14 Jan 2024 19:23:25 +0100
improve documentation and reference the pgn-extract tool
</content>
</entry>
<entry>
<id>e34a8cc5befa1d22f9468bb9169113acb84ef6f8</id>
<published>2024-01-14T18:17:10Z</published>
<updated>2024-01-14T18:17:10Z</updated>
<title>test.sh: add more promotion tests and fixup for case if input is incorrect</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/e34a8cc5befa1d22f9468bb9169113acb84ef6f8.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit e34a8cc5befa1d22f9468bb9169113acb84ef6f8
parent a7b46089306de698b20b0400a8ec9f3ccda3f729
Author: Hiltjo Posthuma <
[email protected]>
Date: Sun, 14 Jan 2024 19:17:10 +0100
test.sh: add more promotion tests and fixup for case if input is incorrect
</content>
</entry>
<entry>
<id>a7b46089306de698b20b0400a8ec9f3ccda3f729</id>
<published>2024-01-14T18:09:38Z</published>
<updated>2024-01-14T18:09:38Z</updated>
<title>fen.c: fix promotion to rook, fix regression in promotion and PGN output for it</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/a7b46089306de698b20b0400a8ec9f3ccda3f729.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit a7b46089306de698b20b0400a8ec9f3ccda3f729
parent c569951f00bbd5517962401c1f090cac6a99a8c5
Author: Hiltjo Posthuma <
[email protected]>
Date: Sun, 14 Jan 2024 19:09:38 +0100
fen.c: fix promotion to rook, fix regression in promotion and PGN output for it
</content>
</entry>
<entry>
<id>c569951f00bbd5517962401c1f090cac6a99a8c5</id>
<published>2024-01-08T21:01:09Z</published>
<updated>2024-01-08T21:03:56Z</updated>
<title>update TODO</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/c569951f00bbd5517962401c1f090cac6a99a8c5.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit c569951f00bbd5517962401c1f090cac6a99a8c5
parent 79add5ed63f4c15703b14bfa3209d5046f8ebb3f
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 8 Jan 2024 22:01:09 +0100
update TODO
</content>
</entry>
<entry>
<id>79add5ed63f4c15703b14bfa3209d5046f8ebb3f</id>
<published>2024-01-08T20:55:31Z</published>
<updated>2024-01-08T21:03:56Z</updated>
<title>fen.c: remove unneccesary check</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/79add5ed63f4c15703b14bfa3209d5046f8ebb3f.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 79add5ed63f4c15703b14bfa3209d5046f8ebb3f
parent abc52654a913253417dcd329cf70a975f8674dd6
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 8 Jan 2024 21:55:31 +0100
fen.c: remove unneccesary check
</content>
</entry>
<entry>
<id>abc52654a913253417dcd329cf70a975f8674dd6</id>
<published>2024-01-08T20:54:24Z</published>
<updated>2024-01-08T21:03:53Z</updated>
<title>fen.c: fix invalid piece name for queenside castling for black</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/abc52654a913253417dcd329cf70a975f8674dd6.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit abc52654a913253417dcd329cf70a975f8674dd6
parent df3a95f12df8a701ed0ad5997be6ad5c3f840bda
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 8 Jan 2024 21:54:24 +0100
fen.c: fix invalid piece name for queenside castling for black
This probably affects queenside castling for black with Chess960 and certain
combinations (rook very close next to king).
(Writing more Chess960 and castling tests is on my TODO already.)
</content>
</entry>
<entry>
<id>df3a95f12df8a701ed0ad5997be6ad5c3f840bda</id>
<published>2024-01-08T20:50:26Z</published>
<updated>2024-01-08T20:51:34Z</updated>
<title>small code-cleanup and add some comments</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/df3a95f12df8a701ed0ad5997be6ad5c3f840bda.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit df3a95f12df8a701ed0ad5997be6ad5c3f840bda
parent da65c61271ad6e8eb3fde5a8e828ed4d2c882fb2
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 8 Jan 2024 21:50:26 +0100
small code-cleanup and add some comments
</content>
</entry>
<entry>
<id>da65c61271ad6e8eb3fde5a8e828ed4d2c882fb2</id>
<published>2024-01-08T20:36:42Z</published>
<updated>2024-01-08T20:36:42Z</updated>
<title>fen.c: CGI mode: write output header before play moves</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/da65c61271ad6e8eb3fde5a8e828ed4d2c882fb2.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit da65c61271ad6e8eb3fde5a8e828ed4d2c882fb2
parent 2037128c8c5a1527bddad29041660177a1cee999
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 8 Jan 2024 21:36:42 +0100
fen.c: CGI mode: write output header before play moves
.. else PGN output will be before the header is written.
</content>
</entry>
<entry>
<id>2037128c8c5a1527bddad29041660177a1cee999</id>
<published>2024-01-08T20:36:15Z</published>
<updated>2024-01-08T20:36:15Z</updated>
<title>fen.c: CGI mode, add dutch mode parameter, will also set piece mapping</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/2037128c8c5a1527bddad29041660177a1cee999.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 2037128c8c5a1527bddad29041660177a1cee999
parent 5f6b743ef448f1d096d01ffafe4d112e47768a2f
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 8 Jan 2024 21:36:15 +0100
fen.c: CGI mode, add dutch mode parameter, will also set piece mapping
</content>
</entry>
<entry>
<id>5f6b743ef448f1d096d01ffafe4d112e47768a2f</id>
<published>2024-01-07T14:51:17Z</published>
<updated>2024-01-07T14:51:17Z</updated>
<title>tests.sh: add 2 tests</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/5f6b743ef448f1d096d01ffafe4d112e47768a2f.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 5f6b743ef448f1d096d01ffafe4d112e47768a2f
parent 1f750e11a33213399d0ae7f8817d52f35cc8b6b8
Author: Hiltjo Posthuma <
[email protected]>
Date: Sun, 7 Jan 2024 15:51:17 +0100
tests.sh: add 2 tests
</content>
</entry>
<entry>
<id>1f750e11a33213399d0ae7f8817d52f35cc8b6b8</id>
<published>2024-01-06T14:40:35Z</published>
<updated>2024-01-06T14:42:33Z</updated>
<title>various improvements and features</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/1f750e11a33213399d0ae7f8817d52f35cc8b6b8.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 1f750e11a33213399d0ae7f8817d52f35cc8b6b8
parent 0fe1f6ac19819dd3954b8520db31a66f76d7cf87
Author: Hiltjo Posthuma <
[email protected]>
Date: Sat, 6 Jan 2024 15:40:35 +0100
various improvements and features
.. do all the things and do them meh.
- ambigous moves improvements and fixes.
- add "speak" mode, describe a move in human-like language (dutch and english).
- add -l option to only output the PGN or description of the last move, useful
for speech engines.
- FEN output: reset en passant square on checkmate (like Lichess does).
- lichess stream script: add description of the move and use espeak to say it.
- add a page of the puzzles intended for the tty (index.vt).
- index.html improvements:
- CSS tweaks to better align 2 puzzles in the center.
- hyperlink color.
- add simple plain-text listing in solutions.txt file.
- add title and alt of the solutions moves in PGN and as a description.
- tests:
- add more of them.
- return exitcode 0 or 1 on a failure.
- prefix type of test: PGN or FEN.
</content>
</entry>
<entry>
<id>0fe1f6ac19819dd3954b8520db31a66f76d7cf87</id>
<published>2024-01-04T20:03:31Z</published>
<updated>2024-01-04T20:03:31Z</updated>
<title>update TODO and failing tests</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/0fe1f6ac19819dd3954b8520db31a66f76d7cf87.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 0fe1f6ac19819dd3954b8520db31a66f76d7cf87
parent 6554fcb56e12be089dbbf0e700f6777924e8b5b6
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 4 Jan 2024 21:03:31 +0100
update TODO and failing tests
This is an edge-case to defend en passant. Fix it later.
2 tests are succeeding, but this is because it is not implemented.
</content>
</entry>
<entry>
<id>6554fcb56e12be089dbbf0e700f6777924e8b5b6</id>
<published>2024-01-04T16:04:22Z</published>
<updated>2024-01-04T16:04:48Z</updated>
<title>enable output options for the CGI mode</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/6554fcb56e12be089dbbf0e700f6777924e8b5b6.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 6554fcb56e12be089dbbf0e700f6777924e8b5b6
parent cd3acc17b7b82e112bd5abbc65324283a7c5bf7f
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 4 Jan 2024 17:04:22 +0100
enable output options for the CGI mode
</content>
</entry>
<entry>
<id>cd3acc17b7b82e112bd5abbc65324283a7c5bf7f</id>
<published>2024-01-04T15:44:29Z</published>
<updated>2024-01-04T15:44:29Z</updated>
<title>various improvements</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/cd3acc17b7b82e112bd5abbc65324283a7c5bf7f.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit cd3acc17b7b82e112bd5abbc65324283a7c5bf7f
parent f1daa80c1d6cf199c57d820e117255f38bd3d55e
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 4 Jan 2024 16:44:29 +0100
various improvements
Some are:
* Colour themes.
* Initial PGN output.
* PGN piece localization.
* generate.sh: dutch localization.
* Highlight check or checkmate in red.
* Add a struct board and localize states.
* Add a CGI mode.
* Lichess example script, show more information about the players.
* Add dark mode CSS.
* Add a script to generate animated gifs for solutions.
* Documentation improvements.
* Many bugfixes.
</content>
</entry>
<entry>
<id>f1daa80c1d6cf199c57d820e117255f38bd3d55e</id>
<published>2023-12-25T17:54:16Z</published>
<updated>2023-12-25T17:54:16Z</updated>
<title>add LEN() macro and use it</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/f1daa80c1d6cf199c57d820e117255f38bd3d55e.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit f1daa80c1d6cf199c57d820e117255f38bd3d55e
parent 6af435b4416d90cb27e447e2f0bf505721374e12
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 25 Dec 2023 18:54:16 +0100
add LEN() macro and use it
</content>
</entry>
<entry>
<id>6af435b4416d90cb27e447e2f0bf505721374e12</id>
<published>2023-12-25T17:49:58Z</published>
<updated>2023-12-25T17:49:58Z</updated>
<title>add util functions for (x,y) to (file, rank) and vice versa</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/6af435b4416d90cb27e447e2f0bf505721374e12.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 6af435b4416d90cb27e447e2f0bf505721374e12
parent b7a52ecde26555a060898faaa5643851368c7467
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 25 Dec 2023 18:49:58 +0100
add util functions for (x,y) to (file, rank) and vice versa
</content>
</entry>
<entry>
<id>b7a52ecde26555a060898faaa5643851368c7467</id>
<published>2023-12-24T10:51:14Z</published>
<updated>2023-12-24T10:51:14Z</updated>
<title>fen.1: comment pgn option for now, it is disabled</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/b7a52ecde26555a060898faaa5643851368c7467.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit b7a52ecde26555a060898faaa5643851368c7467
parent 9a70ccee5e9c5462e079304c3521c2c7640bf51d
Author: Hiltjo Posthuma <
[email protected]>
Date: Sun, 24 Dec 2023 11:51:14 +0100
fen.1: comment pgn option for now, it is disabled
</content>
</entry>
<entry>
<id>9a70ccee5e9c5462e079304c3521c2c7640bf51d</id>
<published>2023-12-24T10:38:26Z</published>
<updated>2023-12-24T10:38:26Z</updated>
<title>fen.c: reduce filesize of SVG further</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/9a70ccee5e9c5462e079304c3521c2c7640bf51d.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 9a70ccee5e9c5462e079304c3521c2c7640bf51d
parent e536a441d52c33adea06f8ed451bd890a3ebdb9d
Author: Hiltjo Posthuma <
[email protected]>
Date: Sun, 24 Dec 2023 11:38:26 +0100
fen.c: reduce filesize of SVG further
Only define drawing commands for the pieces used. Reuse them for multiple
pieces.
The pawn definition is reused, but with a different fill color.
</content>
</entry>
<entry>
<id>e536a441d52c33adea06f8ed451bd890a3ebdb9d</id>
<published>2023-12-23T17:59:46Z</published>
<updated>2023-12-23T17:59:46Z</updated>
<title>fen: various code improvements, initial code for PGN output (disabled for now)</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/e536a441d52c33adea06f8ed451bd890a3ebdb9d.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit e536a441d52c33adea06f8ed451bd890a3ebdb9d
parent 4f6db6f748b3760f1f991e46bbb37246d201d4c8
Author: Hiltjo Posthuma <
[email protected]>
Date: Sat, 23 Dec 2023 18:59:46 +0100
fen: various code improvements, initial code for PGN output (disabled for now)
- Reduce SVG output size by reusing the draw paths for pawns (saves ~4KB per
image on average). Of course this depends. On a board with no pawns it can be
~300 bytes larger.
- Remove Board FEN header for tty and ASCII outputs.
- Make the highlight function more generic (for one move).
- Improve outputs parsing, an invalid option now shows the usage().
- Rename the output functions to output_<outputname>().
- Add initial code for PGN output, needs some work, disabled for now.
.. work in progress
</content>
</entry>
<entry>
<id>4f6db6f748b3760f1f991e46bbb37246d201d4c8</id>
<published>2023-12-21T21:45:17Z</published>
<updated>2023-12-21T21:46:26Z</updated>
<title>stream_lichess.sh: read initial FEN for chess960, show white vs black name</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/4f6db6f748b3760f1f991e46bbb37246d201d4c8.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 4f6db6f748b3760f1f991e46bbb37246d201d4c8
parent aa7a4692fb14c40930fde876585a70a88b76b3e2
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 21 Dec 2023 22:45:17 +0100
stream_lichess.sh: read initial FEN for chess960, show white vs black name
</content>
</entry>
<entry>
<id>aa7a4692fb14c40930fde876585a70a88b76b3e2</id>
<published>2023-12-21T21:20:34Z</published>
<updated>2023-12-21T21:38:31Z</updated>
<title>improve tests and label them</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/aa7a4692fb14c40930fde876585a70a88b76b3e2.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit aa7a4692fb14c40930fde876585a70a88b76b3e2
parent 35cfce88175a31ca9b1db67e70575f66182d8ab2
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 21 Dec 2023 22:20:34 +0100
improve tests and label them
</content>
</entry>
<entry>
<id>35cfce88175a31ca9b1db67e70575f66182d8ab2</id>
<published>2023-12-21T21:19:16Z</published>
<updated>2023-12-21T21:35:51Z</updated>
<title>fen.c: improve castling for chess960</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/35cfce88175a31ca9b1db67e70575f66182d8ab2.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 35cfce88175a31ca9b1db67e70575f66182d8ab2
parent cb828aa3fa341d3af5e9338132497cf49671369f
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 21 Dec 2023 22:19:16 +0100
fen.c: improve castling for chess960
In chess960 you can castle right next to the king also.
This is handled in the code by "taking a piece", although this is of course
your own piece.
Note that this doesn't reset the halfmove counter.
</content>
</entry>
<entry>
<id>cb828aa3fa341d3af5e9338132497cf49671369f</id>
<published>2023-12-21T19:29:26Z</published>
<updated>2023-12-21T19:29:26Z</updated>
<title>generate.sh: only show cursor when solutions are collapsed</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/cb828aa3fa341d3af5e9338132497cf49671369f.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit cb828aa3fa341d3af5e9338132497cf49671369f
parent 10ce46bdd74256d98eec084142787f40730c582d
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 21 Dec 2023 20:29:26 +0100
generate.sh: only show cursor when solutions are collapsed
.. not on all the puzzle solutions contained within.
</content>
</entry>
<entry>
<id>10ce46bdd74256d98eec084142787f40730c582d</id>
<published>2023-12-21T19:27:17Z</published>
<updated>2023-12-21T19:27:17Z</updated>
<title>generate.sh: fix last puzzles, some usability improvements</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/10ce46bdd74256d98eec084142787f40730c582d.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 10ce46bdd74256d98eec084142787f40730c582d
parent 2046625e2948b915fb5f7b6244e54f79cf2c2a8a
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 21 Dec 2023 20:27:17 +0100
generate.sh: fix last puzzles, some usability improvements
</content>
</entry>
<entry>
<id>2046625e2948b915fb5f7b6244e54f79cf2c2a8a</id>
<published>2023-12-21T18:57:04Z</published>
<updated>2023-12-21T19:15:37Z</updated>
<title>fen.c: optimization for size: do not use true-color where its not needed</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/2046625e2948b915fb5f7b6244e54f79cf2c2a8a.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 2046625e2948b915fb5f7b6244e54f79cf2c2a8a
parent 2f8f9b16e1834cdd577d590efc51be17f3013585
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 21 Dec 2023 19:57:04 +0100
fen.c: optimization for size: do not use true-color where its not needed
- Reduces file size.
- Simplify creating a checkered pattern.
</content>
</entry>
<entry>
<id>2f8f9b16e1834cdd577d590efc51be17f3013585</id>
<published>2023-12-21T17:27:41Z</published>
<updated>2023-12-21T17:27:41Z</updated>
<title>fen.c: code cleanup: separate parsing FEN and moves in 2 functions</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/2f8f9b16e1834cdd577d590efc51be17f3013585.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 2f8f9b16e1834cdd577d590efc51be17f3013585
parent 752c96801f72527cf5bc3faab7ad7d1d7889ddbf
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 21 Dec 2023 18:27:41 +0100
fen.c: code cleanup: separate parsing FEN and moves in 2 functions
</content>
</entry>
<entry>
<id>752c96801f72527cf5bc3faab7ad7d1d7889ddbf</id>
<published>2023-12-21T17:17:34Z</published>
<updated>2023-12-21T17:17:34Z</updated>
<title>update TODO</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/752c96801f72527cf5bc3faab7ad7d1d7889ddbf.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 752c96801f72527cf5bc3faab7ad7d1d7889ddbf
parent 4d582297eea29262d3ed81b786c28276e006589f
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 21 Dec 2023 18:17:34 +0100
update TODO
</content>
</entry>
<entry>
<id>4d582297eea29262d3ed81b786c28276e006589f</id>
<published>2023-12-21T17:15:09Z</published>
<updated>2023-12-21T17:15:09Z</updated>
<title>improve man page documentation</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/4d582297eea29262d3ed81b786c28276e006589f.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 4d582297eea29262d3ed81b786c28276e006589f
parent 667fa14261d797a2c04938992a4efa5061e558a2
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 21 Dec 2023 18:15:09 +0100
improve man page documentation
</content>
</entry>
<entry>
<id>667fa14261d797a2c04938992a4efa5061e558a2</id>
<published>2023-12-21T17:14:27Z</published>
<updated>2023-12-21T17:14:27Z</updated>
<title>generate.sh: improve portability and performance, use randomness using a seed</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/667fa14261d797a2c04938992a4efa5061e558a2.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 667fa14261d797a2c04938992a4efa5061e558a2
parent b9e10f90912e4d6c82e4a4738a2fcdbd77b0d6db
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 21 Dec 2023 18:14:27 +0100
generate.sh: improve portability and performance, use randomness using a seed
- Replace shuf with a custom shuffling using awk and sort -R.
- Use a random seed to generate random, but in a deterministic way.
Allows regenerating the same output (atleast on the same machine).
- Generating the puzzles is faster, tested on a machine: 10s to 3.5s
- Show an error message when the CSV database file doesn't exist yet.
</content>
</entry>
<entry>
<id>b9e10f90912e4d6c82e4a4738a2fcdbd77b0d6db</id>
<published>2023-12-21T16:58:13Z</published>
<updated>2023-12-21T16:58:13Z</updated>
<title>improve check for castling and castling availability</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/b9e10f90912e4d6c82e4a4738a2fcdbd77b0d6db.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit b9e10f90912e4d6c82e4a4738a2fcdbd77b0d6db
parent 526df2437b7f656c5f7f68f207478dd2ee15db53
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 21 Dec 2023 17:58:13 +0100
improve check for castling and castling availability
This improves compatibility with chess960.
</content>
</entry>
<entry>
<id>526df2437b7f656c5f7f68f207478dd2ee15db53</id>
<published>2023-12-20T23:56:37Z</published>
<updated>2023-12-20T23:56:37Z</updated>
<title>tty output: remove some unneeded/double escape codes</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/526df2437b7f656c5f7f68f207478dd2ee15db53.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 526df2437b7f656c5f7f68f207478dd2ee15db53
parent 7ec50aca8a290c15c92a71fde6dc99977330ea10
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 21 Dec 2023 00:56:37 +0100
tty output: remove some unneeded/double escape codes
</content>
</entry>
<entry>
<id>7ec50aca8a290c15c92a71fde6dc99977330ea10</id>
<published>2023-12-20T23:48:01Z</published>
<updated>2023-12-20T23:48:01Z</updated>
<title>update README</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/7ec50aca8a290c15c92a71fde6dc99977330ea10.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 7ec50aca8a290c15c92a71fde6dc99977330ea10
parent 1a4ecae770df28922372ddc0a2e60cc173237a68
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 21 Dec 2023 00:48:01 +0100
update README
</content>
</entry>
<entry>
<id>1a4ecae770df28922372ddc0a2e60cc173237a68</id>
<published>2023-12-20T23:38:18Z</published>
<updated>2023-12-20T23:38:18Z</updated>
<title>fen.1: fix a typo</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/1a4ecae770df28922372ddc0a2e60cc173237a68.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 1a4ecae770df28922372ddc0a2e60cc173237a68
parent 377132fbd774962230e6980b376de721f2ec467e
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 21 Dec 2023 00:38:18 +0100
fen.1: fix a typo
</content>
</entry>
<entry>
<id>377132fbd774962230e6980b376de721f2ec467e</id>
<published>2023-12-20T23:33:07Z</published>
<updated>2023-12-20T23:36:50Z</updated>
<title>update TODO</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/377132fbd774962230e6980b376de721f2ec467e.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 377132fbd774962230e6980b376de721f2ec467e
parent 0d2f03825dce77e698f85d349ff7d35e72031f6d
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 21 Dec 2023 00:33:07 +0100
update TODO
</content>
</entry>
<entry>
<id>0d2f03825dce77e698f85d349ff7d35e72031f6d</id>
<published>2023-12-20T23:32:41Z</published>
<updated>2023-12-20T23:36:50Z</updated>
<title>improve tty board border size a bit</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/0d2f03825dce77e698f85d349ff7d35e72031f6d.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 0d2f03825dce77e698f85d349ff7d35e72031f6d
parent d3c8592f3761018e4fac3ba37503f432cb1dda1f
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 21 Dec 2023 00:32:41 +0100
improve tty board border size a bit
</content>
</entry>
<entry>
<id>d3c8592f3761018e4fac3ba37503f432cb1dda1f</id>
<published>2023-12-20T23:24:03Z</published>
<updated>2023-12-20T23:36:46Z</updated>
<title>add a script to stream a lichess game using the FEN tty output</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/d3c8592f3761018e4fac3ba37503f432cb1dda1f.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit d3c8592f3761018e4fac3ba37503f432cb1dda1f
parent 528629a967639e013c56fee9c293b7b87376d15e
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 21 Dec 2023 00:24:03 +0100
add a script to stream a lichess game using the FEN tty output
</content>
</entry>
<entry>
<id>528629a967639e013c56fee9c293b7b87376d15e</id>
<published>2023-12-20T23:20:34Z</published>
<updated>2023-12-20T23:20:34Z</updated>
<title>fen.1: add initial man page</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/528629a967639e013c56fee9c293b7b87376d15e.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 528629a967639e013c56fee9c293b7b87376d15e
parent 212c82b75fc13feab19a991ac284ab92e3c352ff
Author: Hiltjo Posthuma <
[email protected]>
Date: Thu, 21 Dec 2023 00:20:34 +0100
fen.1: add initial man page
</content>
</entry>
<entry>
<id>212c82b75fc13feab19a991ac284ab92e3c352ff</id>
<published>2023-12-20T22:55:54Z</published>
<updated>2023-12-20T22:55:54Z</updated>
<title>en passant should reset halfmove counter</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/212c82b75fc13feab19a991ac284ab92e3c352ff.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 212c82b75fc13feab19a991ac284ab92e3c352ff
parent 10e231516543327f556abc8b73c31c1e114ede48
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 20 Dec 2023 23:55:54 +0100
en passant should reset halfmove counter
Add this test separately, just in case.
</content>
</entry>
<entry>
<id>10e231516543327f556abc8b73c31c1e114ede48</id>
<published>2023-12-20T22:53:58Z</published>
<updated>2023-12-20T22:53:58Z</updated>
<title>fix a bug in FEN en passant parsing, handle en passant takes</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/10e231516543327f556abc8b73c31c1e114ede48.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 10e231516543327f556abc8b73c31c1e114ede48
parent f2415a87c11df764bacefa67d70efd1c57bd66ff
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 20 Dec 2023 23:53:58 +0100
fix a bug in FEN en passant parsing, handle en passant takes
Add a few tests for them.
</content>
</entry>
<entry>
<id>f2415a87c11df764bacefa67d70efd1c57bd66ff</id>
<published>2023-12-20T21:46:22Z</published>
<updated>2023-12-20T21:46:22Z</updated>
<title>update README</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/f2415a87c11df764bacefa67d70efd1c57bd66ff.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit f2415a87c11df764bacefa67d70efd1c57bd66ff
parent d9c1c31debf454d25aaebc6eb90a2bca3e1eb52e
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 20 Dec 2023 22:46:22 +0100
update README
</content>
</entry>
<entry>
<id>d9c1c31debf454d25aaebc6eb90a2bca3e1eb52e</id>
<published>2023-12-20T21:39:53Z</published>
<updated>2023-12-20T21:39:53Z</updated>
<title>fix typo and compile error</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/d9c1c31debf454d25aaebc6eb90a2bca3e1eb52e.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit d9c1c31debf454d25aaebc6eb90a2bca3e1eb52e
parent e1243f806a094c73adcc8bb2dd8633ff852ba1e4
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 20 Dec 2023 22:39:53 +0100
fix typo and compile error
Tested on OpenBSD.
</content>
</entry>
<entry>
<id>e1243f806a094c73adcc8bb2dd8633ff852ba1e4</id>
<published>2023-12-20T21:37:40Z</published>
<updated>2023-12-20T21:37:40Z</updated>
<title>add TODO</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/e1243f806a094c73adcc8bb2dd8633ff852ba1e4.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit e1243f806a094c73adcc8bb2dd8633ff852ba1e4
parent a749e990b529966883178e9cfe8ebfc6faec25b4
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 20 Dec 2023 22:37:40 +0100
add TODO
</content>
</entry>
<entry>
<id>a749e990b529966883178e9cfe8ebfc6faec25b4</id>
<published>2023-12-20T21:32:00Z</published>
<updated>2023-12-20T21:37:05Z</updated>
<title>flip puzzles if its black to move</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/a749e990b529966883178e9cfe8ebfc6faec25b4.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit a749e990b529966883178e9cfe8ebfc6faec25b4
parent b50c708ac5b44591b62aaa443022625c3fdd44cb
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 20 Dec 2023 22:32:00 +0100
flip puzzles if its black to move
</content>
</entry>
<entry>
<id>b50c708ac5b44591b62aaa443022625c3fdd44cb</id>
<published>2023-12-20T21:31:43Z</published>
<updated>2023-12-20T21:31:43Z</updated>
<title>command-line parsing for formats, add OpenBSD pledge</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/b50c708ac5b44591b62aaa443022625c3fdd44cb.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit b50c708ac5b44591b62aaa443022625c3fdd44cb
parent 3d921c8e0e2011ae994e508e89fc71086fffd598
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 20 Dec 2023 22:31:43 +0100
command-line parsing for formats, add OpenBSD pledge
</content>
</entry>
<entry>
<id>3d921c8e0e2011ae994e508e89fc71086fffd598</id>
<published>2023-12-20T20:54:11Z</published>
<updated>2023-12-20T20:54:11Z</updated>
<title>option to flip the board</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/3d921c8e0e2011ae994e508e89fc71086fffd598.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 3d921c8e0e2011ae994e508e89fc71086fffd598
parent 3c9f4a2be304b3f0d197d69bea715ee0c9e29570
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 20 Dec 2023 21:54:11 +0100
option to flip the board
</content>
</entry>
<entry>
<id>3c9f4a2be304b3f0d197d69bea715ee0c9e29570</id>
<published>2023-12-20T20:16:57Z</published>
<updated>2023-12-20T20:16:57Z</updated>
<title>remove double unneccesary reset</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/3c9f4a2be304b3f0d197d69bea715ee0c9e29570.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 3c9f4a2be304b3f0d197d69bea715ee0c9e29570
parent cbf34cae81cb9545e3854c19eb15040f106ab02f
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 20 Dec 2023 21:16:57 +0100
remove double unneccesary reset
</content>
</entry>
<entry>
<id>cbf34cae81cb9545e3854c19eb15040f106ab02f</id>
<published>2023-12-20T20:16:42Z</published>
<updated>2023-12-20T20:16:42Z</updated>
<title>make it easier to change the color theme for svg and tty</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/cbf34cae81cb9545e3854c19eb15040f106ab02f.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit cbf34cae81cb9545e3854c19eb15040f106ab02f
parent b55e73ad95fbbe333cdac344ca25a84dc61151b0
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 20 Dec 2023 21:16:42 +0100
make it easier to change the color theme for svg and tty
</content>
</entry>
<entry>
<id>b55e73ad95fbbe333cdac344ca25a84dc61151b0</id>
<published>2023-12-20T20:07:30Z</published>
<updated>2023-12-20T20:07:30Z</updated>
<title>slightly improve ascii output for colored squares and highlighted squares</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/b55e73ad95fbbe333cdac344ca25a84dc61151b0.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit b55e73ad95fbbe333cdac344ca25a84dc61151b0
parent 64c4e3aaecf348c2cb7c61f5569cae1a820d20db
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 20 Dec 2023 21:07:30 +0100
slightly improve ascii output for colored squares and highlighted squares
</content>
</entry>
<entry>
<id>64c4e3aaecf348c2cb7c61f5569cae1a820d20db</id>
<published>2023-12-20T19:35:16Z</published>
<updated>2023-12-20T19:35:16Z</updated>
<title>detect en passant, add some tests for it</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/64c4e3aaecf348c2cb7c61f5569cae1a820d20db.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 64c4e3aaecf348c2cb7c61f5569cae1a820d20db
parent d69d3ff1075f952ebdd45af40e7580bb3003721f
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 20 Dec 2023 20:35:16 +0100
detect en passant, add some tests for it
</content>
</entry>
<entry>
<id>d69d3ff1075f952ebdd45af40e7580bb3003721f</id>
<published>2023-12-20T19:19:55Z</published>
<updated>2023-12-20T19:19:55Z</updated>
<title>remove the ability to castle when the king or rook moves</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/d69d3ff1075f952ebdd45af40e7580bb3003721f.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit d69d3ff1075f952ebdd45af40e7580bb3003721f
parent a0e61726e8e522f6731e6eb27e18856f4fde61fb
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 20 Dec 2023 20:19:55 +0100
remove the ability to castle when the king or rook moves
</content>
</entry>
<entry>
<id>a0e61726e8e522f6731e6eb27e18856f4fde61fb</id>
<published>2023-12-20T19:19:38Z</published>
<updated>2023-12-20T19:19:38Z</updated>
<title>fix incorrect (x,y) parameters for taking a piece</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/a0e61726e8e522f6731e6eb27e18856f4fde61fb.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit a0e61726e8e522f6731e6eb27e18856f4fde61fb
parent 4ccd78674dc439a488331c561af552b0b129d621
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 20 Dec 2023 20:19:38 +0100
fix incorrect (x,y) parameters for taking a piece
</content>
</entry>
<entry>
<id>4ccd78674dc439a488331c561af552b0b129d621</id>
<published>2023-12-20T19:19:08Z</published>
<updated>2023-12-20T19:19:08Z</updated>
<title>expand tests for castling etc</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/4ccd78674dc439a488331c561af552b0b129d621.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 4ccd78674dc439a488331c561af552b0b129d621
parent 732bc42efda65c2ecc30a416f20516b9fcca62f6
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 20 Dec 2023 20:19:08 +0100
expand tests for castling etc
</content>
</entry>
<entry>
<id>732bc42efda65c2ecc30a416f20516b9fcca62f6</id>
<published>2023-12-20T18:30:21Z</published>
<updated>2023-12-20T18:30:21Z</updated>
<title>add a useful reference about the PGN and FEN formats etc</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/732bc42efda65c2ecc30a416f20516b9fcca62f6.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 732bc42efda65c2ecc30a416f20516b9fcca62f6
parent 53bf056699cba0e1bd1b06260600385ac5ad0780
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 20 Dec 2023 19:30:21 +0100
add a useful reference about the PGN and FEN formats etc
From archive.org
</content>
</entry>
<entry>
<id>53bf056699cba0e1bd1b06260600385ac5ad0780</id>
<published>2023-12-20T18:29:59Z</published>
<updated>2023-12-20T18:29:59Z</updated>
<title>add initial tests</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/53bf056699cba0e1bd1b06260600385ac5ad0780.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 53bf056699cba0e1bd1b06260600385ac5ad0780
parent aaac499d48085948814415956d3eb4ded33eb704
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 20 Dec 2023 19:29:59 +0100
add initial tests
To make it easier to test the parser and moves
</content>
</entry>
<entry>
<id>aaac499d48085948814415956d3eb4ded33eb704</id>
<published>2023-12-20T18:26:30Z</published>
<updated>2023-12-20T18:26:30Z</updated>
<title>when moving the king or castling remove the ability to castle</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/aaac499d48085948814415956d3eb4ded33eb704.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit aaac499d48085948814415956d3eb4ded33eb704
parent dab21427a28e5561843d56cb4de324cddd4c53c7
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 20 Dec 2023 19:26:30 +0100
when moving the king or castling remove the ability to castle
+ a pedantic ctype fix.
</content>
</entry>
<entry>
<id>dab21427a28e5561843d56cb4de324cddd4c53c7</id>
<published>2023-12-20T18:26:23Z</published>
<updated>2023-12-20T18:26:23Z</updated>
<title>improve move number parsing</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/dab21427a28e5561843d56cb4de324cddd4c53c7.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit dab21427a28e5561843d56cb4de324cddd4c53c7
parent 30a2ab3dd2979115341beaedc6d4a4918541036a
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 20 Dec 2023 19:26:23 +0100
improve move number parsing
</content>
</entry>
<entry>
<id>30a2ab3dd2979115341beaedc6d4a4918541036a</id>
<published>2023-12-20T17:50:33Z</published>
<updated>2023-12-20T17:50:33Z</updated>
<title>add OnlyFENs output option for the current board state</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/30a2ab3dd2979115341beaedc6d4a4918541036a.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 30a2ab3dd2979115341beaedc6d4a4918541036a
parent 0bf730b426ada19f487f1791faf13269989abc04
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 20 Dec 2023 18:50:33 +0100
add OnlyFENs output option for the current board state
Maybe I'll use this for automatic testing later
</content>
</entry>
<entry>
<id>0bf730b426ada19f487f1791faf13269989abc04</id>
<published>2023-12-20T17:50:17Z</published>
<updated>2023-12-20T17:50:17Z</updated>
<title>make command-line arguments more flexible</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/0bf730b426ada19f487f1791faf13269989abc04.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 0bf730b426ada19f487f1791faf13269989abc04
parent 132c4a50aae9c410bf3b505f4c61b322c388cf83
Author: Hiltjo Posthuma <
[email protected]>
Date: Wed, 20 Dec 2023 18:50:17 +0100
make command-line arguments more flexible
</content>
</entry>
<entry>
<id>132c4a50aae9c410bf3b505f4c61b322c388cf83</id>
<published>2023-12-19T19:11:09Z</published>
<updated>2023-12-19T19:11:09Z</updated>
<title>improve and extend FEN parsing and FEN output</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/132c4a50aae9c410bf3b505f4c61b322c388cf83.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 132c4a50aae9c410bf3b505f4c61b322c388cf83
parent 29822d687c7eed634e2fd6b480ddbf84cbabf4c2
Author: Hiltjo Posthuma <
[email protected]>
Date: Tue, 19 Dec 2023 20:11:09 +0100
improve and extend FEN parsing and FEN output
- improve castling availability: no castle detection yet.
- initial halfmove and move number parsing.
- parse enpassant move, but no enpassant detection yet.
- increase move number by a move by black.
work in progress
</content>
</entry>
<entry>
<id>29822d687c7eed634e2fd6b480ddbf84cbabf4c2</id>
<published>2023-12-18T23:50:04Z</published>
<updated>2023-12-18T23:50:04Z</updated>
<title>README: update filenames</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/29822d687c7eed634e2fd6b480ddbf84cbabf4c2.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 29822d687c7eed634e2fd6b480ddbf84cbabf4c2
parent d7273cde403340578a406a58fc419ae03277a84f
Author: Hiltjo Posthuma <
[email protected]>
Date: Tue, 19 Dec 2023 00:50:04 +0100
README: update filenames
</content>
</entry>
<entry>
<id>d7273cde403340578a406a58fc419ae03277a84f</id>
<published>2023-12-18T23:49:17Z</published>
<updated>2023-12-18T23:49:17Z</updated>
<title>merge code together, symlink binaries</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/d7273cde403340578a406a58fc419ae03277a84f.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit d7273cde403340578a406a58fc419ae03277a84f
parent 318de62766d2fd0caa0594f939cd1b2d9d143e0a
Author: Hiltjo Posthuma <
[email protected]>
Date: Tue, 19 Dec 2023 00:49:17 +0100
merge code together, symlink binaries
</content>
</entry>
<entry>
<id>318de62766d2fd0caa0594f939cd1b2d9d143e0a</id>
<published>2023-12-18T23:33:27Z</published>
<updated>2023-12-18T23:33:27Z</updated>
<title>allow "startpos" for FEN for the starting position</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/318de62766d2fd0caa0594f939cd1b2d9d143e0a.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>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
</content>
</entry>
<entry>
<id>d1450a9bf4d9b009733094038420a82a6872a8ae</id>
<published>2023-12-18T23:31:55Z</published>
<updated>2023-12-18T23:31:55Z</updated>
<title>implement detecting castling for moves</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/d1450a9bf4d9b009733094038420a82a6872a8ae.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit d1450a9bf4d9b009733094038420a82a6872a8ae
parent 09a541233ed6f1abf9f4498b37d1281a78f65ce8
Author: Hiltjo Posthuma <
[email protected]>
Date: Tue, 19 Dec 2023 00:31:55 +0100
implement detecting castling for moves
</content>
</entry>
<entry>
<id>09a541233ed6f1abf9f4498b37d1281a78f65ce8</id>
<published>2023-12-18T23:31:34Z</published>
<updated>2023-12-18T23:31:34Z</updated>
<title>separate function to check a valid piece character</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/09a541233ed6f1abf9f4498b37d1281a78f65ce8.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 09a541233ed6f1abf9f4498b37d1281a78f65ce8
parent 5df80ee4eebb2000bcac5530f58e6c84e9b92818
Author: Hiltjo Posthuma <
[email protected]>
Date: Tue, 19 Dec 2023 00:31:34 +0100
separate function to check a valid piece character
</content>
</entry>
<entry>
<id>5df80ee4eebb2000bcac5530f58e6c84e9b92818</id>
<published>2023-12-18T21:16:22Z</published>
<updated>2023-12-18T21:16:22Z</updated>
<title>generate.sh: add initial solutions/spoiler page</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/5df80ee4eebb2000bcac5530f58e6c84e9b92818.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 5df80ee4eebb2000bcac5530f58e6c84e9b92818
parent 098952703cf713b7569ae0cb826a08a239e3b46a
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 18 Dec 2023 22:16:22 +0100
generate.sh: add initial solutions/spoiler page
</content>
</entry>
<entry>
<id>098952703cf713b7569ae0cb826a08a239e3b46a</id>
<published>2023-12-18T21:15:46Z</published>
<updated>2023-12-18T21:15:46Z</updated>
<title>fen_to_*.c: handle possible piece promotion for moves</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/098952703cf713b7569ae0cb826a08a239e3b46a.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 098952703cf713b7569ae0cb826a08a239e3b46a
parent b8fe22e0b3297f81eca81b3c5ad8f2fd7e918c38
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 18 Dec 2023 22:15:46 +0100
fen_to_*.c: handle possible piece promotion for moves
</content>
</entry>
<entry>
<id>b8fe22e0b3297f81eca81b3c5ad8f2fd7e918c38</id>
<published>2023-12-18T14:55:04Z</published>
<updated>2023-12-18T14:55:04Z</updated>
<title>fen_to_tty: make showcoords = 0 work properly</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/b8fe22e0b3297f81eca81b3c5ad8f2fd7e918c38.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit b8fe22e0b3297f81eca81b3c5ad8f2fd7e918c38
parent 26d727fe71a7e77b2eb1f733e2ad738b52089c54
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 18 Dec 2023 15:55:04 +0100
fen_to_tty: make showcoords = 0 work properly
</content>
</entry>
<entry>
<id>26d727fe71a7e77b2eb1f733e2ad738b52089c54</id>
<published>2023-12-18T14:51:15Z</published>
<updated>2023-12-18T14:52:49Z</updated>
<title>fen_to_tty: add initial tty version</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/26d727fe71a7e77b2eb1f733e2ad738b52089c54.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 26d727fe71a7e77b2eb1f733e2ad738b52089c54
parent 59753af31b403f30db84f07562d2614460a2d9ab
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 18 Dec 2023 15:51:15 +0100
fen_to_tty: add initial tty version
</content>
</entry>
<entry>
<id>59753af31b403f30db84f07562d2614460a2d9ab</id>
<published>2023-12-17T23:38:36Z</published>
<updated>2023-12-17T23:38:36Z</updated>
<title>svg: improve text alignment of board coordinates</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/59753af31b403f30db84f07562d2614460a2d9ab.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 59753af31b403f30db84f07562d2614460a2d9ab
parent 9a5e1b026219ea4a2b320c21bac8284832f852e3
Author: Hiltjo Posthuma <
[email protected]>
Date: Mon, 18 Dec 2023 00:38:36 +0100
svg: improve text alignment of board coordinates
A bit hacky by hardcoding the y coordinate offset, but this works better with
gimp and ImageMagick also.
</content>
</entry>
<entry>
<id>9a5e1b026219ea4a2b320c21bac8284832f852e3</id>
<published>2023-12-17T20:31:40Z</published>
<updated>2023-12-17T20:31:40Z</updated>
<title>generate.sh: remove comment</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/9a5e1b026219ea4a2b320c21bac8284832f852e3.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit 9a5e1b026219ea4a2b320c21bac8284832f852e3
parent dfff5085243cc54cea1edbb5f1d604c9676e8a38
Author: Hiltjo Posthuma <
[email protected]>
Date: Sun, 17 Dec 2023 21:31:40 +0100
generate.sh: remove comment
</content>
</entry>
<entry>
<id>dfff5085243cc54cea1edbb5f1d604c9676e8a38</id>
<published>2023-12-17T20:26:15Z</published>
<updated>2023-12-17T20:27:31Z</updated>
<title>README: reword a few things</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/dfff5085243cc54cea1edbb5f1d604c9676e8a38.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit dfff5085243cc54cea1edbb5f1d604c9676e8a38
parent c8aed5b7783cae9c06f50dfcb5ab0af851edf54a
Author: Hiltjo Posthuma <
[email protected]>
Date: Sun, 17 Dec 2023 21:26:15 +0100
README: reword a few things
</content>
</entry>
<entry>
<id>c8aed5b7783cae9c06f50dfcb5ab0af851edf54a</id>
<published>2023-12-17T20:17:57Z</published>
<updated>2023-12-17T20:17:57Z</updated>
<title>initial repo</title>
<link rel="alternate" href="
gopher://codemadness.org/1/git/chess-puzzles/commit/c8aed5b7783cae9c06f50dfcb5ab0af851edf54a.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>
[email protected]</email>
</author>
<content>commit c8aed5b7783cae9c06f50dfcb5ab0af851edf54a
Author: Hiltjo Posthuma <
[email protected]>
Date: Sun, 17 Dec 2023 21:17:57 +0100
initial repo
</content>
</entry>
</feed>