A hexagonal logic-circuit puzzle game built for the raylib 6.x Game Jam!

🧠 The Puzzle

Welcome to Hex Gate, where digital logic meets a hexagonal grid. Your objective is simple but challenging: build circuits using basic logic gates to match a randomized hexadecimal target value.

Connect your 4-bit input signals, route them through various logic gates, and wire them up to the output panel to solve the puzzle. Be careful, though—a blocked central node means you'll have to get creative with your routing, and trying to bypass the puzzle as a "Lazy Developer" will earn you a funny penalty!

✨ Features

  • Hex + Merge Theme Integration: Merge data streams using logic gates on a hex grid.
  • 7 Logic Gate Types: AND, OR, NOT, XOR, NAND, NOR, and XNOR — each with distinct visual shapes.
  • Intuitive Wiring: A satisfying drag-to-wire connection system (Max 2 wires per output pin).
  • Live Circuit Evaluation: Watch your signals propagate through the network with real-time glowing animations.
  • Infinite Replayability: Randomized inputs and target hex values give you endless puzzles to solve.
  • Retro Aesthetics: Beautiful pixel-art style with glowing CRT-style effects.

🎮 Controls

  • Mouse (Left Click):
    • Select a gate from the palette and click a hex cell to place it.
    • Click an output pin, then click an input pin to wire them together.
    • Click a wired input pin to remove the wire.
  • Mouse (Right Click): Remove a placed gate (and its attached wires).
  • Keyboard:
    • R — Randomize the target hex value and inputs (New Puzzle).
    • Esc — Cancel current selection / Return to Title.

🛠️ Built For The Raylib 6.0 Jam

This game was built from scratch in 6 days using C++ and raylib 6.0.

Leave a comment

Log in with itch.io to leave a comment.