← All projectsDownload CV ↓

Ilias Mouatacim / Terrain

Cube Crafter

A browser game where players can dig, build, and share a world.

The player on a grassy ledge in the running voxel game.
Solo play in the live build
A deterministic isometric height map from the Terrain experiment.

Project Lab

Try a small interactive model of the system behind this project.

What you can do

A player starts in generated terrain, collects blocks and crafts items, then places the blocks back into the world. A second player can join the same room and see changes made by the first.

Share the seed, then the edits

The seed gives both clients the same starting point. Synchronizing block edits handles what players change after generation. The lab shows the seed side of that split with a small height map.

How it fits together

  1. World seedSets the starting terrain
  2. Three.js sceneRenders terrain and placed blocks
  3. PeerJS roomShares the seed and block edits
Try the terrain experiment →