💻💻 PONG with UNBEATABLE BOT 💻💻
Hey guys! I spent a day (most of it when I was supposed to be doing schoolwork lol) making this, and I put a LOT of effort into it. Normally, I would fine tune it to make it look good and stuff, but I'm honestly dead at this point.
It's basically you vs an AI that knows your every move. I tried to make it as original as possible, but I also thought I should add a bit of originality into it. It has no point system, but again, it's hard to criticize a dead man.
Bottom line, it's trash. I really don't care anymore, but I know that this is the best of my ability, so give me a break. I'm not Sundar Pichai or @Coder100. If on the rare occasion that you do enjoy it, please upvote! I poured a lot of time and effort into this, and I would really appreciate it.
P.S. Press the up arrow to move up, and the down arrow to move down.
1. Me, obviously
2. Coder100, for the 'w' and 'a' functionality ideas, plus the idea of a score system
3. ridark, for the idea of showing your score when you lose
4. GeditEdger, for the idea of pressing 'r' to restart
5. Everybody else, who gave so much support for this project. Merry Christmas!
You underate your own project. As a game is not SO fantastic but is fun to see how Pong is in reallity. Pong is a mistake game, the winner is the one who commits less mistakes. This bot only foccus on surviving, not beating you. At one point, I managed to enter in a loop where I don't move and the bot react in such a manner that I don't lose (infinite score xd). Upvoted! Good job.
All it does is follow the Y cord of the ball. This is not AI as you give the Y cord so all it does is follow it.
@SwaroopBappanad - Its not that hard too. I made it less than an hour and I'm not that good. Its just pong with the y of the computer as the y of the ball. Not hating, just stating facts, don't take offense :)
This is well made. It just needs a tuneup on the physics. The ball doesn't bounce using proper arcade physics. It sometimes bounces in the opposite direction that it should. The angle of impact should be equal to the angle that it leaves at. The center angle should then add to 180. This isn't true for 95% of the bounces.
https://uc3d7404052890fc279adf7c2576.previews.dropboxusercontent.com/p/thumb/ABDZf4yIx3ZQKEVJzN4rEFSr4o8JXncde_ZB_d7DLoe9TtRUIjuWQVWJ4UyDsTaix6zBG3lh_XEkTWwu1-X0tep5d6TsM0FojqhC9Faea4giGEDPthaL0UJKMxO2bU4k7jQJwoGf8mcl7mKlH_MKCE3j9BUC4kND-F1T3klh2j6GCiKtsEH--cKo2NaumCTSVPv8V1Ln63RDS6MnbSR-WiDnw2mNg3JpP128mEHNsp7He0GEO75jjcn3sUfZD8djZ49Q-BpZd1s4K_hQAjlnf4d1MRzmHOmi5HV-SmSzAY5MO4hmVTTMYdtdegOCxdsOTAewPobOQO-po9wlqwGfd_GTHBmuNK6LsXL019U0mXKlDPI2-hIyn2yPo2ICYC8ZtMMEh4Woi3V0gfnC1bm8CwsW/p.png?fv_content=true&size_mode=5 I WIN