Color Wheel combinatorics
Over the weekend I was introduced to a Looney Labs pyramid game called “Color Wheel.” This is a solitaire (or purely cooperative) game similar to peg solitaire. It’s played on a decagonal 40-space board, with three trios of pyramids in each of seven colors: 63 pieces total.
After populating the board with 40 random pyramids from the stash such that no two adjacent pyramids share a color, your goal is to use the fewest moves to finish the game — where a “move” swaps two pyramids of the same color and/or size, and the game is “finished” when each color occupies its own contiguous region of the board.
The official rules encourage you to finish the game within 27 moves, mainly because the Pyramid Arcade box happens to contain 27 more pyramids, and you use those to keep score. If the game had said “within 23 moves,” then you could have used the 23 leftover colored pyramids to keep score instead.
How many possible Color Wheel setups are there in total?
A quick Monte Carlo experiment (source) suggests that there are about \(2.003\times 10^{46}\) distinct Color Wheel setups, up to rotation and reflection. There are another \(2.195\times 10^{49}\) distinct midgame positions (i.e. positions flouting setup’s no-color-adjacency criterion). Both kinds of positions have an average branching factor of roughly 327 (standard deviation about 5).
What fraction of Color Wheel setups are solvable within 27 moves? Within 23?
I have no idea. Pretty trivially we can observe that every Color Wheel game must take at least six moves to complete: The game starts with 40 connected components, and the best possible move replaces 8 components with 2. Five perfect moves could reduce the number of components to 10, but a solved board has even fewer (no more than 7).
UPDATE, 2026-11-27: A correspondent provides the sketch of a proof that every Color Wheel game must take at least seven moves to complete. Instead of looking at the 40 spaces, look at the 50 edges between spaces. Call an edge “monochromatic” if it separates two pieces of the same color. The game starts with zero monochromatic edges. A connected component of size \(k\) supplies at least \(k-1\) monochromatic edges, so a solved board (with at most 7 components) must have at least 33 monochromatic edges. A six-move solution would touch at most 12 spaces on the board, so it can “monochromify” only the edges touching those 12 spaces. There are (he wrote) 119,335 sets of 12 spaces that touch at least 33 edges, and a computer search proves (he wrote) that in none of those 119,335 cases does “monochromifying” all its edges produce a graph with seven or fewer connected components. But I did not attempt to reproduce that computer search.
It’s easy to construct a valid setup that’s solvable in exactly seven moves.

How about the number of moves that suffices to solve any setup — what’s God’s Number for Color Wheel? I’ve got only another trivial observation: the 40 pyramids on the board can be selection-sorted into any configuration at all using no more than 39 unconstrained swaps, and any unconstrained swap can be simulated by at most 5 valid moves. (If the pieces match in size, swap them in one move; otherwise, if any of the six pieces that share color with one and size with the other is on the board, use three swaps; otherwise, find \(p_1, p_2\) of the same size, \(p_1\) sharing color with one and \(p_2\) sharing color with the other, and use five swaps.) That gives us a comically loose upper bound — 195 moves certainly suffice.
Challenge: Write a Color Wheel solver.
Here’s a vibe-coded Color Wheel solver that can do the average board in about 31.3 moves (standard deviation about 3.9). This is dramatically worse than the rules’ suggestion of 27 moves! Is that more readily explained by the badness of this solver’s heuristics, or by the conjecture that most Color Wheel boards are not solvable in 27 moves?
UPDATE, 2026-11-27: A correspondent found a bug in my solver: a loop that accidentally never ran more than once. Fixing that bug made the solver run about five times as slow, but improved its mean solution length by about 2.2 moves. Meanwhile, his vibe-coded solver found a 23-move solution for a board that took my solver 45 moves, and a 21-move solution for a board that took me 41. So “this solver is bad” is certainly supported by the evidence.


The Python code that generated those plots was:
values=[~~~~]
import matplotlib.pyplot as plt
plt.figure(figsize=(8, 2))
plt.hist(values, bins=[x-0.5 for x in range(20, 52)], edgecolor="white", color="#4f81bd")
plt.xticks(range(20, 51, 2))
plt.xlabel("Number of moves taken by my solver")
plt.tight_layout()
plt.show()
