Scroll Top

Training an AI to play Atari Breakout

Some white text so the formating works out

Atari Breakout

Breakout is an atari classic, where players aim to keep the ball in play by having it land on the paddle, and destroy the blocks above to earn points.

Using the code from this repo, I created a bot that skillfully plays the game. Here’s a clip of it playing.


The algorithm

Deep-Q-Networks

DQN is a reinforcement learning algorithm created by deepmind which is able to play various games. It uses a neural network as a function approximator which is trained using the bellman equation.

Algorithm Pseudocode


Wow that's a lot! Learn about how this algorithm works by watching my video or reading my article!

 Article  Video