◈◈◈◈◈◈◈◈◈◈◈PONG AI◈◈◈◈◈◈◈◈◈◈◈ ~Made with a Single Layer Perceptron. (SLP) ◈ INTRODUCTION We all know about the classic game of ping-pong. Whether you have already played in real life, or just online, you are guaranteed to be impressed by the formidable Pong AI! This version also allows random changes in the direction of the pong ball, so be prepared for an epic duel! This AI should usually be able to hit near-100% of the time, (I tested it) although some perfectly timed hits can beat the neural network! ◈ HOW IT WORKS It takes the x and y values of the ball and tries to determine a good value for the paddle’s y value. The AI will slowly learn to play pong.
Powered by @tigerlionwhale ‘s Perceptron Neurolink™: https://scratch.mit.edu/projects/919725789/ (That’s me by the way) 12 Nov 2023 - v1.1 ~Fixed the AI paddle glitch ~Changed the AI learning rate ~Added a thumbnail 12 Nov 2023 ~ v1.2 ~Tested accuracy of Pong AI ~Improved accuracy from 85% to 92% 15 Nov 2023 ~ v1.3 ~Fixed the exponential error problem ~Improved the thumbnail 11 Feb 2024 ~ v1.4 ~Made Pong AI accuracy to near-100% (yay!) ~Removed the thumbnail ~Minor bug fixes ~~~~~~~~~~~~~~~~~~~TAGS~~~~~~~~~~~~~~~~~~~ #trending #pong #ai #games #neuralnet