Menu

1 / 2

How I generate 160 solvable Kanoodle-style puzzles for an iPhone game (Expo + Three.js)

DEV Community: ios·Atakan Kartli·6 days ago
#spo1nCut
#devtoios#devto#dev#pieces#board
Long article (590 words) — no AI summary yet.
Reading 0:00
15s threshold

I grew up with ball-piece packing puzzles: a small case, a dozen plastic pieces made of fused balls, and a card showing which pieces start on the board. Kanoodle is the one most people know. When I looked for a good version on iPhone, the closest match by name was rated about 1.4 stars, and most of its reviews complain about ads. So I built my own: Clover Case , a free Kanoodle-style puzzle game for iPhone.

Here are the parts that turned out to be more interesting than I expected.

The board math is unforgiving (in a good way)

The classic board is 11 × 5 = 55 holes. The piece set is twelve shapes:

Piece size Count Balls

3 balls 1 3

4 balls 3 12

5 balls 8 40

Total 12 55

Exactly 55 balls for 55 holes. There's zero slack: if every piece goes in, the board is full.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.