DONKEY KONG JR.

LEGO®-style arcade · Set 72051 tribute

Score000000
Hi-Score000000
PlayerJR
Lives
Level1
StageVines
Bonus5000

INSERT COIN

Climb the vines, dodge the Snapjaws, and free Donkey Kong from Mario's cage.

STARRING JR

Ready when you are. Pick a mode, then press Start.

Move
Space

🤖 AI Autopilot — watch it play itself

Turn it on and Jr. plays on his own — vine-route planning, Snapjaw prediction (red ones climb back up, blue ones drop), Nitpicker and egg timing, and fruit drops to clear the way. No scripted replay — it foresees, measures, and reacts live.

AI is asleepPress Start AI Auto-Play — or tap the green AI button on the cabinet — and watch it think out loud here.
Danger
Clear
Vine forecast appears here while the AI plays: the route it picked, the nearest Snapjaw, and a CLEAR / BLOCKED verdict for each vine ahead.
0Jumps
0Dodged
0Climbs
0Rescues

🧠 RL Brain — it learns from every failure

Real reinforcement learning, live in the page — every attempt teaches it. Each time a life ends, success or failure, a lesson is written, numbered, and saved into the episode archive below. Deaths take a −10 penalty and make the AI wait longer near Snapjaws; rescues earn +10 and reinforce the exact vines that worked (Q-learning, rate 0.25). The newest lesson is highlighted in yellow — failures also paint orange danger zones on the screen.

0Episodes
0Deaths learned
0Total reward
0Q-updates
0Rescues learned
0Archived
★ What it learned — newest lesson highlighted
No lessons yet. Finish one attempt — rescue the key or lose a life — and the first lesson lands here, highlighted.

Failure heatmap — deaths per section

📚 Episode archive — EVERY attempt saved

  1. No attempts archived yet. Finish a life — reach the key or lose it — and its record lands here, numbered and time-stamped.

The archive lives in this page for the whole session and feeds the brain above. The download keeps a permanent copy — every episode, every lesson, and the Q-values in one JSON file.

🧒 Your Player — play as your own pixel hero

Upload a pixel-art picture of your player (for example a pixel version of your son) and give them a name. The game plays as that character — in both modes and in AI Auto-Play. The picture never leaves this device.

JRDefault Donkey Kong Jr. sprite

Tip: a small square pixel-art image (16×16 or 32×32) looks best. Big pictures are shrunk to fit.

How to play

Donkey Kong is locked in a cage at the top. Climb the vines, dodge the Snapjaws, and reach the key to chase Mario off. Touch hanging fruit to drop it on the enemies below — one fruit can take out a whole line of them.

  • ← → / A D — Run along a platform
  • ↑ ↓ / W S — Climb a vine (one vine: slide down · two vines: climb faster)
  • Space — Jump — clear an enemy for 100 pts
  • I — Toggle AI Auto-Play · P — Pause / resume · Enter — Start
  • On touch screens, use the joystick or the arrow buttons; the yellow JUMP puck works too.

Two ways to play

Modern Mode — the forgiving one. 5 lives, slower Snapjaws, Nitpickers and Sparks, jump buffering, coyote time, a short grace period after each respawn, and long falls only hurt from a real height. The way to learn the jungle.

Classic Arcade Mode. 3 lives, original speed and enemy rates, no respawn grace. Quarter-munching difficulty, minus the quarters.

Four stages — jungle to hideout

Every rescue moves you to a different stage in the Japanese arcade order. After stage 4 the stages cycle — and keep speeding up.

  • Stage 1 · Vines — Climb the jungle vines past the Snapjaws to the key.
  • Stage 2 · Jump Board — A springboard shortcut, moving platforms, suspended chains, and Nitpickers dropping eggs.
  • Stage 3 · Mario's Hideout — Platforms wired together, patrolled by red and blue Sparks.
  • Stage 4 · Chains — Push six keys up six chains into their locks to free Donkey Kong.

Scoring & survival tips

  • Jump an enemy: 100 pts. Drop fruit on enemies: 100 / 200 / 400 / 800 pts for successive kills with one fruit.
  • Reach the key: 500 pts. Each lock in stage 4: 500 pts. Stage clear adds the remaining bonus timer.
  • Red Snapjaws climb back up a vine — they never go away. Blue ones drop off and are gone.
  • Standing under a fruit with an enemy below it is free points. Let the fruit do the work.
  • Two vines side by side means a fast climb — grab both when a Snapjaw is closing in.

About this cabinet

A playable tribute to Nintendo's Donkey Kong Jr. (arcade, August 1982) — the sequel where Mario locks Donkey Kong in a cage and his son climbs up to save him — rebuilt as a LEGO®-style web page, in the spirit of the Donkey Kong arcade cabinet (set #72051).

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.