ロジックゲート
LogicGate
A circuit-building puzzle game about electricity and logic. Drag real-looking parts onto the board and finish each circuit before the 120-second timer runs out.
- Technology
- Practise: electric circuits and logic
- Recommended for ages 10+
- English · 日本語
- Version 0.1.0
- GPL-3.0
Build circuits, then watch them come to life!
LogicGate is a circuit-building puzzle game about electricity and logic. Drag real-looking parts onto a green circuit board: batteries, switches, push buttons, light bulbs, LEDs, resistors, buzzers, motors and logic gate chips. Each circuit has to be finished before the 120-second timer runs out. Press Test Circuit and the board comes to life: current flows along the copper, bulbs glow, LEDs light, the buzzer buzzes, the fan spins and the switches flip on and off by themselves so you can see exactly what you built.
Every circuit is randomized, including its parts, layout, LED colour and which sockets are empty, across seven kinds of puzzle. They start with a simple loop and a doorbell, move on to series (AND) and parallel (OR) switches, and end with real logic gates: AND, OR, NOT, NAND, NOR, XOR and two-gate combinations. Get it wrong and the game tells you why: a short circuit, an LED that burned out because it had no resistor, an LED put in backwards, or a light that turns on at the wrong times.
Recommended for ages 10 and up. An Introduction section shows what every part looks like, its schematic symbol, what it does and where it is used, with live demos and interactive truth tables. The title screen has a top 10 scoreboard and instructions in English and 日本語, and a toggle switches the whole game between the two languages. Relaxing ambient music plays while you think, and it can be switched off. The Parents Only screen records every circuit: the date, level, solve time, number of tests and score.
How to play
- Read the goal: the box on the right says what the circuit must do, such as “Light the LED only when switch A AND switch B are both ON.”
- Drag and drop: pick a part from the tray on the left and drop it onto a dashed socket on the board. Drag a part to another socket to move it, or off the board to remove it.
- Try it as you build: click a switch to flip it ON and OFF and watch what happens. Right-click an LED to turn it around, because LEDs only work one way.
- Remember the resistor: an LED needs a resistor in its loop, and a wire straight from + to – is a short circuit.
- Test Circuit: the game tries every switch position. If something is wrong you get a tip and lose 5 seconds.
- Be quick: you score 100 points for each finished circuit, plus 10 points for every second left on the timer, plus a level bonus. The run ends when time runs out.
Choose your difficulty
| Difficulty | Schematic removed | Score | What’s different |
|---|---|---|---|
| Easy | From level 9 | ×1 | One decoy part. New puzzle types arrive slowly. |
| Medium | From level 6 | ×1.5 | More decoy parts, and one piece of copper may be missing. |
| Hard | From level 4 | ×2 | Logic gates sooner, missing copper to fill with wire, and LEDs that may arrive backwards. |
It gets harder
Early levels show ghost pictures of the parts in each socket and a blueprint schematic of the circuit. Next the ghosts disappear and you work from the schematic alone, so you learn to read the symbols. Finally the schematic goes too, and you build the circuit from the written description only. Before each level, a card introduces every part you haven’t met yet.
Controls
Drag parts with the left mouse button. Click a switch to flip it. Right-click a placed LED to flip it, or any other part to remove it. Press T or the Test Circuit button to test. Esc pauses and F11 switches full screen.
No download needed
Try a tiny taste
A small browser demo inspired by the game. The full game is much bigger!
No download needed
Play online
Play LogicGate right now in your web browser, with nothing to install.
Play now- Works on computers, phones and tablets
- The first load takes a few seconds
- Your progress is saved in this browser
Free and open source
Download LogicGate
Android
Coming soon
Not uploaded yetSource code
shoukugames/LogicGategit clone https://github.com/shoukugames/LogicGate.git
cd LogicGate
python3 -m pip install -r requirements.txt
python3 run_game.py