r/androiddev • u/Wrong-Rate-1208 • 20d ago
I built tinychess — a standalone, zero-dependency Android chess app under 70 KB
I wanted to see how small a complete, playable Android chess app could get (originally built it for my very old android devices but works for all android versions)
The engine :
- full FIDE : Tracks state on a classic 128-square
0x88array with compact integer pieces, with castling, en passant, promotions, threefold repetition, the 50-move rule, insufficient material, and strict king-safety validations - Search system: Pairs iterative-deepening alpha-beta and Principal Variation Search (PVS) with a 65,536-entry Zobrist transposition table + null-move pruning + late-move reductions, killer moves + capture/promotion quiescence search .
- positional evaluation: it scores using piece-square tables and bishop-pair bonuses.
- Levels: Easy (2 ply / 140 ms) - Medium (4 ply / 320 ms) - Hard (6 ply / 680 ms) and Expert (16 ply / 1,450 ms) !
The repo : https://github.com/R1y3n/tinychess
Downloads :
Official release : https://github.com/R1y3n/tinychess/releases/download/v1.0.0/TinyChess-v1.0.0.apk
Nightly release : (even smaller)
https://github.com/R1y3n/tinychess/releases/download/nightly/TinyChess-v1.0.0-nightly.apk
60
Upvotes



29
u/tadfisher 20d ago
Probably don't need to link to the repo when you could link to the single Java file with all the code.
I am actually impressed, I can't get Claude or Codex to generate a whole app in one Java file. They keep insisting on using something called "Kotlin" and on generating multiple files for "architecture" and "separation of concerns". Whatever.
3
u/emperorOfTheUniverse 18d ago
No multiplayer?
15
u/SuffixRE 20d ago
now do gta 6
3
u/Frequent-Complaint-6 19d ago
Great!
2
u/Equivalent_Log_Egg 19d ago
Good job
1
u/Beneficial_Turnip704 18d ago
i mean no one needed something so lightweight. Good flex tho
1
u/23ROMAN 18d ago
Only 70kb is wild
1
u/[deleted] 19d ago
[removed] — view removed comment
0
u/[deleted] 19d ago
[removed] — view removed comment