Skip to content

This is the code for "Pong Neural Network(LIVE)" by @Sirajology on Youtube

Notifications You must be signed in to change notification settings

llSourcell/pong_neural_network_live

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pong_neural_net_live

##Overview This is the code for the Live Youtube session by @Sirajology. In this live session I build the game of Pong from scratch. Then I build a Deep Q Network that gets better and better over time through trial and error. The DQN is a convolutional neural network that reads in pixel data from the game and the game score. Using just those 2 parameters, it learns what moves it needs to make to become better.

##Installation

use pip to install the dependencies. Tensorflow and cv2 are more manual. Links provided above ^

##Usage

Run it like this in terminal. The longer you let it run, the better it will get.

python RL.py

##Credits

This code was by malreddysid i've merely wrapped, updated, and documented it.

About

This is the code for "Pong Neural Network(LIVE)" by @Sirajology on Youtube

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages