Pong Game AI using TensorFlow JS

Reinforcement learning agent trained to play Pong in the browser using TensorFlow.js

Built for Google DevFest Hyderabad, this project demonstrates the power of TensorFlow.js by training a reinforcement learning agent to play Pong — entirely in the browser without any server-side compute.

When TensorFlow.js was first introduced by Google, I wanted to show audiences how it could transform machine learning accessibility. The entire training loop runs client-side in JavaScript.

Tech Stack

  • TensorFlow.js
  • JavaScript / HTML5
  • Reinforcement Learning