The Replicube logo appears next to colored code lines and a cursor beside a multi-colored voxel structure.10/10

Replicube 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.

A programming interface showing code notes on the left and a 3D voxel temple structure with coordinate axes on the right.

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.

A programming interface showing code on the left and a comparison of a target voxel cube versus the player's generated result on the right.

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.

A programming interface shows code in the center, a project list on the left, and a red and purple voxel grid output on the right.

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.

Games like Replicube

See all
The A=B logo appears on a dark background with code lines and the subtitle A One-Instruction Esolang.

A=B

Write tiny programs by swapping one symbol for another, then keep tightening them until they use the fewest lines possible.

95% of 920 Steam reviews are positivePlayers online now: 9$4.99
The Retro Gadgets logo floats over a workbench with a circuit board, soldering iron, and green-screen monitor.

Retro Gadgets

Craft working retro devices at a pixel workbench, then publish them to a community workshop.

88% of 482 Steam reviews are positivePlayers online now: 3$19.99
Neon sign displays the title You Are The Code in pink, white, and blue against a dark background with faint circuit lines.

You Are The Code

Choose which ready-written lines execute in each order until the output matches the goal, while bugs creep along the program.

100% of 42 Steam reviews are positivePlayers online now: 1$4.39
The Glitchspace logo shows the title text below a white, blocky 3D shape on a light blue background.

Glitchspace

Glitchspace is about reprogramming the game to solve puzzles.

72% of 377 Steam reviews are positiveFree
The metallic HEXAHEDRA logo overlays a dark background of industrial machinery, pipes, and glowing blue circular components.

Hexahedra

Hexahedra is a puzzle game about beautiful efficiency. Design, program, and optimize factories to build cubes, used galaxy-wide as crates, satellite…

100% of 20 Steam reviews are positive$20
The Parking Garage Rally Circuit logo appears next to a yellow rally car jumping over a road with a city skyline background.

Parking Garage Rally Circuit

Retro Arcade Rally Racing... in Parking Garages?!? Precision driving with tight simple controls and arcade physics, all in a Sega Saturn style…

96% of 1,636 Steam reviews are positive$9.99
Colorful jelly cars with faces drive near the stylized JellyCar Worlds logo on a patterned background.

JellyCar Worlds

It's a Car, made of Jelly! Squishy Physics, Tactile, Silly & Imaginative Driving/Platforming

96% of 1,019 Steam reviews are positivePlayers online now: 10$7.99
A gymnast balances on a ball atop a pole next to the Pro Gymnast Simulator logo against palm trees.

Pro Gymnast Simulator

Guide your athlete through tumbling routines and obstacle courses, one arm and one leg at a time.

92% of 105 Steam reviews are positivePlayers online now: 2$14.99