Games Node.js
Node.js mastery path
Seven games, one idea each: the event loop, streams, the thread pool, modules, HTTP, the process lifecycle and buffers. In every level you predict what the code prints, put each piece where Node.js really puts it, and watch it run. Every level's code is checked against the real runtime, so what you see is what really happens.
- Step 1 · 0 / 44 levels
Loop Quest
The event loop: call stack, timers, promises, async/await, nextTick, setImmediate, events and errors.
- Step 2 · 0 / 6 levels
Pipe Works
Streams, chunks, backpressure, pipe, pipeline and for await.
- Step 3 · 0 / 7 levels
Thread Pool
libuv's four helpers, blocking calls, sockets and worker_threads.
- Step 4 · 0 / 8 levels
Module Maze
require, the module cache, exports, circular requires, import hoisting and top-level await.
- Step 5 · 0 / 7 levels
Request Relay
Request handlers, bodies, headers, middleware, next() and errors.
- Step 6 · 0 / 8 levels
Process Lifecycle
beforeExit, exit, exit codes, unref, signals and graceful shutdown.
- Step 7 · 0 / 5 levels
Byte Lab
Buffers, bytes, encodings, shared views, copies and split letters.