💻💻 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.
Credits:
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!
Why I am a so overjoyed to get a score greater than 2?
@firefish lol good job
Pretty cool! ...the AI is flippin cheating I love the AI! XD
@JBYT27 Well, I kinda coded it to cheat lol.
@SwaroopBappanad Lmao pog
@StealthySniper pog indeed.
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.
@clancastor05 lol thx for the feedback!
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.
@pepelaugh Read the comments above (or below idk), I needed a catchy title
@SwaroopBappanad well, it's not an AI so rename it like "follow bot" or something like that.
@pepelaugh Honestly, everything else in the title is genuine. If it bothers you THAT much, I'll change the title to "bot."
@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 :)
@pepelaugh chill dude nothings an AI in that way ..... it is technically an AI
i like very much this program
@HEMLANU Thank you!
i am asking you only have you beat this i tried 110000 time but i got till 50 only
@HEMLANU I'm terrible at pong lmao
but good you have made very very good
it is so hard
@HEMLANU It was designed to be hard!
has anyone beat the game
someone make a battle of bots - (one pong bot on one side, one on the other. That would be something satisfying to watch.)
@SwaroopBappanad just change how much points you get per block or change what the starting score is.
@UwaiseNoorani1 lol don't look at the console! That undefined stuff was for testing values! (press up and down arrows, or 'w' and 'a' keys)
extraordinary job, sir! congratulations!
@MrH0lmes Thanks!
Unbeatable.
🤯
Is it okay if I fork it to make it look better and such?
Thanks
Mind Blown!
POG
@TalinSharma Yeah sure! Isn't that what coding is all about? Consistently improving and maximizing code? Anyway, thanks!
Thx & np
@TalinSharma Merry christmas!
YOU TOO!
whaaat you like legend of zelddaaaaa
@Noahloader12 Yes. Yes I do. BOTW is a pretty good game.
@SwaroopBappanad have you played the new hyrule warriors game
@DungeonMaster00 No, I haven't, although I heard it's a completely new timeline.
@SwaroopBappanad it is basically the events of the reat calamity
also, in breath of the wild, i like to take pictures of monster faces, mostly bokoblins and moblins
@DungeonMaster00 But don't the champions survive this time?
@DungeonMaster00 I got BOTW as a present couple days ago, and moblins are currently the bane of my existence.
@SwaroopBappanad i got the game a couple years ago and i feel like getting 100%
@DungeonMaster00 Thats gonna be so hard (cuz koroks are a thing)
@DungeonMaster00 Koroks make the game better and worse at the same time.
@SwaroopBappanad oh i forgot about them; there are about 900 koroks in the game
@DungeonMaster00 Yeah, and that's why I'm never even gonna think about 100%ing the game.
@SwaroopBappanad I wholeheartedly agree with you
@M07 poggers
Fun fact: that was my first comment ever here (repl.it)
@M07 The start of a very fun journey.
oh snap, I recognized your pfp but I didn't know you were a BOTW fan, lol. Am I the only one who still can't beat a lynel with full armor because they're scary- @SwaroopBappanad
@JKE010 I just beat Vah Ruta, Tried the lynel out and immediately got incinerated
pain. I've got all divine beasts (thunderblight was hell) i'm just too scared to fight ganon lol. @SwaroopBappanad
@JKE010 Honestly I think golden lynels are scarier than ganon
@JKE010 Or just any lynel in general, really (I SWEAR THAT'S NOT RACISM)
hmmm, respect the lynels. #LynelLivesMatter
Wait, they try to kill us, their lives don't really matter.
Anyways, I reseted my save file, because I hadn't played the game in like a year so I wanted to start fresh.
@SwaroopBappanad
@SwaroopBappanad I am a big zelda fan too i havent tried the new game but i like botw though it is my favorite game ever
p.s. I finished all the shrines 4 days ago.
@Noahloader12 What?! Now THAT'S cool!
@ColinEdwardEdwa oh it is, you just can't see it
@ColinEdwardEdwa lol good job!
@SwaroopBappanad- When I press r it doesn't reset you might fix that error
@daksheshdorala oH mY gOd yOuR aN aBsOlUtE bEaSt
You should make the ball go faster every score of 10. Cool game though
@DarkswordsmanJG I'll try!
Nice Game! My highest score was 6 lol
@SUNAYK Thanks!
it's really cool but there is no sensor on the wall on the A.I's side (no need since it's unbeatable but...)
@EliasTheGreat lol, true
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.
@RayvelArjoon It's pretty hard, but I'm studying up on physics and trig to get more accurate physics next time!
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
@mrhappyma U still lost......
@TalinSharma Whoa, nice!
@TalinSharma
But I was better👌🤯
@SwaroopBappanad
@TalinSharma whooopeeeeeeeeeeeeeeeeeeeeeee
@SwaroopBappanad

BEHOLD MY POWER
@WILLIAMBAEWER ....God....Talk about dedicated.....
@WILLIAMBAEWER no you behold my power

@HDFuzy ...
@HDFuzy How did you do that?! My high score is 6
@HDFuzy

Foolish mortals, all of you behold MY power.
@JKE010 How have I not disintegrated yet, beholding your power and all.
@JKE010

are you sure ?
i-
i've been outplayed.
I can't come back from this.
@HimanshuShekha4
I dunno man, it's a lotta power. 137 units of power, to be accurate. @SwaroopBappanad
@JKE010 did you looked at my score carefully is'nt there something suspecious in it ??
@JKE010 man ur great at it
No, no, I don't think so. Obviously all scores are black, out of place, and in italics.
@HimanshuShekha4
ayo thanks, LOL @HimanshuShekha4
@HimanshuShekha4 thats a photoshop lol
@srsly What? No, that's obviously real.
@srsly yeah dude, don't get salty just cause YOU couldn't get 900000000000.
@srsly yes, lol
@JKE010 Can you beat this??!
#DedicationSquad
@msgaalex
did you do glitch thing where it switches between only 2 shots?
@Trex10 Honestly idk how to fix that. Ppl keep thinking I preprogrammed the moves, but ig the collision system is somewhat flawed.
@Trex10 idk what you're talking about
bet. wait, just wait. @msgaalex
@JKE010
look
@albertlu2 lol nice try but I see the different font lmao
@JKE010 lol ok
yeah that's 100% fake. ~2.4 million? Nah. @albertlu2
@SwaroopBappanad thats my default font
@albertlu2 That's not how HTML works lmao
@msgaalex already did hehe

@HDFuzy did you change the code to say that??
it is
@SwaroopBappanad