Advent · Day 16

This one opens on December 16.

Every door opens at midnight Pacific.

See the calendar

Puzzle · SwiftUI + Metal

Dye

Dip the cloth. Let the colour spread.

Dye is a flood-fill puzzle in SwiftUI. The dye starts in the top-left patch of a cloth; each dip turns the dyed region a new colour, and it takes over every neighbouring patch of that colour. Dye the whole cloth within the count, and the order is everything. It ships with 60 cloths in three chapters, from 7 × 9 in four dyes to 10 × 14 in five, with par set by a built-in dyer and stars for matching it, plus today's cloth, the same for everyone, with a streak and a widget. Three skins each bring their own title, play and win screens: Indigo, shibori blues with resist marks and round dye wells; Bandhani, bright tie-dye in rings of dots with brass bowls on an arc; and Swatch, a dye lab with test tubes, a cover readout and a PASS-stamped report.

  • Puzzle
  • SwiftUI + Metal
  • 60 levels

Every screen, built

Real captures from the iOS Simulator. The menus, the shop and the progress screens ship in the source, not just the board.

  • Title

  • Play

  • Results

  • Level map

  • Bandhani

  • Swatch

Title and Play are open. The other 4 screens are part of SwiftPieces Games. It opens every screen, and the full Xcode project to build them.

What you get

  • Par set by a built-in dyer, a deterministic beam search, and every shipped cloth checked by tests
  • 60 cloths in three chapters, growing from four dyes to five and from 63 patches to 140
  • Today's cloth, the same for everyone, with a streak and a Home Screen widget
  • Three skins with their own layouts, switched live: Indigo, Bandhani and Swatch
  • Dye that soaks outward ring by ring, free undo, rinse, and hints that make the dyer's next dip
  • Drops, bubbles and struck bowls synthesized on the device, climbing a scale as a dip takes more
  • Content60 levels
  • Leaderboards2
  • Achievements10
  • Challenges0
  • Swift3,470 lines in 33 files
  • RequiresiOS 17.0, Xcode 26

Shop

  • Hint packs
  • Tip jar

Built on

  • GameCore
  • Feel
  • GameServices
  • GameUI

Presets

  • indigo
  • bandhani
  • swatch

Plays

60 levels on iPhone and iPad, with VoiceOver menus, Dynamic Type and reduce motion.