chess-puzzles

chess puzzle book generator
git clone git://git.codemadness.org/chess-puzzles
Log | Files | Refs | README | LICENSE

DateCommit messageAuthorFiles+-
2024-06-11 22:28tests.sh: add a few more tests for ambigous moves (files and ranks)Hiltjo Posthuma1+15-0
2024-06-11 13:42fix notating files and rank for piece movesHiltjo Posthuma1+14-17
2024-06-11 13:41fix incorrect check of enpassant square (x -> y) for checks/checkmateHiltjo Posthuma1+1-1
2024-06-11 13:41add 2 tests and log errors to stderrHiltjo Posthuma1+21-11
2024-02-29 18:02add option to not highlight the last played move or checks or checkmatesHiltjo Posthuma2+19-9
2024-01-31 20:09add love theme and valentine puzzlesHiltjo Posthuma2+329-0
2024-01-28 12:24remove TODOHiltjo Posthuma1+0-3
2024-01-28 12:23tests.sh: remove duplicate tested entriesHiltjo Posthuma1+48-119
2024-01-27 20:02test all possible castling positionsHiltjo Posthuma2+158-137
2024-01-27 20:00fen.c: fix castling for chess960Hiltjo Posthuma1+4-4
2024-01-27 19:22initial stub for new castling testsHiltjo Posthuma2+158-0
2024-01-22 19:28some improvementsHiltjo Posthuma4+13-8
2024-01-22 18:56tests.sh: add a few more castle testsHiltjo Posthuma2+30-10
2024-01-22 18:42docs: archive table with chess960 starting positionsHiltjo Posthuma1+967-0
2024-01-22 18:28add a separate script to generate a gif or tty animation from FEN + movesHiltjo Posthuma2+75-0
2024-01-22 00:36fen.c: improve more subtle things in chess960 castlingHiltjo Posthuma1+6-6
2024-01-22 00:09generate.sh: fix to detect possible rook promotion and support uppercaseHiltjo Posthuma1+1-1
2024-01-22 00:07tests.sh: add some more castling and chess960 PGN testsHiltjo Posthuma1+21-0
2024-01-22 00:04fen.c: simplify castling codeHiltjo Posthuma2+18-40
2024-01-21 23:55fen.c: fix highlight square when castlingHiltjo Posthuma1+1-3
2024-01-21 23:55fen.c: improve castling with chess960Hiltjo Posthuma1+4-4
2024-01-14 19:30fen.c: fix a typoHiltjo Posthuma1+1-1
2024-01-14 18:23improve documentation and reference the pgn-extract toolHiltjo Posthuma2+14-1
2024-01-14 18:17test.sh: add more promotion tests and fixup for case if input is incorrectHiltjo Posthuma1+50-0
2024-01-14 18:09fen.c: fix promotion to rook, fix regression in promotion and PGN output for itHiltjo Posthuma2+14-9
2024-01-08 21:01update TODOHiltjo Posthuma1+10-23
2024-01-08 20:55fen.c: remove unneccesary checkHiltjo Posthuma1+1-1
2024-01-08 20:54fen.c: fix invalid piece name for queenside castling for blackHiltjo Posthuma1+1-1
2024-01-08 20:50small code-cleanup and add some commentsHiltjo Posthuma1+30-23
2024-01-08 20:36fen.c: CGI mode: write output header before play movesHiltjo Posthuma1+4-1
2024-01-08 20:36fen.c: CGI mode, add dutch mode parameter, will also set piece mappingHiltjo Posthuma1+4-1
2024-01-07 14:51tests.sh: add 2 testsHiltjo Posthuma1+15-0
2024-01-06 14:40various improvements and featuresHiltjo Posthuma6+546-158
2024-01-04 20:03update TODO and failing testsHiltjo Posthuma2+44-1
2024-01-04 16:04enable output options for the CGI modeHiltjo Posthuma2+53-25
2024-01-04 15:44various improvementsHiltjo Posthuma8+1047-405
2023-12-25 17:54add LEN() macro and use itHiltjo Posthuma1+9-8
2023-12-25 17:49add util functions for (x,y) to (file, rank) and vice versaHiltjo Posthuma1+35-11
2023-12-24 10:51fen.1: comment pgn option for now, it is disabledHiltjo Posthuma1+4-3
2023-12-24 10:38fen.c: reduce filesize of SVG furtherHiltjo Posthuma1+57-16
2023-12-23 17:59fen: various code improvements, initial code for PGN output (disabled for now)Hiltjo Posthuma3+294-52
2023-12-21 21:45stream_lichess.sh: read initial FEN for chess960, show white vs black nameHiltjo Posthuma2+20-5
2023-12-21 21:20improve tests and label themHiltjo Posthuma1+115-42
2023-12-21 21:19fen.c: improve castling for chess960Hiltjo Posthuma1+58-28
2023-12-21 19:29generate.sh: only show cursor when solutions are collapsedHiltjo Posthuma1+1-1
2023-12-21 19:27generate.sh: fix last puzzles, some usability improvementsHiltjo Posthuma1+20-5
2023-12-21 18:57fen.c: optimization for size: do not use true-color where its not neededHiltjo Posthuma1+23-54
2023-12-21 17:27fen.c: code cleanup: separate parsing FEN and moves in 2 functionsHiltjo Posthuma2+85-68
2023-12-21 17:17update TODOHiltjo Posthuma1+18-2
2023-12-21 17:15improve man page documentationHiltjo Posthuma2+7-8
2023-12-21 17:14generate.sh: improve portability and performance, use randomness using a seedHiltjo Posthuma1+58-34
2023-12-21 16:58improve check for castling and castling availabilityHiltjo Posthuma2+65-18
2023-12-20 23:56tty output: remove some unneeded/double escape codesHiltjo Posthuma1+2-6
2023-12-20 23:48update READMEHiltjo Posthuma1+4-4
2023-12-20 23:38fen.1: fix a typoHiltjo Posthuma1+3-3
2023-12-20 23:33update TODOHiltjo Posthuma1+3-4
2023-12-20 23:32improve tty board border size a bitHiltjo Posthuma1+5-6
2023-12-20 23:24add a script to stream a lichess game using the FEN tty outputHiltjo Posthuma1+33-0
2023-12-20 23:20fen.1: add initial man pageHiltjo Posthuma1+52-0
2023-12-20 22:55en passant should reset halfmove counterHiltjo Posthuma1+5-0
2023-12-20 22:53fix a bug in FEN en passant parsing, handle en passant takesHiltjo Posthuma2+15-3
2023-12-20 21:46update READMEHiltjo Posthuma1+8-8
2023-12-20 21:39fix typo and compile errorHiltjo Posthuma1+2-1
2023-12-20 21:37add TODOHiltjo Posthuma1+6-0
2023-12-20 21:32flip puzzles if its black to moveHiltjo Posthuma2+17-11
2023-12-20 21:31command-line parsing for formats, add OpenBSD pledgeHiltjo Posthuma3+732-705
2023-12-20 20:54option to flip the boardHiltjo Posthuma1+80-35
2023-12-20 20:16remove double unneccesary resetHiltjo Posthuma1+0-1
2023-12-20 20:16make it easier to change the color theme for svg and ttyHiltjo Posthuma1+15-18
2023-12-20 20:07slightly improve ascii output for colored squares and highlighted squaresHiltjo Posthuma1+21-8
2023-12-20 19:35detect en passant, add some tests for itHiltjo Posthuma2+33-5
2023-12-20 19:19remove the ability to castle when the king or rook movesHiltjo Posthuma1+16-3
2023-12-20 19:19fix incorrect (x,y) parameters for taking a pieceHiltjo Posthuma1+1-1
2023-12-20 19:19expand tests for castling etcHiltjo Posthuma1+42-0
2023-12-20 18:30add a useful reference about the PGN and FEN formats etcHiltjo Posthuma1+2921-0
2023-12-20 18:29add initial testsHiltjo Posthuma1+25-0
2023-12-20 18:26when moving the king or castling remove the ability to castleHiltjo Posthuma1+5-1
2023-12-20 18:26improve move number parsingHiltjo Posthuma1+11-4
2023-12-20 17:50add OnlyFENs output option for the current board stateHiltjo Posthuma2+12-1
2023-12-20 17:50make command-line arguments more flexibleHiltjo Posthuma1+13-5
2023-12-19 19:11improve and extend FEN parsing and FEN outputHiltjo Posthuma1+85-31
2023-12-18 23:50README: update filenamesHiltjo Posthuma1+3-3
2023-12-18 23:49merge code together, symlink binariesHiltjo Posthuma4+228-672
2023-12-18 23:33allow "startpos" for FEN for the starting positionHiltjo Posthuma1+3-0
2023-12-18 23:31implement detecting castling for movesHiltjo Posthuma1+32-1
2023-12-18 23:31separate function to check a valid piece characterHiltjo Posthuma1+10-2
2023-12-18 21:16generate.sh: add initial solutions/spoiler pageHiltjo Posthuma1+60-8
2023-12-18 21:15fen_to_*.c: handle possible piece promotion for movesHiltjo Posthuma3+41-0
2023-12-18 14:55fen_to_tty: make showcoords = 0 work properlyHiltjo Posthuma1+4-0
2023-12-18 14:51fen_to_tty: add initial tty versionHiltjo Posthuma4+339-1
2023-12-17 23:38svg: improve text alignment of board coordinatesHiltjo Posthuma1+3-3
2023-12-17 20:31generate.sh: remove commentHiltjo Posthuma1+1-3
2023-12-17 20:26README: reword a few thingsHiltjo Posthuma1+9-4
2023-12-17 20:17initial repoHiltjo Posthuma6+764-0