Fruidoku
On the App StorePlant one fruit in every row, every column and every coloured patch. Two fruits can never touch, not even diagonally. It sounds easy, then the boards grow to 10×10.
Play a level
Tap a cell to mark it ×. Double-tap to plant a fruit.
Keyboard: arrow keys move, Enter marks ×, P plants.
The rules
On an N × N board split into N coloured patches:
- Each row holds exactly one fruit.
- Each column holds exactly one fruit.
- Each patch holds exactly one fruit.
- Fruits never touch, including diagonally.
How it plays
Tap a cell to mark it with ×, drag to mark several, and double-tap to plant a fruit. A fruit in the wrong place costs one of three lives. Solve a level without a mistake and you earn its star.
When you are stuck there are three kinds of hint: rule out a cell, see where to look, or plant the next fruit. A daily streak rewards playing seven days in a row.
Decisions I made
Every level must have exactly one solution, reachable by logic alone. Levels come from a generator written in C and are then re-verified in Python by an independent solver, graded by the same deduction engine the app uses, and checked again by the Swift tests.
The × marks are always placed by hand. Auto-marking would make the game easier, but it would also make players less attentive, so I left it out.
Released levels never change place: progress is stored per level, so the catalogue only ever grows. When 11 × 11 boards turned out too small to tap on a phone, each was replaced by a 10 × 10 board of the same difficulty in the same spot, and players keep their progress.
For colour-vision accessibility, each patch can show its own pattern, so colour is never the only cue.
At a glance
| Platform | iPhone, iOS 17 or later |
|---|---|
| Levels | 1,500, from 5 × 5 to 10 × 10, with Hard and Super hard levels |
| Languages | English, Portuguese, French, Spanish, German |
| Interface | Swift, SwiftUI, Observation |
| Engine | A pure Swift package: solver, deducer, hints, with an XCTest suite |
| Data | SwiftData, mirrored to the player’s private iCloud |
| Purchases and ads | StoreKit 2 (hint packs, Remove ads), AdMob with consent |
| Tooling | Level generator in C, verifier and catalogue builder in Python |
| Backend | None. No login, works offline. |