HextrisSpin the hexagon, match three colourscube composer
Chain functions to reach the target pattern
Open-source work, ported to the web by Spare · MIT
Live preview · cube composerOpen in new window
Click or drag functions into the program, drag to reorder; R resets, N next level
AboutWhat it is and how to play
A puzzle game inspired by functional programming: transform a wall of cubes with functions like map, reject and stack until it matches the goal. Six chapters, dozens of levels.
DetailsSource and licence
- Author
- David Peter
- Origin
- Open-source work, ported to the web by Spare
- Type
- Games
- Length
- 2–10 min
- How to play
- Click or drag functions into the program, drag to reorder; R resets, N next level
- Controls
- Mouse · Touch · Keyboard
- Licence
- MIT
- Source
- github.com/sharkdp/cube-composer★ 2k · as of 2026-09-25
- Version
- a891ffe
- Changes
- Uses the author’s published build; Roboto Condensed served locally; Google Analytics and GitHub star iframe removed; save key namespaced; Spare pause/snapshot hooks added
ScreenshotsClick one to view it above
Use on desktopOpens while your AI works
- 01Download the pack
Zip, runs offline
- 02Open Spare desktop
macOS, same account
- 03Import the pack
Opens while AI generates
DiscussionSign in to join in
More works
From the same author or of the same kind.
HextrisSpin the hexagon, match three colours
Particle ClickerClick the detector, discover the Higgs
AstrayRoll a ball out of a 3D maze
Radius RaidSpace shooter, wave after wave
A Dark RoomIt starts with a dying fire
Chess vs. a tiny AIChess against a few hundred lines of minimax
Stack TowerTime each drop
Little DinoThe classic one-button runner