10/10Replicube Write code, sculpt voxels
Match each reference object by coding your way to the same voxel shape, then tune the source for size or for speed.
Is Replicube for you?
Replicube is a programming puzzle toy where you write Lua to rebuild reference objects in voxels, then choose whether to chase a shorter source or a faster run. The atmosphere stays calm and low pressure, and shaping a form with code gives each solved puzzle a satisfying finish. You can branch out into a 2D editor for images and GIF animations, open the tool with no puzzle to match, and post your work to the in-game forum. The gentle learning curve makes it approachable even if you're new to programming, while the leaderboards give the same puzzle a second round of play. Later puzzles have a difficulty spike that can make them start to feel like work, and optimizing code readability is tedious. The game is at its best for someone who enjoys solving one shape many ways and then squeezing more out of the solution.
- Single-player
- 1 player
- Windows
- macOS
- Linux
What’s good
- The freedom to solve puzzles in many different ways
- The relaxing and cozy atmosphere of the game
- The satisfaction of creating shapes with code
- The ability to optimize code for size or speed
- The gentle learning curve for Lua programming
What’s not
- The difficulty spike that makes later puzzles feel like work
- The tedious nature of optimizing code readability
Replicube is an open-ended programming puzzle toy where code becomes 3D art. You write Lua to rebuild a reference object voxel by voxel, with no single right answer, then optimize for a shorter source or faster execution, knowing one usually costs the other. Finished voxel objects export to common 3D formats, images go out as png or gif, and an in-game forum styled like a classic online board lets you share creations and challenge others to recreate them.
Matching a reference object with code
Each puzzle hands you a reference object and an empty stretch of code. Your job is to work out a sequence that builds the same thing in voxels: place a block, repeat a row, stack a layer, until the shape on your side matches the one you were given. The target is fixed, the route to it isn't. Maybe you lay every voxel down one at a time, maybe you loop over coordinates and let the math fill in the rest. Both are correct. Nothing in the game grades your approach, only the finished shape: match the reference object with your code and the puzzle is solved, however ugly or elegant the source looked along the way. That openness is the whole point: a puzzle is a shape, and the code is your way of arriving at it.

Open editing, leaderboards, and a 2D editor
The voxel tool can also be opened outside a puzzle, with no reference object waiting and nothing asking you to match anything. You just make what you want, block by block, for its own sake. Alongside the main 3D editor sits a bonus 2D image editor, and it works the same way: write code, watch it produce 2D images or GIF animations, tweak the source until the frame looks right. When you would rather compete, every puzzle carries two leaderboards, one measuring source code size and the other execution efficiency. Those two pull in opposite directions, because shrinking the source usually costs you execution efficiency and shaving cycles tends to lengthen the code. So you pick a side for a session and chase it: a tiny, clever solution that runs slowly, or a sprawling one that finishes fast, and you see where your choice lands.

Sharing builds and taking creations elsewhere
The in-game online forum is where finished work leaves your machine. You post a voxel creation, browse what others have posted, and issue a challenge: here is my object, now try to recreate it.
Beyond the forum, your objects have somewhere else to go. Anything generated in 3D exports into common formats, ready for other 3D creation tools to open. A shape you solved a puzzle with can carry on as an asset in a bigger project. The 2D images and GIF animations export as png or gif, ready to be shared wherever you like. Work keeps moving after a puzzle is done: write code, watch the object appear, send it out, see what comes back.

Questions readers ask about Replicube?
What language does Replicube use?
Replicube uses Lua. You write Lua code to place voxels, loop over coordinates, and build up the object the puzzle asks for. The learning curve for Lua is gentle here, since each run of your code shows the shape it produced and you edit from there.
Can you create your own puzzles to share?
The game includes a level editor for making your own content. The in-game online forum gives your creations somewhere to go: you can post a voxel object and challenge other people to recreate it, and browse the challenges others have posted. Every puzzle also carries two leaderboards, one tracking how short your source code is and the other how fast it runs.
Is the game suitable for beginners to programming?
Yes, the learning curve for Lua programming is gentle. Each puzzle gives you a reference object, you write code to reproduce it, and the result appears as voxels you can compare side by side with the target. Opening the voxel tool outside a puzzle or trying the bonus 2D image editor gives you room to experiment with nothing grading the outcome. The difficulty does rise: later puzzles have a spike that can start to feel like work.
How do you export your creations?
Generated 3D voxel objects export into common formats you can bring into other 3D creation tools. Generated 2D images and animations export as png or gif, ready for sharing online. You can also save an image creation as the background of the game's OS interface.














