Skip to content

karanpanjabi/Pong-AI

Repository files navigation

Pong-AI

A neuroevolutionary reinforcement learning implementation on the game of pong.

Instructions

Just open the index.html file in a browser, the training starts automatically. Press the left arrow button to switch between single paddle/entire population. Use the slider below the canvas to speed up the game and hence the learning process.

To load the learnt model (BestPaddleGen27), set the loadBestBrain variable to true in sketch.js.

Attributions

Pong game based off of a coding challenge by Daniel Shiffman: https://github.com/CodingTrain/website/tree/master/CodingChallenges/CC_067_Pong/P5

Toy neural network library: https://github.com/CodingTrain/Toy-Neural-Network-JS

About

Neuroevolutionary reinforcement learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published