CodeBlocks Lab

Build games with Scratch-like blocks while learning real code syntax in Python, C++, Lua, and Rust.

Block Library

Create custom block

Workspace

when green flag clicked
Program output will appear here.

Code Mirror

Every block maps to a real code line. Edit each line directly in the block to learn syntax by doing.


        
Execution core: workspace runs in a JavaScript runtime, and this project exposes a WebAssembly runner hook (`WasmRunner`) for plugging in language runtimes.