What is this
"Ershov Computer" is a browser-based engineering simulator where you build your own computer step by step from absolute zero. Starting with the simplest logic gates, you'll construct increasingly complex blocks: memory, flip-flops, an arithmetic-logic unit, and finally a full 8-bit processor that you'll program yourself in assembly. This game turns complex computer architecture into a visual puzzle, helping you forever lose your fear of the "black box" of computing.
What's inside
Let there be light!
Source → receiver. Your first wire.
Negation
NOT gate from a single NAND.
Perfect pair
AND gate from NAND and NOT.
At least one
OR gate via De Morgan's laws.
Strict choice
Exclusive OR (XOR).
Half Adder
Sum (XOR) + Carry (AND).
Full Adder
A, B, CarryIn → Sum, CarryOut.
8-bit Adder
Cascade of 8 adders. Buses.
Crossroads
MUX: digital 2-to-1 switch.
Loopback
SR latch from NOR. Foundation of memory.
Smart memory
D flip-flop. Captures on clock edge.
Tangible Memory
8-bit register from 8 DFFs. LEDs show the byte.
Operation Selection
Multiplexer picks the result: ADD, AND, or OR.
Heart of Math
ALU: ADD, AND, OR, XOR, NOT, SHL, SHR.
System Pulse
Manual clock. The concept of Clock. Counter on LED8.
Program Counter
PC from register and ALU. Address sequencing.
Anatomy of a Decoder
Instruction → control signals.
FINALE: The Ershov Computer
Harvard processor. Build and program it!
What you'll learn
Step-by-step learning
18 levels take you from a simple wire through AND, OR, NOT gates, adders, flip-flops, registers, and an ALU to a fully working 8-bit processor. Each level unlocks new components.
Visual programming
No boring code at the start. Just an interactive canvas: drag elements, connect them, watch signals flow. Understanding comes through your hands — you literally see how every gate works.
Real architecture
You'll build a Harvard architecture processor — separate instruction and data memory, an ALU with 8 operations, general-purpose registers, a program counter. This is a simplified model of a real computer.
How it works
Build circuits from logic gates right in your browser. Drag components onto the canvas, connect them with wires, and see results instantly. The built-in checker compares your circuit against the truth table — you immediately see which bits match and which don't.
Advanced level
The game doesn't end with simple circuits. After building the basic processor, ROM and RAM modules, data buses, and instruction decoders await. You'll program your processor in a built-in assembler — writing real programs for the architecture you built with your own hands.
AI Tutor
An AI assistant lives in the right sidebar. It analyzes your circuit, finds errors, and asks guiding questions to help you figure things out on your own. If you're truly stuck — it will show you a step-by-step solution.
Game Economy
Complete levels successfully to earn the in-game currency — Transistors. Your engineer profile keeps a history of all your victories. But be careful: using the ready-made solution via hints will deduct transistors from your balance. An incentive to think for yourself!
Knowledge Library
You don't need to search for answers elsewhere. The Library has everything you need — from theory to practice:
- Level Guides — step-by-step walkthroughs for all 29 levels: from the first wire to the Snake game in assembly
- Component Guides — datasheets for 36+ elements with truth tables, pin descriptions, and usage examples
- Circuitry Articles — 22 articles on logic gates, processor architecture, assembly language, and more
- Interactive Demo Examples — live schematics of 9 gates: toggle inputs and watch outputs update in real time
Who is this for
Students
Computer science in practice. Live circuits you can touch with your mouse instead of dry theory.
Undergraduates
The perfect companion for a computer architecture course. All key concepts from gates to pipelining.
Enthusiasts
For everyone who always wanted to understand how computers really work, from silicon to code.
