Teach your computer to play air hockey.
JavaScript HTML CSS
Switch branches/tags
Clone or download
Latest commit aeabaaf Jan 31, 2018

README.md

air-hockey

Teach your computer to play air hockey.

I started this project as an experiment to train a computer to play air hockey using samples from watching a human player.

Use your arrow keys to control the paddle on the left. After collecting some samples of your movement the computer will start training and will take control of the paddle on the right. From that point on it keeps learning from watching you. Frequently randomizing the game improves the coverage of the training data.

See demo here: https://wybiral.github.io/air-hockey/