Games · 2–10 min · Mouse · Touch · Keyboard

cube composer

Chain functions to reach the target pattern

ByDavid Peter

Open-source work, ported to the web by Spare · MIT

Download pack
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

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

  1. 01Download the pack

    Zip, runs offline

  2. 02Open Spare desktop

    macOS, same account

  3. 03Import the pack

    Opens while AI generates

Get the desktop app

DiscussionSign in to join in

    More works

    From the same author or of the same kind.

    See all works
    cube composer · Chain functions to reach the target pattern