# Chess Puzzles

> An Android chess puzzle game (Kotlin + Jetpack Compose, multi-module) that serves real tactical puzzles from the Lichess Open Database. Find the best move; the opponent replies automatically; your solved count and streak persist 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. Built and tested entirely from the CLI; the build enforces 100% line coverage of non-Composable code.

Chess Puzzles is open-source (Apache-2.0), created by Babak Bandpey / Cocode. The codebase splits into a pure-JVM `:core` module (chess rules via chesslib, the `PuzzleSession` state machine, CSV parsing) and an Android `:app` module (a custom Jetpack Compose Canvas board, `PuzzleViewModel`, DataStore persistence).

## Docs

- [README](https://github.com/cocodedk/chess-puzzles/blob/main/README.md): overview, quickstart, modules
- [Architecture](https://github.com/cocodedk/chess-puzzles/blob/main/docs/ARCHITECTURE.md): modules, the `:core` contract, testing approach
- [Setup](https://github.com/cocodedk/chess-puzzles/blob/main/docs/SETUP.md): CLI toolchain, build, and emulator commands
- [Data](https://github.com/cocodedk/chess-puzzles/blob/main/docs/DATA.md): puzzle pipeline and attribution
- [Plan](https://github.com/cocodedk/chess-puzzles/blob/main/docs/PLAN.md): full architecture and build plan
- [Contributing](https://github.com/cocodedk/chess-puzzles/blob/main/CONTRIBUTING.md): setup, git hooks, PR checklist

## Project

- [Website (English)](https://chess.cocode.dk/)
- [Website (Danish)](https://chess.cocode.dk/da/)
- [Website (Spanish)](https://chess.cocode.dk/es/)
- [Website (Chinese)](https://chess.cocode.dk/zh/)
- [Website (Persian)](https://chess.cocode.dk/fa/)
- [Source on GitHub](https://github.com/cocodedk/chess-puzzles)
- [Latest release APK](https://github.com/cocodedk/chess-puzzles/releases/latest/download/ChessPuzzles.apk)

## Author

- [Babak Bandpey — cocode.dk](https://cocode.dk)
- [LinkedIn](https://linkedin.com/in/babakbandpey)
- [GitHub](https://github.com/cocodedk)
