Published in


How I Trained an AI to Play Atari Space Invaders

Space Invaders

Before we get started…

So how does Reinforcement Learning work?

How can our AI understand the environment?

Neural Network Diagram
Convolutional Neural Network Diagram
Static state
4 states stacked on top of each other

Learning to play the game with Q-Learning

Example Q-Table

Let’s look at my AI play Space Invaders

Key Takeaways



Elijah McClain, George Floyd, Eric Garner, Breonna Taylor, Ahmaud Arbery, Michael Brown, Oscar Grant, Atatiana Jefferson, Tamir Rice, Bettie Jones, Botham Jean

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Vedant Gupta

I love sharing my learnings/experiences from working with new emerging technologies.