Ctrl / ⌘ + drag to orbit · Ctrl / ⌘ + scroll to zoomDrag to orbit · Pinch to zoom
The 3D world is unavailable in this browser. Your lesson, code, and results are still available.
LESSON 3.7
match compares one value with several cases. _ catches every value not listed.
match
_
Goal Print ground , water , wall , or unknown based on the value returned by tile() .
ground
water
wall
unknown
tile()