-----------------------100% Pen Ping Pong--------------------- - Side arrow keys to move, AD for 2nd player (on two player mode) - Press space to change from 2 player / Beginner AI / Master AI (Keep in mind that scores will be cleared, and round restarted.) - - Beginner AI is very bad. It tries to follow the ball to the best of its ability. It has the same speed, momentum, and bounce as you. - - Master AI is very smart. It uses sin and cos in a split second to calculate where the ball will land. Then, it calculates which speed it must move to arrive at the point perfectly. You have the same speed, momentum, and bounce as it, but it is just smarter. Yup, it's actually 100% pen!!! (I guess except for the thumbnail (but it doesn't count)). Also, if you think the ball moves toward the Master AI, or that the Master AI just teleports to the ball x or something, you're wrong. If you look at the code, you will see that both movement engines have the same momentum, velocity, speed, bounce, and such. They just have different if parameters. --------------------------------------------------------------------------------- Log: 10/26/18 - Re-shared - Polished the Master AI 10/25/18 - Unshared - Started making Master AI 10/24/18 - SHARED! - Finally finished AI - Finished graphics - Added two player back 10/23/18 - Made things one sprite - Deleted two player accidentally 10/22/18 - Made things pen - Made it two player 10/21/18 - Finally found out how to bounce things ---------------------------------------------------------------------------------