Step 6 of 10 · E · Game — match types to values
Match types to values
Sort values into their family bucket
Sort each value into the bucket whose type-stamp it matches.
How to play — drag a chip from the bank below onto the bucket where it belongs. Drop it back in the bank to undo. A typed box only welcomes values from its own family.
number
drop values here
string
text
drop values here
boolean
yes/no
drop values here
list
drop values here
Bank — drag from here
Each value belongs to a family. The type stamp on a box says which family is allowed inside.
You just did by hand what programming languages do automatically — checking that the kind of value matches the kind of box.
