◀ replicube-solutions

First Place Finishes Third Place Finishes Puzzles Solved

Solutions and writeups for Replicube, an open-ended programming puzzle game about writing Lua code to replicate 3D voxel objects.

Every puzzle has two leaderboards: code size and cycles (execution efficiency). Optimizing for one often comes at the expense of the other, which makes the golfing super fun! We go for both (⇀‸↼‶)ᕤ

Puzzles

01 - Replicube Tutorial Projects

#PuzzleCode SizeLeaderboardCyclesLeaderboardDate
1The Very Basics2🏆 #13.000🏆 #12026-02-23
2Conditions May Apply6🏆 #14.000#1582026-02-23
3In Comparison11#2007.000#78122026-02-23
4Explicit Nothingness10🏆 #15.673#86152026-02-23
5Simple Quadrant12🏆 #19.000#113582026-02-23
63x3 Grid19#215.992#9672026-02-23
7Importance of END53#3513.251#5472026-02-23
8Simple Sushi20#5419.520#19482026-02-23
9Basic Cup19#3707.501#4602026-02-23
10Quadrants21#285.673#106652026-02-23
11Variable Outcomes30#6615.051#11132026-02-23

11 / 100 puzzles solved ꒰ᐢ⸝⸝•༝•⸝⸝ᐢ꒱

02 - Intro Challenges 1

#PuzzleCode SizeLeaderboardCyclesLeaderboardDate
1Staircase5🏆 #15.000#75482026-02-23
2Diagonal Line10🏆 #14.163#81582026-02-23
3Big X16🏆 #19.073#15132026-02-23
4Hello, Modulo5🏆 #14.000🏆 #12026-02-23
5Checkerboard14#364.800#70852026-02-23
6Angled Rainbow10🏆 #14.286#89412026-02-23
7Wooden Table21#3396.464#9762026-02-23

18 / 100 puzzles solved ꒰ᐢ⸝⸝•༝•⸝⸝ᐢ꒱

03 - Alice Creations 01

#PuzzleCode SizeLeaderboardCyclesLeaderboardDate
1Strawberry Cake Slice29#46.802#9432026-02-23
2Basic Hourglass10🏆 #16.395#9112026-02-23
3Tiny Duck74#7012.825#32082026-02-23
4Stairwell16🏆 #111.901#84292026-02-23
5Little Chair50#2637.160#5652026-02-23
6Strawberry68#16614.688#7682026-02-23

24 / 100 puzzles solved ꒰ᐢ⸝⸝•༝•⸝⸝ᐢ꒱

04 - Alice Creations 02

#PuzzleCode SizeLeaderboardCyclesLeaderboardDate
1Doggo117#20317.627#22102026-02-23
2Fancy Hourglass29#2415.182#15972026-02-23
3Not a Flower :)23🥉 #314.504#22872026-02-23
4Tiled Room53#9710.774#13652026-02-23
5Brick Wall63#569.907#20822026-02-23
6Puzzle Cube80#65325.336#5812026-02-23
7Cute Computer72#411.126#11262026-02-23

31 / 100 puzzles solved ꒰ᐢ⸝⸝•༝•⸝⸝ᐢ꒱

05 - Alice Creations 03

#PuzzleCode SizeLeaderboardCyclesLeaderboardDate
1Penguin84#780.514#5142026-02-23
2Tic-Tac-Toe49#213.068#30682026-02-23
3Orange Creamsicle50#762.702#27022026-02-23
4Building44#4120.639#25712026-02-23
5Taco88#13814.452#13712026-02-23
6Camera65#7414.936#17362026-02-23
7Nostalgic Handheld Game115#31319.651#30522026-02-23

38 / 100 puzzles solved ꒰ᐢ⸝⸝•༝•⸝⸝ᐢ꒱

06 - Sports

#PuzzleCode SizeLeaderboardCyclesLeaderboardDate
1Football35#578.214#3392026-02-23
2Tennis Ball29#5338.608#2552026-02-23
3Baseball Bat23#5510.238#12612026-02-23
4Basketball Ball35#1019.172#2422026-02-23
5Tennis Racquet55#3313.484#15162026-02-23
6Basketball Hoop77#5917.761#21292026-02-23
7Bowling60#1911.465#3912026-02-24
88-Ball38#1410.397#7872026-02-24
9Billiards Table90#2223.174#9222026-02-24

47 / 100 puzzles solved ꒰ᐢ⸝⸝•༝•⸝⸝ᐢ꒱

07 - Game Ideas

#PuzzleCode SizeLeaderboardCyclesLeaderboardDate
1Mini Truck68#4410.656#7392026-02-24
2Octopus83#3420.361#8232026-02-24
3Winter Hat47#5222.698#3872026-02-24
4Toy Tank56#18723.041#9022026-02-24
5Power Outlet85#5421.810#10272026-02-24
6Roll a D686#4321.984#9862026-02-24
7First-gen 3D game console227#29429.679#8152026-02-24

54 / 100 puzzles solved ꒰ᐢ⸝⸝•༝•⸝⸝ᐢ꒱

08 - Music

#PuzzleCode SizeLeaderboardCyclesLeaderboardDate
1Synthesizer88#6614.089#5652026-02-24
2Guitar146#6528.617#6092026-02-24
3Headphones84#8315.777#4152026-02-24
4Xylophone116#10917.754#4942026-02-24

58 / 100 puzzles solved ꒰ᐢ⸝⸝•༝•⸝⸝ᐢ꒱

09 - More Game Ideas

#PuzzleCode SizeLeaderboardCyclesLeaderboardDate
1Improbable Tower49#14817.558#10462026-02-24
2Clever Disguise110#14315.860#3542026-02-24

60 / 100 puzzles solved ꒰ᐢ⸝⸝•༝•⸝⸝ᐢ꒱

How Replicube works

Your code runs as a function evaluated for every voxel in a 3D grid. You get x, y, z coordinates and return a color (1-16) or 0 for empty. That’s it! Simple concept, surprisingly deep rabbit hole.

-- fill the whole cube orange
return ORANGE

-- top half blue, bottom half orange, using bit math
return y+11&-4

About

These solutions are a collaboration between me and Claude ✧⁺⸜(●˙▾˙●)⸝⁺✧

Each puzzle has its own folder with:

  • solution.lua with the golfed code
  • README.md with explanation and breakdown
  • solution.png screenshot from the game’s share feature