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 the Android installation file (APK) from GitHub
- Add the app to Obtainium, an app that keeps it up to date
Android 7.0+, signed release.
From left to right: light mode, night mode, a solved puzzle, and opening practice.
- 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.
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
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.
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.pngEach 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.
:core— pure Kotlin/JVM: chess rules (via chesslib), thePuzzleSessionstate machine, and CSV parsing. No Android dependencies; fully unit-tested.:app— Android UI: a ComposeCanvasboard (tap + drag),PuzzleViewModel, and DataStore persistence.
docs/PLAN.md— overview, decisions, statusdocs/SETUP.md— toolchain, build, and emulator commandsdocs/ARCHITECTURE.md— modules, the:corecontract, testing approachdocs/DATA.md— puzzle pipeline and attribution
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).
Puzzles: Lichess Open Database (CC0 1.0). Chess rules: chesslib (Apache-2.0).
Babak Bandpey — cocode.dk | LinkedIn | GitHub
Apache-2.0 | © 2026 Cocode | Created by Babak Bandpey




