Rui Costa
Fruidoku app icon

Fruidoku

On the App Store

Plant 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

Level 1, 5 × 5

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

PlatformiPhone, iOS 17 or later
Levels1,500, from 5 × 5 to 10 × 10, with Hard and Super hard levels
LanguagesEnglish, Portuguese, French, Spanish, German
InterfaceSwift, SwiftUI, Observation
EngineA pure Swift package: solver, deducer, hints, with an XCTest suite
DataSwiftData, mirrored to the player’s private iCloud
Purchases and adsStoreKit 2 (hint packs, Remove ads), AdMob with consent
ToolingLevel generator in C, verifier and catalogue builder in Python
BackendNone. No login, works offline.

Screenshots

  • Fruidoku home screen with the wordmark, a Continue button and the daily streak
  • A Fruidoku level in progress, with crosses marked and two fruits planted
  • The Solved screen with a star earned for no mistakes
  • The "where?" hint outlining the patch to look at
  • The rules screen explaining the four rules

My other app

Formly

In App Store review