Code Machine

Overview

Code Machine is a compact puzzle game about helping a little worker robot escape a chaotic factory. You build sequences of commands, hit run, and watch everything unfold in real time.

It starts simple. Move here, push that, reach the goal. Then conveyors, doors, buttons, and hazards begin to get in your way.

It’s less about quick reactions and more about thinking ahead, spotting patterns, and nudging systems into doing the work for you.

Development Story

I made Code Machine in about 12 days for the 2026 Gamedev.js Game Jam. The theme was ‘Machines’ so I had the idea to let the user program a machine in a factory. I’ve made block pushing games before but I’ve never done indirect control like this, so it felt like a fun twist.

Instead of moving a character with the keyboard, you write instructions and let them play out.

Most of the time went into getting the core loop feeling right. Place commands, run them, reset, tweak, repeat. Once that worked smoothly, the rest of the game fell into place.

Design Notes

The whole game is built around simple systems interacting. Conveyors move things, buttons toggle doors, workers follow instructions. None of it is complicated on its own, but together it creates surprising behaviour.

I tried to keep everything readable at a glance. Clear tiles, consistent rules, and just enough visual feedback to understand what went wrong.

Levels are short and focused. The goal isn’t to overwhelm, but to give you small problems that escalate in interesting ways.

If I had more time, I’d like to explore more mechanics and maybe let players build their own levels.

Technical Notes

Code Machine was built with BeepMini and uses a lot of the built in systems to keep development fast:

Keeping everything predictable was important. If the same program gave different results, the puzzles wouldn’t work.

Player Tips

  • Start simple. Get something working, then refine it.
  • Watch what actually happens, not what you expect to happen. I tried to make the factory surprise you.
  • Make use of the Pause command. It helps a lot.

Reflection

I am really pleased with how Code Machine came together. I started making it on holiday so didn’t have the full jam to work on it. Fortunately keeping the scope small meant it didn’t spiral out of control.

The most interesting part is how much depth you can get from a few basic rules. It makes me want to explore more system-driven puzzle games in the future.

If I revisit it, I’d like to add more level variety and some more systems to interact with.