Teach your PacMan to play with ML and Reactive Streams
summary
Browser multiplayer PacMan runs as a server-returned HTML page where each player is a cost and agents send a stream of joystick decisions; the game engine transforms a Flux of decisions into a Flux of outcomes and a learn service stores knowledge. Reinforcement Q-learning with case-based reasoning reduces state explosion; agents use RSocket request-channel to a shared knowledge repo so adding parallel agents speeds online training. Implementation uses Project Reactor -> Akka streams and runs on IBM Cloud.
AI-written summary · about
chapters (12)
- 0:00Introduction and team
- 3:13Why Pac-Man for ML
- 8:53Machine learning approaches
- 13:31Reinforcement learning basics
- 19:06Case-based reinforcement learning
- 21:52Reactive streams for ML
- 26:24Demo setup and live coding
- 31:25Live demo results
- 32:54Scaling with distributed agents
- 37:09Distributed knowledge base
- 39:44Summary and key takeaways
- 41:11Resources and closing
