Ruby Scheme Games Animation Hardware Robotics Data Science Simulation Mobile Websites Lua No Installation Needed Shareable Fun for Anyone Gateway Drug Saturday, November 2, 13
an if to check if the number is positive.”; var pattern = function() { var $numVar = $numVal; if ($numVar > 0) { rect($x, $y, $w, $h); } }; result = match(pattern); if (passes(result)) { var goodX = structure(pattern, inRange(“$x”, 10, 20)); if (!matches(goodX)) { result = fail(“Hm, does your rect start on the side?”); } } assertMatch(result, descrip, displayP); }); How we assess learning: challenges Saturday, November 2, 13