← All work

The problem

I wanted to learn Rust by building something visual, where every rule has an effect you can see.

What I built

A cellular simulation with macroquad. Materials include sand, water, stone, wood, fire, smoke and gunpowder, and you paint them with the mouse or drop a bomb.

The result

A playable sandbox in about 600 lines of Rust, with simulation tests that run through cargo test.