- Noosaga
- Courses
- Applied Logic & Computing
- Logic, Circuits & Algorithms
Applied Logic & Computing · Breadboards, CPUs & Automata
Logic, Circuits & Visual Algorithms Forge
Build computing from silicon gates to theoretical machines across 10 interactive forge towers: wireable breadboards (NOR/XNOR/MUX/Adders/DFF), Karnaugh maps, an animated Fetch-Decode-Execute 4-Bit CPU, BFS/Dijkstra/A* pathfinding, sorting & Big-O, live Regex, DFAs, Turing machines, Huffman trees, and Hamming(7,4) error correction.
- Wireable Gate & DFF Breadboard
- Animated 4-Bit Micro-CPU
- BFS / Dijkstra / A* Courtyard
- DFA, Turing, Huffman & Hamming
- Practice Towers
- 10
- Guided Floors
- 40
- Crown Rooms
- 10
- Verification
- Live Engine
What You Will Practice
Click pins directly on a lapis-and-gold Painter2D breadboard with a live 2^N clickable truth-table debugger and clocked waveform scope, wrap Gray-code groups around toroidal Karnaugh maps, and watch registers pulse as your 4-bit CPU computes Fibonacci.
Every circuit, pathfinder, state machine, prefix tree, and Hamming parity check runs natively in pure C# with tactile brass-relay and tape-head DSP audio.
- Boolean logic, universal NAND/NOR gates, adders, multiplexers, and clocked flip-flops
- Toroidal Gray-code Karnaugh map minimization and 4-bit Fetch-Decode-Execute CPUs
- Visual BFS/DFS/Dijkstra/A* pathfinding, sorting partitions, and Big-O growth curves
- ReDoS-safe regular expressions, DFAs, Turing machines, Huffman entropy, and Hamming(7,4)
Course Curriculum (10 Towers · 40 Interactive Floors)
- Tower 1
Tower 1 · Logic Gates & Binary Adders
Wire glowing lapis breadboards from basic switches through universal NAND, XOR, Half-Adder, and 3-input Full Adder.
- Switches, NOT & Guarded AND
- De Morgan & Universal NAND
- Exclusive-OR (XOR) from Primitives
- The Binary Half-Adder
- Tower 2
Boolean Algebra, K-Maps & Decoders
Minimize Boolean functions on toroidal Karnaugh maps, prove NOR universality, and wire Multiplexers from primitives.
- De Morgan & Universal NOR
- Karnaugh Maps · Eliminating Variables
- Toroidal Wrap-Around Loops
- The 2-to-1 Multiplexer (MUX)
- Tower 3
Binary Arithmetic & The ALU
Chain Half-Adder and Full-Adder ICs into multi-bit ripple adders, build Zero flags and comparators, and wire a selectable ALU.
- Controlled Inverter (Two's Complement)
- 2-Bit Ripple-Carry Adder (HA + FA)
- The CPU Zero Flag (Z)
- 2-Bit Magnitude Equality Comparator
- Tower 4
Clocks, Flip-Flops & Memory
Break free of pure combinational logic with clocked D-Flip-Flops, timing waveforms, frequency dividers, loadable registers, and edge detectors.
- The Clocked D-Flip-Flop (1-Tick Delay)
- Toggle Flip-Flop (Clock Divider)
- 1-Bit Loadable Memory Register
- 2-Stage Serial Shift Register
- Tower 5
Inside The CPU · Fetch, Decode & Execute
Step a real 4-register Micro-CPU cycle-by-cycle: load registers, drive the ALU, loop with JNZ branches, multiply, and compute Fibonacci.
- Fetch, Decode & ALU Addition
- Bitwise ALU Masking (AND & XOR)
- Conditional Branching & Loops (JNZ)
- Multiplication by Repeated Addition
- Tower 6
Tower 2 · Visual Graph & Pathfinding
Step directly as BFS, DFS, Dijkstra, and A* across weighted marble palace grids with live frontier inspection.
- BFS Wavefront (FIFO Queue)
- DFS & Stack Backtracking
- Dijkstra's Weighted Shortest Path
- A* Heuristic Intuition (f = g + h)
- Tower 7
Tower 3 · Sorting & Complexity Intuition
Binary Search halving, Insertion Sort bar swaps, Quicksort pivot partitioning, and Big-O scaling curve mastery.
- Binary Search · O(log n) Halving
- Insertion Sort & Local Swaps
- Quicksort Pivot Partition
- Big-O Scaling Curves & Data Structures
- Tower 8
Tower 4 · Live Regex & Pattern Forge
Hands-on regular expression puzzles with instant Must-Match / Must-Not-Match feedback, quick token pills, and ReDoS timeout safety.
- Literals & Character Classes
- Quantifiers & Anchors (^ $ + {n})
- Alternation & Grouping (a|b)
- Word Boundaries & Negated Classes
- Tower 9
Finite Automata & Turing Machines
Design Deterministic Finite Automata (parity, suffixes, divisibility by 3) and program a live Turing Machine tape head.
- DFA · Even Number of 1s (Parity)
- DFA · Binary Strings Ending in "01"
- DFA · Binary Divisible by 3
- Turing Machine · Bitwise Tape Inverter
- Tower 10
Information Theory & Coding
Approach Shannon's Entropy limit with interactive Huffman prefix trees, and encode/repair cosmic-ray bit flips with Hamming(7,4) Venn circles.
- Huffman Prefix Tree · 4 Symbols
- Huffman Tree · 5-Symbol Star Telemetry
- Hamming(7,4) · Encoding Parity Circles
- Hamming(7,4) · Cosmic-Ray Bit Repair
Deterministic Verification & Crown Payoff
Exhaustive 2^N Truth-Table, Clocked Waveform & Automata Verification
Tests every input combination on breadboards, verifies minimal K-map prime implicants, simulates exact CPU cycles, and runs ReDoS-safe regex, DFA, and Turing tape acceptance suites.
Supported inputs: Wireable Breadboard · K-Map Grid · 4-Bit CPU · Graph/DFA/Turing Workbenches
Crown Room payoff: Wire clocked sequential hardware, program state machines, and repair noisy Hamming codewords across 10 Forge Crown challenges.
Practice Logic, Circuits & Algorithms Inside Nousfarer
Land directly on the Logic, Circuits & Visual Algorithms Forge planet inside Nousfarer to climb all 10 interactive towers right in your browser.
Frequently Asked Questions
How does Logic, Circuits & Algorithms verify my work?
Tests every input combination on breadboards, verifies minimal K-map prime implicants, simulates exact CPU cycles, and runs ReDoS-safe regex, DFA, and Turing tape acceptance suites. Every floor runs deterministically in your browser with immediate feedback — no video pausing or guesswork.
How much content is included in Logic, Circuits & Algorithms?
The planet spans 10 progressively richer towers (40 guided floors plus 10 Crown Room capstones), paired with Ship Owl spaced-repetition recall whenever you want to sharpen a tricky concept.
What equipment or setup do I need to play Logic, Circuits & Algorithms?
Everything runs directly inside your browser inside Nousfarer with zero plugins required. Supported inputs: Wireable Breadboard · K-Map Grid · 4-Bit CPU · Graph/DFA/Turing Workbenches.