Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 691 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 691 Bytes

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