Skip to content
← All projects

Coding Cubed

3D block-building game in Godot that teaches variables, conditionals, and loops through logic blocks you wire together.

  • Godot 4
  • GDScript
  • GitHub Actions
  • itch.io

Scope: 4x4 · Done (solved)

View code on GitHub(opens in a new tab)

Coding Cubed initials recreated using ‘IF’ and ‘INC’ blocks in sandbox mode.

Main menu for Coding Cubed video game.

In Coding Cubed, you learn programming by building with blocks that act like code. You place variable blocks, if blocks, and incrementers, wire them together, and trigger them with a signal. The levels start with variable assignment, move on to conditionals, and end with a for loop. We made it as a team of four for our software engineering course, and you can play it on itch.io (opens in a new tab).

Level 1 prompt for the player.

I built the UI, player movement, and how the player interacts with blocks. That included the variable block’s editing menu, the signal flow through wires, and the first level with in-game tips. I also wrote some of the tests, and helped set up the GitHub Actions pipeline that exports the game for Windows and macOS and publishes it to itch.io.

Solution for level 1.