Working notes: 2026-11-22: one app for the tablet, seven new games each with a robot in Hazel, and every level clearable
Claude, 12:30 MST on 11-22, from this session's records (the dashboard's tickets, the commits, the transcript). Picks up from the 11-21 note.
In short
- Every activity in one home-screen app, offline, for the kids' tablet (
^ticket(821), 0.0.45); Checkers for N, Hazel's moves animated and a skill slider whose low end makes mistakes (^ticket(822)); full screen for every activity, in one column too (0.0.48). - Seven new games, each one's rules and its robot (🤖 Hazel plays for you) in Hazel, compiled by hazel-jit: Downhill (
^ticket(823)), Bricks (^ticket(824)), Snake (^ticket(825)), Light trails (^ticket(826)), Star wave (^ticket(827)), Butterfly garden (^ticket(828)) and Gnome dig (^ticket(829),^ticket(830)). - Original games in those genres, and reimagined where Matthew asked: Star wave sends hearts up to visitors who turn the town rainbow, the last heart just right; Bug run became the Butterfly garden; the digger became a gnome.
- Every level clearable, with Hazel's robot as the proof: Gnome dig redesigned (0.0.60; 2400 of 2400 levels), the Butterfly garden too (0.0.62; 1000 of 1000 gardens).
- Sound: a pause for every game whose time runs on its own (0.0.53), paces from briskly 1x to 10x (0.0.54), songs in a Mega Man style (0.0.55), volume sliders (0.0.56), six in major keys (ska, New Orleans funk, house; 0.0.57), and reggae for the garden (
^ticket(831), 0.0.63). - Gnome dig's scene, made by a new Hazel module: trees on top grown as Dress Up grows its trees, roots as deep as the ground and low in contrast, mycelium, an ants' nest, a rabbit, a mole, a badger (
^ticket(832), 0.0.64 to 0.0.66). - The way home: Activities with Hazel's hazelnut beside full screen (0.0.57); the seven games listed on matthewhammer.org/hazel/ and in its nav.
Matthew, today
The usecase is the kids' tablet, where I don't want to manually create new homescreen icons for each activity --- i want one menu app that has all of the others inside, to all work offline together.
N wants a new feature -- animated AI gameplay, so that he can see what's happening as a 1 second or so animation
For each game, be sure to include "automated gameplay" mode, as we've already done with the current set.
don't ask me for pushing --- I will test on other machines from the public prototype, which is WIP
the aliens are coming down, and they want to receive a "love heart" that's shot up at them, not a laser beam.
let's reimagine "bug run" into a more positive theme somehow --- any suggestions?
for the "dig dug" clone --- if the AI cannot clear every level, that implies that the levels that are too challenging to clear need a redesign to be clearable
for the deep dig game -- let's redo the main char as a gnome.
let's do some major key, reggae-ska (fast paced) tracks -- the current ones all seem minor key
let's generate that geometry for roots with more Hazel code.
the roots should go as deep as the screen
for the trees, use the "pads" SVG routine from messed up dress up
What was done
^ticket(819). The team in the archive's pictures: 46 of them, each grey with and without hair, the team in a row.^ticket(821), one app. 0.0.45: the front page has its own manifest and icon (nine activities' icons in a grid); one service worker saves every activity.^ticket(822), Checkers for N. 0.0.46 and 0.0.47: Hazel's piece carried square by square; a skill slider, 1 to 8; your own moves animated, and the robot's at its pace.^ticket(823)to^ticket(827). 0.0.49 to 0.0.52: Downhill (an endless slope Hazel makes a stretch at a time, a snowball after you), Bricks, Snake (a robot that floods for room), Star wave; Light trails in 0.0.58 (Hazel's rider at three skills; the 60 to 0 at equal skill one game repeated).^ticket(827), Star wave reimagined. 0.0.57: visitors drop rainbows that turn the town's 22 floors rainbow; hearts connect; the last heart within 8 seconds of the town all rainbow; the robot paces its hearts, just right on 600 of 616 waves.^ticket(828), the Butterfly garden. 0.0.61 and 0.0.62: caterpillars fed nectar curl into cocoons whose butterflies open the buds; the garden in full bloom wins; a look-ahead robot clears every garden.^ticket(829),^ticket(830), Gnome dig. 0.0.60: the lantern stuns every monster within three cells, at most four monsters, never faster than you dig. 0.0.61: the digger a gnome of our own, the game renamed, a thumbnail to match.^ticket(831),^ticket(832). 0.0.63: two reggae songs of our own on the shared chip. 0.0.64 to 0.0.66: Gnome dig's scene (Scene.hz), its roots grown a segment at a time to the bottom of the ground, drawn as a shade of each square; trees with Dress Up's limbs and leaf pads.- Icons for Downhill, Star wave and Pinball redrawn, and their detail brought into the games (0.0.58, 0.0.59); the fields centred in full screen.
The afternoon, from 12:30
Matthew kept the requests coming while the work notes were written; each went into Gnome dig or into every game. "okay the new sunlight dynamic makes the levels more fun", he said along the way.
when the dirt is removed, the worms and moles, etc, should drop down.
let's include a ground-water element on some levels -- not all of them.
let's have a rule that if a rock falls on an animal in the ground (not a ghost), we lose the level.
let's put the controls and scroe into a HUD and stretch the game to full height in full screen.
can we make shafts of light that come into the holes, from the actual position of the sun, somehow?
^ticket(833), 0.0.67. The creatures drop as you dig, where Hazel's newScene.landingsays they land; the dug squares a darker back wall with other roots, two layers deep; the badger drawn again. Live and checked.^ticket(834), 0.0.68. The mole, the rabbit and the badger in the rules: dug out they drop, and a boulder on one loses the level. Ground water on half the levels from the second, your breath under it, and diving gear three or four cells down, reachable on one breath by digging straight to it. The robot digs round the animals and fetches the gear first: in a JavaScript copy of the rules, checked against Hazel, it cleared 2,400 of 2,400 fresh levels.^ticket(835), 0.0.68. Every game in full screen: the field as tall as the window under a heads-up display of ☰, Activities, ✕, the score and the controls; on a phone, stacked.^ticket(836),^ticket(837), 0.0.68. Gnome dig's music (two new major-key tunes) and sounds; the gnome's ladders and timber sets; the roots in front of the holes, the gnome and the animals behind them.^ticket(838), 0.0.68 and 0.0.69. Shafts of sunlight from the sun in the sky into the holes that can see it; the creatures leave the light, the worms and beetles by the page, the mole, the rabbit and the badger by Hazel (Dig.sunlit). 0.0.69 also centred "Game over" again.^ticket(839), 0.0.70. The ghosts never step into the sunlight; let it in on one and it runs to the shade, or, with none, burns up (150 points). A running ghost looks scared, with a "!".^ticket(841), 0.0.70. ☰ hides the full-screen HUD; the status under ⓘ; on a phone the board fills the height under the HUD in every game.^ticket(840), 0.0.71. The love shooter: on some levels, an item in the earth; with it, the ghosts within three cells run from you, hearts flying.^ticket(842), 0.0.72. Bedrock, more of it in later levels, often over a ghost's pocket so the sun cannot reach it. The robot needed four changes to clear every level again, found by running it on thousands of fresh levels: no bedrock walls (runs never touch), safe passage past an animal with no boulder above, animals never walking under a loose boulder, and catching stunned ghosts, with now and then a stretch of hunting, to end a standoff with a ghost guarding the last gems. 2,400 of 2,400 cleared.^ticket(843), 0.0.73. The lantern is something to find from the fourth level, glowing near the top. Without it the robot first kept dancing over a slab of bedrock with a ghost under it, as its sense of danger counted cells straight across; it now counts a ghost's moves round the bedrock, and clears every level again.
Where things are
| What | Where | State |
|---|---|---|
| hazeljs-examples | main | 0.0.73, the last of the day so far |
| the games' compiles | hazelgrove/hazel trial/794-games-aot, b739b08a54 | Gnome dig's rules and scene |
| matthewhammer.org/hazel/ | matthewhammer.github.io, ca4aa538 | the seven games listed |
^ticket(795), ^ticket(811) | the dashboard | open |
Next
- Whatever Matthew and N ask of the games next; the live site is the prototype he tests from.
- The hazeljs package (
^ticket(795)) and the search report (^ticket(811)), still open.