~/talk

Python vs Punch Out

Talkat PyCon AU 2017 · 2017-08-03..08-08· [python]
name:Greg Hahn
github:greg-hahn
slides:none on file

Uses neat-python to evolve neural nets that play an NES Punch-Out!! ROM via an NES emulator and pykeyboard input, scoring networks by a custom fitness (10,000,000 for a win; 1,000,000 per knockdown; 1,000 per energy-difference; 1 per second survived; 2 per heart; 10 per star). Evolution finds quirks: a single-KO exploit and a clock-stop bug, so fitness is adjusted. Results: better-than-author in ~15 minutes, three-round victory over Mr. Dream after ~3 days, runs on a modest gaming laptop and benefits from parallelization.

AI-written summary · about

  1. 0:00Introduction
  2. 0:49About me
  3. 1:14About Punch Out
  4. 6:50Visual Representation
  5. 9:08Neural Networks
  6. 11:46Live Demo
  7. 13:31Bugs
  8. 15:15Fitness Function
  9. 16:27Grass of Progress
  10. 16:59Mr Dream
  11. 18:38How Long
  12. 20:00What would I do differently
  13. 21:27Results
  14. 23:08My Code
  15. 26:09Interface
  16. 26:49Generation
  17. 29:04Fitness points
  18. 30:49Conclusion
~/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.