Skip to content

About

Android chess puzzle game — solve real Lichess tactics offline. Kotlin + Jetpack Compose, 100% tested.

Topics

Resources

Contributing

Security policy

Stars

8 stars

Watchers

1 watching

Forks

Repository files navigation

Chess Puzzles

CI License: Apache-2.0

An Android chess puzzle game — Kotlin + Jetpack Compose, built and run entirely from the command line (no Android Studio). Solve Lichess tactical puzzles with announced goals (e.g. "checkmate in 2"), difficulty bands (Easy/Medium/Hard), day/night themes, and saved progress on-device. It works with TalkBack, Android's screen reader, and on the Puzzles screen a move can be typed or dictated instead of tapped.

Download

Get it on F-Droid

Android 7.0+, signed release.

Chess Puzzles in light mode Chess Puzzles in night mode A solved puzzle Learning the Italian Game in the Openings tab

From left to right: light mode, night mode, a solved puzzle, and opening practice.

Website

Features

  • Real Lichess puzzles. Tactics from the Lichess Open Database (CC0 1.0), bundled with the app.
  • Announced goals. Each puzzle says what to find, such as "checkmate in 2" or "gain a winning advantage". Find each move of the solution; the opponent replies automatically after each one.
  • Three difficulty bands. Easy, Medium or Hard, with hints when you want a nudge.
  • Opening practice. Twenty openings, learned move by move and then practised from memory.
  • Saved progress. Your solved count, puzzles solved without a hint, streaks and day streak are saved on your device, and a dot before each puzzle's title shows how your last try went: solved (a green tick), wrong (a red cross) or not solved yet (an empty ring).
  • Light and dark themes. Matches your phone's setting, or switch to Light or Dark with the theme button.
  • Tap or drag. Move pieces by tapping their starting and destination squares, or by dragging them.
  • Fully offline and free. No account, no ads, no tracking. Apache-2.0.

Accessibility

Made to work with weak sight, or none.

  • Works with TalkBack, Android's screen reader. It reads where every piece stands, reads the square you touch, and says each move in words, such as "knight takes e5, check".
  • Type a move such as Nf3, or say it with your keyboard's voice typing, instead of finding a small square. (On the Puzzles screen.)
  • Buttons, menus and messages follow the text size you set on your phone.
  • On an upright phone the board is as wide as the screen, and its letters and numbers stay readable.
  • Light or dark theme.

There is no high-contrast board yet. The pieces already fill their squares and the board fills the width of an upright phone, so to see them larger, use Android's magnification. Tell us what would help you: github.com/cocodedk/chess-puzzles/issues

Privacy

Chess Puzzles collects, sends and shares no personal data. It never asks you for a permission and has no internet permission, so the app itself cannot connect to anything. It has no account, ads, analytics or tracking. The About screen's buttons open web pages in your browser, and only when you tap them. Your progress stays on your device, apart from Android's own backup: if you have Auto Backup or Google account backup turned on, the system may include the app's local data in your own Google backup, which we have no access to. Read the full privacy policy.

Build

source ~/.chess-env.sh                 # JAVA_HOME / ANDROID_HOME / PATH (see docs/SETUP.md)
./gradlew koverVerify                   # run all tests + the 100% coverage gate
./gradlew assembleDebug                 # build app/build/outputs/apk/debug/app-debug.apk
bash scripts/emu.sh                      # boot a headless emulator, install, screenshot -> docs/screenshot.png

Releases

Each release run also builds a signed Android App Bundle, ChessPuzzles.aab, which is the upload format Google Play asks for. It is not attached to the GitHub release, which holds only ChessPuzzles.apk because Obtainium and F-Droid read that file; download the bundle from the Artifacts list on the run's page under the repository's Actions tab, where it is kept for 90 days. It is signed with the same key as the APK, and the run stops before it makes a release if it is not.

Modules

  • :core — pure Kotlin/JVM: chess rules (via chesslib), the PuzzleSession state machine, and CSV parsing. No Android dependencies; fully unit-tested.
  • :app — Android UI: a Compose Canvas board (tap + drag), PuzzleViewModel, and DataStore persistence.

Docs

Contributing

Issues and pull requests are welcome; see CONTRIBUTING.md for setup, the git hooks and the pull request checklist.

The engineering rules are in CLAUDE.md: 200-line file cap, /simplify + /code-review before every commit, a pre-push test+coverage hook, and 100% line coverage (enforced by Kover; @Composable functions are excluded as their compiler-generated recomposition branches are unreachable by tests).

Credits

Puzzles: Lichess Open Database (CC0 1.0). Chess rules: chesslib (Apache-2.0).

Author

Babak Bandpey — cocode.dk | LinkedIn | GitHub

License

Apache-2.0 | © 2026 Cocode | Created by Babak Bandpey

About

Android chess puzzle game — solve real Lichess tactics offline. Kotlin + Jetpack Compose, 100% tested.

Topics

Resources

Contributing

Security policy

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages