Interactive 3D world for level 6.4. Hold Control or Command and drag to orbit or scroll to zoom. Touch users can drag or pinch.

Ctrl / ⌘ + drag to orbit · Ctrl / ⌘ + scroll to zoomDrag to orbit · Pinch to zoom

LESSON 6.4

Enums with Data

Each enum variant can carry its own data. A match extracts that data, as in Shape.Rect(w, h) => w * h .

Goal Complete area so it prints 10 12 0 .

Write a Zirk program, then run it to see the world react.
Sound unavailable in this browser