offline-chess-puzzles 2.5.15

Tool to view and solve puzzles from the lichess puzzle database
offline-chess-puzzles-2.5.15 is not a library.

version build dependencies docs license downloads

offline-chess-puzzles 2.5.15

A simple tool to view and solve puzzles from the lichess puzzle database

A big thank you to lichess for creating the puzzle database, to the project chess-engine which I used as a starting point for the GUI here, and to the awesome Iced GUI library project in which the interface is made.

Cloned from https://github.com/brianch/offline-chess-puzzles: tweaked the clarity of messages and added Dutch translation.

To build the binary with Rust cargo, these packages are required: libasound2-dev libgtk-3-dev libsqlite3-dev

The binary needs the correct version of: libasound2t64 libssl3t64 libssl3t64 libsqlite3-0 libgcc-s1 libc6

Usage

Download the app in the Releases page.

You'll also need to download the file lichess_db_puzzle.csv (from the lichess link above) to the "puzzles" directory of the app.

To play you simply search positions according to your needs, click Search and a puzzle will be loaded.

If the move is a promotion you need to select the piece to promote to (in the search tab) before moving the pawn.

The search is a bit slow (especially when searching by opening, because it often needs to traverse the whole database) but I think it's important to use the cvs directly so users can easily replace the file if needed.

Possible use cases

  • Practice offline, it has filters by puzzle rating, theme and opening.
  • Teach the tactical motifs to students, since it's simple to select easy puzzles from a theme (it lack arrows, but there's an analysis function)
  • Setting a very small search limit might be useful for those who want to practice by repetition (you'll get the same puzzles each time, in random order). But there's no build-in functionality specific for this yet.

Features

  • All the filters we have in Lichess (except a few minor opening variations), plus rating range
  • Flip the board to solve from the opponent's perspective (to practice seeing what is being threatened against us)
  • A few piece themes and a bunch of board themes
  • Analysis board (with basic engine support)
  • Hint (see which piece to move)
  • Settings are remembered and loaded when you open the app again
  • Navigate to the previous/next puzzles
  • Favorite puzzles and search those favorites
  • Export part of the search to PDF
  • Save puzzle as a .jpg file

License:

The code is distributed under the MIT License. See LICENSE for more information.

Assets authors / licenses:

  • The piece set "cburnett" is a work of Colin M.L. Burnett and used under the CC-BY-SA 3.0 unported license (more info on the license.txt file in that directory).
  • The "california" piece set is a work of Jerry S. licensed under CC BY-NC-SA 4.0 (https://sites.google.com/view/jerrychess/home)
  • The piece sets "Cardinal", "Dubrovny", "Gioco", "Icpieces", "Maestro", "Staunty", "Governor" and "Tatiana" are work of "sadsnake1", licensed under CC BY-NC-SA 4.0. And obtained from the lila (lichess) repository.
  • The piece set and font "Chess Alpha" is a work of Eric Bentzen and free for personal non commercial use. Full info in the documents in the "font" directory.
  • The original Merida chess font is a work of Armando Hernandez Marroquin and distributed as 'freeware' and the shaded version used here and obtained from the lichess repository is a work of Felix Kling ("DeepKling" here on github).