KKanabar / pong_neural_network_live

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Python 100.0%