LEGOยฎ-style arcade ยท Set 72051 tribute
Ready when you are. Pick a mode, then press Start.
Turn it on and Mario plays on his own โ now with trajectory prediction. Every frame it re-simulates where each barrel will roll, drop, and land over the next ~3 seconds, measures its distance to every barrel and to Donkey Kong himself, then tests each ladder's whole route against those future paths and picks the ladder no barrel trajectory crosses. No scripted replay โ it foresees, measures, and reacts live.
How it thinks: โ Sense & measure โ distance to every barrel and to Donkey Kong, recomputed each frame. โก Predict โ each barrel is re-simulated forward ~2.8s with the game's own physics: rolling downhill, dropping off girder ends, landing below (the dotted trails on screen are those predicted paths; red = the barrel blocking Mario's route, purple = a barrel Kong is about to spawn). โข Plan โ a ghost Mario flies each ladder route (run โ climb โ exit) through all the predictions; ladders a trajectory crosses are rejected (โ) for one that stays clear (โก), and a climb is held mid-ladder if a barrel is predicted at its top. โฃ Act โ run, climb, wait, or jump, through the same inputs a human uses. Press I anytime to toggle it, or grab the keys to take back control.
Real reinforcement learning, live in the page โ and now every attempt teaches it. Each time a level attempt ends, success or failure, a lesson is written, numbered, and saved into the episode archive below. Deaths take a โ10 penalty and raise jump-earliness on that girder; rescues earn +10, reinforce the exact ladders that worked (Q-learning, rate 0.25), and store them as remembered winning routes the autopilot prefers next time. Rewards in between: +2 per barrel jumped, +3 per girder climbed. The newest lesson is highlighted in yellow โ failures also paint orange danger zones on the screen.
No deaths recorded yet.
No attempts archived yet.
The archive lives in this page for the whole session and feeds the brain above: every record stays listed here, and the download keeps a permanent copy โ every episode, every lesson, the Q-values, and the remembered winning routes in one JSON file.
Exploration rate ฮต: 0.28 (decays after each episode โ it explores less as it learns). Learned jump-earliness per girder: none yet. Remembered winning routes: none yet. The autopilot uses all of it live: after a late-jump death it jumps earlier on that girder, and after a rescue it prefers the ladders that worked.
The boss leaves his perch. Once per level โ when you climb to the top two girders, or after ~15 seconds โ Donkey Kong leaps down onto the top girder, patrols it, hurls barrels point-blank, and stomps shockwaves along the girder that you must jump. Touching him is fatal. He retreats after ~7 secondsโฆ until the next level. Tap ๐ฆ Boss: Come Out! on the cabinet to summon him right now.
Donkey Kong is throwing barrels down the girders. Climb the ladders, leap the barrels, and reach Pauline at the very top before the bonus timer runs down.
On touch screens, use the on-screen buttons or drag the joystick. The yellow JUMP puck on the blue deck works too.
Every rescue moves you to a different construction site: the girders, ladders, and umbrella all move, and Kong throws faster. After stage 4 the maps cycle โ and keep speeding up.
The current stage shows in the score strip and on the banner at the start of each level. The AI autopilot re-plans its route for every new map.
A playable tribute to the LEGOยฎ Super Marioโข Donkey Kong arcade cabinet (set #72051) โ red marquee with star tiles, character medallions framing the screen, and the blue control deck with its yellow jump puck, rebuilt as a web page.
Built in the spirit of developer empathy: the game loop runs on canvas outside any UI re-render, sounds are synthesized live with the Web Audio API (they start only after your first tap or key press), and if the physics ever glitches, the cabinet shows a friendly reset instead of crashing. LEGOยฎ is a trademark of the LEGO Group, which does not sponsor or endorse this fan tribute.