From 60dc436c3ac7d6cda00db4c1e24349f0cc866d0d Mon Sep 17 00:00:00 2001 From: Nathan Hedglin Date: Sun, 14 Jun 2026 15:48:22 -0500 Subject: [PATCH 1/2] fix(playground): repair stale/broken examples + make the example verifier faithful MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The deployed playground examples had drifted from current Silicon syntax, and several "examples" didn't actually do what they claimed: - Snake: was a counter that never drew anything — now a real, playable snake (growing tail + self-collision + food) drawn on the canvas each tick. The body lives in raw linear memory (WASM::i32_store/load); arrow keys steer, Space restarts. Input is latched into a per-tick `pend` turn so two fast key presses can't fold the head 180° into the neck, and food is placed only after the body is fully advanced so it never lands on the snake or reads an unwritten slot. - HTML list: only console-logged — now builds an HTML