You train an AI and you then get to face him! Try training badly or staying on a specific side of the board,  and he'll repeat.

About The AI: 
this is using a neural network to move the ball around based on how you played in the first half.
It reads: ball x&y pos, ball x&y velocity, paddle x pos, and what you did in response. 

If you want to see code here's the github.

AI Type: machine learning
Machine Learning Type: Supervised Learning
Weight Training Type: Backpropagation

-bobojo

StatusReleased
PlatformsHTML5
Authorbobojo
Made withUnity

Comments

Log in with itch.io to leave a comment.

(+1)

Great concept, but you really needed to add an ability to control the puck by hitting it with the side of the bar.  As is you might as well be always playing against a wall

Very true, I was considering doing that later. Right now it's only good to see he can ignore, or actively miss the ball if that's how you play.