~/talk

How I Built an AI to Beat the 1990s Arcade Game Double Dragon

Talkat DevConf.CZ 2025 · 2025-06-12..06-14· [creative-coding, machine-learning]
links:none on file
slides:none on file

Built an agent that uses the PyBoy emulator and direct memory reads (health, X/Y, lives) with reinforcement learning, deployed across Kubernetes + KubeRay and MinIO for checkpoints; training runs at ~50x Game Boy speed with 60+ parallel instances. Reward shaping uses a -50 death penalty and favors positioning over scoring, which yields the crucial cornering/back-elbow behavior. After ~3,000 sessions (only 1 successful full run), the AI beats level one; scaling from a laptop (100 hours) to the cluster cuts that to ~8 hours.

AI-written summary · about

  1. 0:00AI and arcade nostalgia
  2. 2:48Live AI demo
  3. 5:37Kubernetes for AI training
  4. 8:33Jupyter and MinIO setup
  5. 13:07Reinforcement learning model
  6. 15:15Positioning beats scoring
  7. 17:41Extracting game data
  8. 20:57Training across levels
  9. 24:28AI beats first level
  10. 26:58Infrastructure improvements
  11. 27:39Future AI plans
  12. 28:22Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.