I programmed an A.I. to DESTROY the game PONG

  Рет қаралды 2,937,366

Code Bullet

Code Bullet

5 жыл бұрын

I have a website: www.thebigcb.com
by the way don't expect the website to work on your phone, because it wont.
Check out Sentdex's tutorial: • Intro and Screen readi...
I also used the coding trains pong processing code: • Coding Challenge #67: ...
I think thats all the code i stole.
New videos every Saturday morning (probably)
Twitter: / code_bullet
Patreon: / codebullet
Discord: / discord

Пікірлер: 3 000
@Velociapcior
@Velociapcior 5 жыл бұрын
*CB copies some code from internet* - "That's how coding is done" Literally my whole developer career described
@nanajosh
@nanajosh 5 жыл бұрын
Don't you love open source
@xanderprice9981
@xanderprice9981 5 жыл бұрын
Nice
@bastian_5975
@bastian_5975 5 жыл бұрын
I would like to thank google and SO for my entire career.
@albertoduits5895
@albertoduits5895 4 жыл бұрын
Velociapcior i felt this comment inside my bones
@lmaoroflcopter
@lmaoroflcopter 4 жыл бұрын
import stackoverflow; so = new stackoverflow('python'); so.do("play pong");
@cirdanelensar1608
@cirdanelensar1608 5 жыл бұрын
"I'm just gonna plagiarize that." The mark of a true programmer.
@TrimutiusToo
@TrimutiusToo 5 жыл бұрын
I mewn copy paste and deleting unneeded code, are the two best techniques...
@franzluggin398
@franzluggin398 5 жыл бұрын
YOINK!!!
@theinspirationalshow9713
@theinspirationalshow9713 5 жыл бұрын
This made me laugh way too much
@osolomons
@osolomons 5 жыл бұрын
What do stackoverflow programmers do when the stackoverflow server crashes?
@Thatonefuckinguy
@Thatonefuckinguy 5 жыл бұрын
99 percent of my code is like largely helped by my friend who goes to collage. xD Because educational system works. I'm too stupid to graduate highschool, but I've understood basic programming since I was like about 13. Yep, that makes perfect sense to me.
@tokra1000
@tokra1000 5 жыл бұрын
Copy and paste code: “that’s how coding is done” Much truer than most realise.
@josephdavison4189
@josephdavison4189 3 жыл бұрын
Anthony Bailey it’s called copypasta (yes that’s the real name)
@proloycodes
@proloycodes 3 жыл бұрын
the ultimate truth
@amitir22
@amitir22 3 жыл бұрын
we are being paid to know what to copy and how to change it to fit our assignment
@eueumesmo345
@eueumesmo345 3 жыл бұрын
Copy, paste, adapt, overcome
@antideadmeme8057
@antideadmeme8057 5 жыл бұрын
Program an A.I that can code an A.I that can code an A.I that can play pong
@spacebear4742
@spacebear4742 5 жыл бұрын
Anti dead meme Organization machine learning is a thing.
@RAFMnBgaming
@RAFMnBgaming 5 жыл бұрын
So a genetic algorithm for genetic algorithms.
@maxwellhunt3732
@maxwellhunt3732 4 жыл бұрын
There's actually a technique that does that sort of thing called HyperNEAT
@aaronking2020
@aaronking2020 4 жыл бұрын
Skynet: :D
@billyma6
@billyma6 4 жыл бұрын
Anti Dead Meme **Horizon Zero Dawn intensifies**
@westboundnut9241
@westboundnut9241 5 жыл бұрын
An AI that creates its own KZfaq channel with regular uploads
@1996Pinocchio
@1996Pinocchio 5 жыл бұрын
What kind of videos are you thinking about?
@lem2004
@lem2004 5 жыл бұрын
0001 0111 Turn it into decimal and count it on alphabet A I
@charleseanman6649
@charleseanman6649 5 жыл бұрын
You mean five minute crafts
@brimstoneludovico1605
@brimstoneludovico1605 5 жыл бұрын
WEBDRIVER TORSO is one of them, I'm not joking, visit that channel, is creepy af
@fyshlearnstoskate
@fyshlearnstoskate 5 жыл бұрын
C'mon everyone knows that is an upload quality test bot.
@senjugold6977
@senjugold6977 5 жыл бұрын
Pong players HATE him for this simple trick
@YT7mc
@YT7mc 5 жыл бұрын
Senju Gold "simple trick" Nice.
@jeltehoekstra2952
@jeltehoekstra2952 5 жыл бұрын
Senju Gold is that a sketchy ad reference?
@anirudchakkarapani6017
@anirudchakkarapani6017 5 жыл бұрын
@@jeltehoekstra2952 it is a clckbait joke
@nisargbhatt4967
@nisargbhatt4967 5 жыл бұрын
found the Buzzfeed editor
@hankabanka1419
@hankabanka1419 5 жыл бұрын
Simple my ass
@f0ld920
@f0ld920 5 жыл бұрын
Just discovered this channel So basically the concept is "I'm pretty shitty at games, but I'm pretty good at coding, so let's make AI that are good at games in my place", isn't it ?
@Malenrick
@Malenrick 4 жыл бұрын
Close. It's watch me TRY to make an AI and only occasionally succeed at making a good one
@notahotshot
@notahotshot 4 жыл бұрын
Wow! You're like Christopher Columbus, you discovered something a lot of people already knew about. Good job! We should name a holiday in your honor.
@HaraldHardraade1066
@HaraldHardraade1066 4 жыл бұрын
It’s more like “I’m pretty shit at coding, but I’m even more shit at games”
@sparecreeper1580
@sparecreeper1580 4 жыл бұрын
Yup
@spacechase9705
@spacechase9705 4 жыл бұрын
exactly, except it's "I'm pretty shitty at games, but I'm -pretty good- below decent at coding, but I can code, so let's make AI that are good at games in my place."
@ProPupperPetter
@ProPupperPetter 5 жыл бұрын
When you spend 20 seconds every video to pause it exactly when the subliminal message is displayed.
@alphag4mer909
@alphag4mer909 4 жыл бұрын
@Fredd Colour Green better tip use the ">" and "
@priyanshugoel3030
@priyanshugoel3030 3 жыл бұрын
*Stops time to see the text*
@vishesh0512
@vishesh0512 3 жыл бұрын
@@alphag4mer909 OMG! This has saved countless man-hours and truly changed my life...
@puppergump4117
@puppergump4117 2 жыл бұрын
@@alphag4mer909 isn't it just ',' and '.' since you're not holding shift
@TempestKrimps
@TempestKrimps 5 жыл бұрын
>programs an ai to destroy pong >losing the game in thumbnail
@redacted159
@redacted159 5 жыл бұрын
Owo
@samuelr.6046
@samuelr.6046 5 жыл бұрын
Well you can't say its clickbait
@brandpotato3650
@brandpotato3650 5 жыл бұрын
Like number 666 i took a screenshot
@muriel5935
@muriel5935 4 жыл бұрын
You over here huh
@Dinoman972
@Dinoman972 4 жыл бұрын
@@carloromano3363 Which proves that he's losing, since the score is 9-4.
@nicholasnguyen4564
@nicholasnguyen4564 5 жыл бұрын
Next up: *I programmed an AI to print money*
@KT.325
@KT.325 5 жыл бұрын
I wish.
@mattd.2932
@mattd.2932 5 жыл бұрын
FBI OPEN UP!
@jess-xt1nm
@jess-xt1nm 5 жыл бұрын
@@bleeve9425 it's a joke
@Rosiewao
@Rosiewao 5 жыл бұрын
Bleeve 942 wooosh
@MCkrisoka
@MCkrisoka 5 жыл бұрын
You meant "I plagerized money printer AI"?
@cpt.honklerof3rdkekistania400
@cpt.honklerof3rdkekistania400 5 жыл бұрын
Next up: i programed an ai to topple the cambodian government
@accomplisheddiplomat4091
@accomplisheddiplomat4091 5 жыл бұрын
Implying they have a government to topple.
@Blasted2Oblivion
@Blasted2Oblivion 5 жыл бұрын
Thats easy. Just shift wage gap and class outrage from upper to middle class and destabilize the local economy. Use some chem trails to speed up the process.
@4.0.4
@4.0.4 4 жыл бұрын
@@Blasted2Oblivion The wage gap _and_ chemtrails on a single comment? What else, the earth is flat?
@Blasted2Oblivion
@Blasted2Oblivion 4 жыл бұрын
@@4.0.4 No. Just secretly ruled by Squirrels.
@TTobiTobi_11
@TTobiTobi_11 3 жыл бұрын
Im cambodian-
@MuchWhittering
@MuchWhittering 4 жыл бұрын
I feel like the title "Python Plays GTA V" is promising more than it can possibly deliver.
@CrypticConsole
@CrypticConsole 3 жыл бұрын
It was pretty good actually.
@lextatertotsfromhell7673
@lextatertotsfromhell7673 3 жыл бұрын
Oh it’s you, the guy who wanted them to refilm zero one so Izu didn’t die
@MuchWhittering
@MuchWhittering 3 жыл бұрын
@@lextatertotsfromhell7673 What the fuck are you talking about?
@lextatertotsfromhell7673
@lextatertotsfromhell7673 3 жыл бұрын
@@MuchWhittering your old pfp and name or something were the same as someone else, so I got you confused for them
@WinterNox
@WinterNox 2 жыл бұрын
@@MuchWhittering Fun fact: Pong was very popular in early days!!
@josephwodarczyk977
@josephwodarczyk977 5 жыл бұрын
This is by far the most accurate and realistic coding video I've ever seen.
@TiaKatt
@TiaKatt 5 жыл бұрын
The swearing, the way a "3 hour project" took days, the...adaptation of existing code from external sources. It speaks to our souls.
@dancorps1388
@dancorps1388 5 жыл бұрын
Programming nee new project Day 1) I'm glad to be on this assignment. Day 7) oh God, just delete this monstrosity. It hideous. It works for 30 seconds, and then the computer catches on fire. the next day) ah, glad that over. Oh look, a new coding project up for grabs. I try it out.
@JorgetePanete
@JorgetePanete 5 жыл бұрын
@@dancorps1388 nee?
@JorgetePanete
@JorgetePanete 5 жыл бұрын
@@dancorps1388 It hideous?
@JorgetePanete
@JorgetePanete 5 жыл бұрын
@@dancorps1388 that over?
@finmin2k
@finmin2k 5 жыл бұрын
*AI learns to cyberbully*
@acerbicgeoff7821
@acerbicgeoff7821 5 жыл бұрын
We already had Tai.AI, and she was beautiful
@imperialwatch380
@imperialwatch380 5 жыл бұрын
beep boop fuck yourself beep boop
@hectornonayurbusiness2631
@hectornonayurbusiness2631 5 жыл бұрын
My kind of AI
@jacencade4019
@jacencade4019 5 жыл бұрын
You can buy those on Twitter
@taureon_
@taureon_ 5 жыл бұрын
badtexts==[you suck,you are shit,fuck you,N00B, go eat crap] forever{ badtext#==ran(1-5) if (commentexist?==1){ reply ("item (badtext#) (badtext)") } }end
@cyzerraze6829
@cyzerraze6829 5 жыл бұрын
Pong players : playing 24/7 to be a god CB: makes an AI
@cyzerraze6829
@cyzerraze6829 4 жыл бұрын
@akusti boi yeah! It's always nice seeing a Terraria player in the wild :)
@ramytf
@ramytf 3 жыл бұрын
terrarriaaaaaaaa
@ramytf
@ramytf 3 жыл бұрын
1.4
@maxdukhovskoy1406
@maxdukhovskoy1406 3 жыл бұрын
CB: coding 24/7 to make an AI
@youthdiamonds6472
@youthdiamonds6472 5 жыл бұрын
Next:I created an AI which make AI
@hi-bl4vq
@hi-bl4vq 5 жыл бұрын
Don't you mean Cd
@Minutemenofficial2
@Minutemenofficial2 5 жыл бұрын
Wooosh
@oceanmantakemebythehandlea5620
@oceanmantakemebythehandlea5620 5 жыл бұрын
Pls delete your edit.
@youthdiamonds6472
@youthdiamonds6472 5 жыл бұрын
ConfuserM22 I deleted it Thanks for the opinion
@brandpotato3650
@brandpotato3650 5 жыл бұрын
B-bro thats a virus since it will know nothing but its own code so it just copy's it and makes another ai that makes another so it wont stop until all memory is full AND THE CPU WILL SUFFER
@willisval7973
@willisval7973 5 жыл бұрын
Next up: I programmed an AI to hack into military databases
@gilbertbeilschmidt4129
@gilbertbeilschmidt4129 5 жыл бұрын
*ISIS wants to KnOW yOuR lOCaTioN*
@NeoCrypt01
@NeoCrypt01 5 жыл бұрын
🤣
@dryued6874
@dryued6874 5 жыл бұрын
Then it turns out it just plays Exapunks.
@Mortario
@Mortario 5 жыл бұрын
*FBI wants to know your location*
@unoriginal_mp474
@unoriginal_mp474 5 жыл бұрын
I made a ai to hack your toaster checkmate bitch
@snozzmcberry2366
@snozzmcberry2366 5 жыл бұрын
"Thaaaank yooou, taking thiiis" - the method of programming responsible for 90% of projects since the inception of the online search engine and Q&A style forum. ...those sped up parts of writing code are making me itch to build something. It's been years. Code is just.. beautiful. A concisely written, well formatted, well structured & cleanly executed sheet of code is nothing short of a work of art. Any tips on getting into Python without sitting through an article on Hello World with 20 paragraphs on the intricacies of printing text (I may or may not have attempted & promptly given up on learning one too many new languages, putting me through a few too many "back to basic" tutorials)
@droidBasher
@droidBasher 5 жыл бұрын
My advice is to grab IDLE from the python.org and start trying things out in the interpreter. Make something that solves a simple but real problem for you, or solves a simple and fake problem, or unsolves a problem. Just make something and learn from it. If you want a minimal guide I like this one: www.stavros.io/tutorials/python/
@JobsSharp
@JobsSharp 5 жыл бұрын
Aah programming. 10% inspiration, 90% *borrowing without permission*
@four-en-tee
@four-en-tee 5 жыл бұрын
JobsSharp Its funny because we're all mostly plagerists and reverse engineers. God bless open source.
@mr.destructive8554
@mr.destructive8554 5 жыл бұрын
Use Derek Banas' learn to python tutorial... that's how I learned. He explains everything really well!
@hyperupcall
@hyperupcall 5 жыл бұрын
Don't get IDLE, it's complete trash. You can use PyCharm community which is pretty good or any other besides IDLE such as Sublime Text, Visual Studio Code, or Atom should work well!
@lukiverse
@lukiverse 3 жыл бұрын
Code Bullet's resumé - Special Skills: I can copy and paste code from the internet!
@infiniteplanes5775
@infiniteplanes5775 3 жыл бұрын
Looking though the comments, I’m beginning to wonder how better would my coding be if I just took pieces off the internet instead of trying endlessly until I even consider looking up the problem.
@baronvonbeandip
@baronvonbeandip 2 жыл бұрын
You get really good at walking when you stop thinking about it like it's QWOP
@friedsputnik2710
@friedsputnik2710 2 жыл бұрын
Dont know what CWOP is but yeah that mindset of “looking it up is cheating” is only gonna hurt you, at least at first. Instead, plagiarize code so hard that you learn how it actually works. Do that enough times with the same command and you’ll figure it out eventually.
@ryanwargo989
@ryanwargo989 5 жыл бұрын
Do tetris please
@CodeBullet
@CodeBullet 5 жыл бұрын
patience, one day
@ryanwargo989
@ryanwargo989 5 жыл бұрын
3 years later...
@exedeath
@exedeath 5 жыл бұрын
@@CodeBullet People already did with tetris, do with 13x25 board pentris
@neaixphos6784
@neaixphos6784 5 жыл бұрын
@@CodeBullet One day. *23 years later* TETRIS
@notmynameanymore941
@notmynameanymore941 5 жыл бұрын
@@CodeBullet THY LORD SPEAKETH
@bach_yr
@bach_yr 5 жыл бұрын
Who would win? : a smart ass machine able to make complex calculations faster than the conviced human speed or one prime boy
@arthurmarcelino9838
@arthurmarcelino9838 5 жыл бұрын
*BOII
@nightrous3026
@nightrous3026 5 жыл бұрын
Oof
@Erihk_
@Erihk_ 5 жыл бұрын
Hooman
@richardson6501
@richardson6501 5 жыл бұрын
Arthur BM a soy boi
@totallynotsarcastic6745
@totallynotsarcastic6745 5 жыл бұрын
Arthur BM D z
@Thunda8
@Thunda8 5 жыл бұрын
*Does 1 move in chess game* *Explorer crashed* AI won I guess
@mazingdaddid
@mazingdaddid 4 жыл бұрын
CB: says he's gonna be more consistent, upload every week Me: was good to hear from you a month ago...
@croatiaboy11
@croatiaboy11 5 жыл бұрын
AI DESTROYS Pong game with LOGIC and FACTS
@four-en-tee
@four-en-tee 5 жыл бұрын
Not even facts, just only logic. xd
@Its_Koala
@Its_Koala 5 жыл бұрын
HEY KID, WANT SOME HIGH QUALITY FACTS? Well check out India.super.facts on Instagram. (lol not my account just hillariously wrong facts)
@ZeRandomizor
@ZeRandomizor Жыл бұрын
@@owengrimm1370 First generation of ai's be like
@LocalLibertarian
@LocalLibertarian 10 ай бұрын
AI: facts don’t care about your feelings, OK folks?
@Happyface45678
@Happyface45678 5 жыл бұрын
This man's dedication. Actually doing work on the same day as his exams. Props man!
@5amg1
@5amg1 5 жыл бұрын
Was probably just putting off revision
@savouryarc5___873
@savouryarc5___873 5 жыл бұрын
He just finished his chunin exams
@DownloadedPixelz
@DownloadedPixelz 5 жыл бұрын
Ive actually programmed pong and and following AI in JavaScript... I didnt know I could get views for this damnit
@ortherner
@ortherner 3 жыл бұрын
rip
@toast_bath5937
@toast_bath5937 3 жыл бұрын
Code Bullet: Making an A.I. to play pong Me: Struggles to make pong
@pierrehanlet7536
@pierrehanlet7536 5 жыл бұрын
Next video - do this on an online Tetris game and beat real people with a perfect AI
@larsdeboer3599
@larsdeboer3599 5 жыл бұрын
Yes. Just yes
@guillep6639
@guillep6639 5 жыл бұрын
tetris is complicated, but it could work
@AVerySexuallyDeviantOrange
@AVerySexuallyDeviantOrange 5 жыл бұрын
Tetris is incredibly hard, since the AI cannot adapt past what it is told to do. It won’t stack to allow for combos or to conserve space, but to set down lines and clear space quickly. No AI can beat a pro at Tetris, and none will until someone figures out a way to make it think ahead. WHICH SUCKS BECAUSE PUYO PUYO TETRIS PRO NEEDS TO BE STOPPED.
@guillep6639
@guillep6639 5 жыл бұрын
@@AVerySexuallyDeviantOrange it can be hard. But its not imposible. Just tell the ai to build space for a tetris until it gets a line pice.
@AVerySexuallyDeviantOrange
@AVerySexuallyDeviantOrange 5 жыл бұрын
Guille p Having it decide where to stack pieces effectively to allow for combos is the hard part, I mean. Like, getting a full 4 lines (excluding a spot for the I beam) prepped up is exceptionally hard when you can’t use foresight on whether to fill a spot (such as using a T to fill in a single step on the left side of the matrix while a Z is in the coming blocks, rather than storing it and using the Z to fill the step and placing a T on top of it if an S is in the coming pieces) or if you should just keep building in the middle and wait for a more preferable piece to come along.
@sentdex
@sentdex 5 жыл бұрын
If you're having an issue where something like a number is in a spot that causes trouble...etc, you can just use opencv to just over it up with a black box or something. The ball will also disappear under it, but it's less likely to confuse the AI. When we play a shooter game in 3rd person, we also just cover up the main character so we don't keep trying to aim at ourselves, for example.
@EEEEEEEE
@EEEEEEEE 9 ай бұрын
E
@Newfsters
@Newfsters 9 ай бұрын
@@EEEEEEEE How are you everywhere. I thought maybe CB would be a safe space. I was wrong.
@tpuggles
@tpuggles 2 жыл бұрын
10:32, “I’m gonna try putting a video every week” said code bullet on November 25, 2018
@thenonfurry
@thenonfurry 4 жыл бұрын
Something says: *Evan respects his audience and is grateful for every single one of you*
@mr.ballstone1914
@mr.ballstone1914 5 жыл бұрын
Python: I made an AI that play gta 5. CB: I made an AI that plays pong. Python: *face palm*
@1996Pinocchio
@1996Pinocchio 5 жыл бұрын
Why? That's how one learns.
@mr.ballstone1914
@mr.ballstone1914 5 жыл бұрын
Punocchio just a joke
@YT7mc
@YT7mc 5 жыл бұрын
Python is the programming language...
@YT7mc
@YT7mc 5 жыл бұрын
MR. ballstone Sentdex made the GTA 5 AI
@cb7394
@cb7394 5 жыл бұрын
I don't get this. Sendex made the GTA5 AI
@phantomderp834
@phantomderp834 5 жыл бұрын
Ben Shapiro DESTROYS Marxist pong game
@ELMiLiCrAcK
@ELMiLiCrAcK 5 жыл бұрын
"Im going home, i am home" God 2071 Also "want some impresive AI FUCK YOU!"
@juanps2721
@juanps2721 5 жыл бұрын
With LOGIC and FACTS
@wakaziar9373
@wakaziar9373 5 жыл бұрын
Damn commies, better dead than red
@palebluedot7435
@palebluedot7435 5 жыл бұрын
That like how they title every right video lol I stopped trusting ben when he tried to disprove global warming and he started stating fact i knew were used to manipulate instead of educate Like saying antartic sea ice is growing But he does not explain why
@Rangernewb5550
@Rangernewb5550 5 жыл бұрын
I've been getting too many similar recommendations on my feed
@ryanyang3347
@ryanyang3347 5 жыл бұрын
For the wall bounce problem, you can reflect the entire thing over the bottom boundary, and have another paddle that mirrors the real paddle. You can then allow the ball to go past the bottom wall and try to hit it in the mirror world
@sheemy637
@sheemy637 5 жыл бұрын
Honestly can't help but love your voice, you sound so happy all the time wtf
@ILiekFishes
@ILiekFishes 5 жыл бұрын
AI Learns to play Tetris
@tfpcjp
@tfpcjp 5 жыл бұрын
ILiekFishes yes
@D.KlWA-aG
@D.KlWA-aG 5 жыл бұрын
Oh boi a nightmare
@ansh6370
@ansh6370 5 жыл бұрын
I remember there being an AI designed to play Tetris but when it was playing it paused the game because the only way to win that game is to not play and it froze forever.
@czpiaor
@czpiaor 5 жыл бұрын
Next up: “I programmed my AI to do my homework”
@filippodhorec1955
@filippodhorec1955 5 жыл бұрын
How much for that
@dizknots9357
@dizknots9357 5 жыл бұрын
Next up, I learn how to make an original comment
@ruby_dragon4034
@ruby_dragon4034 5 жыл бұрын
You expected a name, but it was me, DIO! You expected a name, but it was me, DIO!
@Kalbr0shorts
@Kalbr0shorts 4 жыл бұрын
Me: Mommy, The Pong Cartridge Is Broken Mom: Oh, sorry, the CB mice must've gotten to it again. Sorry.
@Helladamnleet
@Helladamnleet 2 жыл бұрын
>Copying code from tutorials and kind of piecing it together Yep, I can 100% confirm this is how coding works
@JamesAllenQuinn
@JamesAllenQuinn 5 жыл бұрын
you should have programmed the ball to hit the edge of the paddle so that you can actually score points instead of just hitting it back and forth.
@sbsftw4232
@sbsftw4232 5 жыл бұрын
I know this is way late, but exactly. He didn't program it to win, just to never lose. Not exactly the same. Maybe he could redo this challenge but tie neat into it with points scored in least amount of time as a measure of fitness.
@fuwameanssoft
@fuwameanssoft 4 жыл бұрын
If he did he’d probably have to use Q learning, to give a proper incentive for the AI to score points
@shmepdoesthings4856
@shmepdoesthings4856 4 жыл бұрын
This is a late comment because i can
@spacechase9705
@spacechase9705 4 жыл бұрын
do you even KNOW the sheer amount of bugs that would cause?
@lordspotato5032
@lordspotato5032 3 жыл бұрын
Space Chase literally no project never had bugs. Just because it might make bugs isnt a reason for him not to try it.
@ChristOfSteel
@ChristOfSteel 5 жыл бұрын
Hey , just in case you want revisit the Pong game, or want to follow an object on screen in the future, have a look at kalman filters, they are quite mathmatical, but once you understand them, they are not that hard. They are used to track all sorts of things and are very fast ;) On another note, your idea to extrapolate the position of the ball, based on its velocity was a good start, but can still be improved. * For one, the angle the ball moves never changes, unless it collides with something. * You do not need to search the whole screen for the ball. You have a rough estimate, where the ball should be, just look there. If it is not there, then you can search other places * Just ignore the area, where the points are shown. The ball is not often there, and in the case it is really there, your tracking with the kalman filter should be exact enought. Hope that can help you (and others, who read this) out.
@aliensrock5199
@aliensrock5199 5 жыл бұрын
Das alotta words
@lewddrip5383
@lewddrip5383 5 жыл бұрын
Make an AI to make AIs, so you're making AIs without doing anything.
@DoctorNemmo
@DoctorNemmo 4 жыл бұрын
That's how Skynet becomes self aware you dolt
@lukegarvey6668
@lukegarvey6668 2 жыл бұрын
2:20 Wow Code Bullet, You have really grown since than in your programming skills!!
@rainsparks29
@rainsparks29 5 жыл бұрын
I see 'AI', 'Destroy', and 'Pong' in the same title and I click. Simple as.
@lucatowalker2123
@lucatowalker2123 5 жыл бұрын
I see Code Bullet
@puppergump4117
@puppergump4117 2 жыл бұрын
Pong destroy AI
@bobbypage9982
@bobbypage9982 5 жыл бұрын
Oh dear god, pong is back...
@nicholasnguyen4564
@nicholasnguyen4564 5 жыл бұрын
Angrywolf 378 idot...hm
@joeygenna4801
@joeygenna4801 5 жыл бұрын
On the next episode: CodeBullet builds an AI that can beat any enemy from the dark souls series withought taking any damage.
@bobbypage9982
@bobbypage9982 5 жыл бұрын
MrLeft Hand if he can build an AI that can best dark souls then there is no hope for humanity
@joeygenna4801
@joeygenna4801 5 жыл бұрын
@@bobbypage9982 lol
@vt1-vince15
@vt1-vince15 5 жыл бұрын
Next; *I programmed the AI to program the AI*
@Minutemenofficial2
@Minutemenofficial2 5 жыл бұрын
To program the ai to program the ai to program the ai to program the ai to program the ai
@vt1-vince15
@vt1-vince15 5 жыл бұрын
Hypersonicracing422 3 that would be good
@yafi22
@yafi22 5 жыл бұрын
Lololololololololololololololololololol
@foxwhite25
@foxwhite25 4 жыл бұрын
MATRIX
@jacopoparenti9939
@jacopoparenti9939 4 жыл бұрын
I used the AI to use the AI
@ThatUnknownDude_
@ThatUnknownDude_ 3 жыл бұрын
Next: "I code an AI which codes and AI smarter than their creator"
@TheCodGamer-pr9pe
@TheCodGamer-pr9pe 5 жыл бұрын
Next up you should create an AI that creates an AI that creates an AI that creates an AI that creates an AI that creates an AI that creates an AI that creates an AI that creates an AI that creates an AI that creates an AI that creates an AI that creates an AI that plays Mario maker
@TheCodGamer-pr9pe
@TheCodGamer-pr9pe 5 жыл бұрын
I like Mario shut up
@ukebirb3092
@ukebirb3092 5 жыл бұрын
@@TheCodGamer-pr9pe ok.
@isaiahdahler8933
@isaiahdahler8933 5 жыл бұрын
8:37 "I'm going home. I am home."
@iuppiterzeus9663
@iuppiterzeus9663 5 жыл бұрын
i'd like to see more about your coding like how your class structure looks like, what methods those have etc.
@jellyesquivel537
@jellyesquivel537 5 жыл бұрын
“If you “blow” the enemies pong go up,” nice phrasing
@vladkrstevski1482
@vladkrstevski1482 5 жыл бұрын
“I am just gonna plagiarize that” The real reason why he’s not in uni
@cheesychipmunk8382
@cheesychipmunk8382 5 жыл бұрын
Your profile pic needs Jesus
@brandpotato3650
@brandpotato3650 5 жыл бұрын
@@cheesychipmunk8382 indeed!
@cheesychipmunk8382
@cheesychipmunk8382 5 жыл бұрын
@@brandpotato3650 amen
@failedkirby618
@failedkirby618 5 жыл бұрын
I love code bullet
@lxtrx
@lxtrx 3 жыл бұрын
Thank you so much for the vids I watch them all the time at like 1 in the morning and love them. You probably won't see this cuz it's an old vid but still.. thank you!
@asherael
@asherael 5 жыл бұрын
never heard anhyone call the paddle a "pong" before Kinda dig it
@TrimutiusToo
@TrimutiusToo 5 жыл бұрын
Yeah... I am software engineer myself (that is how i earn money)... Question why not copy it from the site never even occurred to me, because i knew how hard it is to begin with... It is literally easier to create my own knock off from scratch than worry about reading someone else's game... I might have considered it for open source, but even then idk...
@eclipsex1
@eclipsex1 5 жыл бұрын
That's cool I want to be a software designer when I grow up or animate a show or video game
@beelal6407
@beelal6407 5 жыл бұрын
Do you devlop games? If so i just wanted advice as where to learn c# because i like to make incremental clicker games with unity
@TrimutiusToo
@TrimutiusToo 5 жыл бұрын
@@beelal6407 no i work in finance world. But if you want to learn unity, then free courses that are available on unity website are pretty good. They will give you basics of c# needed too, and then if you want to do something not so basic just google "how to do x in c#"... CB copy pasting someone else's code wasn't a joke that is how it is usually done, because you don't want to invent a wheel...
@nutcrugger5123
@nutcrugger5123 5 жыл бұрын
Wait do professional software engineers use scratch?
@TrimutiusToo
@TrimutiusToo 5 жыл бұрын
@@nutcrugger5123 no... Why would we? But a lot of things you do there still apply. It is just not generic enough...
@jinx12373
@jinx12373 5 жыл бұрын
Hey, I didnt look too closely at how you got python to "see" the ball, but some advice that made a huge difference for me: Taking a sum total of a screenshot value will allow you to quickly recognize whether or not the ball in in an image, or if it is a base image. What I would have done in this situation is take screenshots in halves until I had reduced the ball into a square space that is the same size as the length of the paddle. It's not important to know exactly where the ball is, only that it is inside the paddle area. So by having a prebuilt library of what the screen looks like without the ball, and summing those colors number value in comparison to what it currently is, and working in big chunks into a smaller square would quickly allow the program to give "good enough" data, and perhaps even make the wins more common, as the best way to win is to actually have the paddle hit the ball closer to the edge. If any of that makes sense.
@legdarytruenightsedge9718
@legdarytruenightsedge9718 5 жыл бұрын
It does
@yogeshgarg2212
@yogeshgarg2212 3 жыл бұрын
Totally
@PixlPlayer
@PixlPlayer Жыл бұрын
5:40 thank you for introducing me to this song. Fantastic
@xqiuvmah
@xqiuvmah 5 жыл бұрын
I no absolutely nothing about coding or anything about computers more advanced then what you learn about in high school. Yet I still enjoy watching you struggle to create these a.i.
@ParoxyDM
@ParoxyDM 5 жыл бұрын
Only on this channel do I get excited when the host starts with “This video is going to be a bit of a mess”. I immediately think “Oh, this is going to be good!”
@themoosayscow
@themoosayscow 5 жыл бұрын
You know it’s intense from the pong ball on fire
@spartanwar1185
@spartanwar1185 5 жыл бұрын
What?
@caleborg5688
@caleborg5688 4 жыл бұрын
I like how cb doesn't even try to convince us that he doesn't procrastinate making videos
@mariomon1177
@mariomon1177 5 жыл бұрын
Congrats on 1 Million Evan
@felixjanetzki7364
@felixjanetzki7364 5 жыл бұрын
Program an AI that programs an AI which repliactes itself
@felixjanetzki7364
@felixjanetzki7364 5 жыл бұрын
Omar G worm to be precise, i think
@davidwuhrer6704
@davidwuhrer6704 5 жыл бұрын
Technically, a program that replicates itself is bacterium. If it does nothing but replicate itself, it is a Quine. If it copies itself over a network, it is a worm. If it injects itself into another program, it is a virus. If it cracks someone else's code, it's a logic bomb.
@TylerLawlawsy02
@TylerLawlawsy02 5 жыл бұрын
Isn't that how Terminator started? But it had robots too?
@gamingbutnotreally6077
@gamingbutnotreally6077 5 жыл бұрын
Breaking News: Local Programmer and Content Creator gone missing. If you see him, please do not provoke him with a computer and keyboard.
@krzosu
@krzosu 3 жыл бұрын
The commentary of this guy is just awesome :P
@conradstaple5594
@conradstaple5594 4 жыл бұрын
First off, nice work on the video even if it didn't go as planned, it's still better than what I would have tried. I am a beginner coder and was caught off guard on the website. The website really caught my eye because it looked like a similar layout to what my website class had us make. I was curious if you took the same class and by chance know the grade it got. keep up the interesting content and have a nice day.
@Tr1ckyRicky
@Tr1ckyRicky 5 жыл бұрын
ty code bullet for the effort i love your conetnt and would love to learn to this when im older so i can redo some of your AI
@Metaknightkirby2
@Metaknightkirby2 5 жыл бұрын
Regarding the intro: You gotta remember, the people who complained ARE cinemasins fans, so they're not the brightest bunch.
@bluestonethe2nd
@bluestonethe2nd 5 жыл бұрын
how would you know its cinemasins if you didn't watch them? i didn't recognize it so
@Metaknightkirby2
@Metaknightkirby2 5 жыл бұрын
@@bluestonethe2nd Either you know CinemaSins, know their intro, and then go on to complain he ripped it off, or you don't and you wouldn't. No real grey area here.
@Hoeshandledmf
@Hoeshandledmf 3 жыл бұрын
He should do a skit where he says: This is absolutely shit, what do you expect, it’s not like I’m a coder.
@Jig_up
@Jig_up 2 жыл бұрын
Thanks for that “Have a good day” at the end of the video- I know you didn’t mean me in particular, but I still genuinely appreciate it
@adorable_yangire
@adorable_yangire 5 жыл бұрын
i bet you can't do this: program ai to learn to play trials fusion.
@kallyanrostiell3367
@kallyanrostiell3367 5 жыл бұрын
OH MY GAWD.... yes please
@DgkYogi
@DgkYogi 5 жыл бұрын
Oh god
@Pheatan
@Pheatan 5 жыл бұрын
While not an ai. You can use a TASbot. (Tool. Assisted. Speedrun. Bot) using this you can get a programmed robot to do the inputs making a perfect race
@revooshnoj4078
@revooshnoj4078 5 жыл бұрын
In the description, "I think thats all the code i stole" LOL XD
@gadgetdeez7069
@gadgetdeez7069 5 жыл бұрын
Dude, love your work! Haha!! Seriously inspiring. :)
@gammapunkgamingproductions6199
@gammapunkgamingproductions6199 3 жыл бұрын
Code bullet- "my code looks like shit" Me- *failing at even making a single thing work*
@williamcoberly3755
@williamcoberly3755 5 жыл бұрын
The fact that you don't excessively add comments to your code scares me...
@CapnSurvivalist
@CapnSurvivalist 5 жыл бұрын
William Coberly makes me feel better because I do not use comments... like ever.
@arya6085
@arya6085 5 жыл бұрын
I guess his code is for his eyes only
@beelal6407
@beelal6407 5 жыл бұрын
@@TheEclecticDyslexic i agree with you when i was learning python my teacher told me always type out the code so you can memorise it/learn it that way when you get a job in programing you wont need a reference sheet with 24/7
@derekegolf1474
@derekegolf1474 5 жыл бұрын
@@arya6085 Which is fine until you're working on a new project and remember something from an old project might be helpful and then you look at the code from the old project and wonder what the hell your brain was doing when you wrote it
@KuraIthys
@KuraIthys 5 жыл бұрын
@@derekegolf1474 Yeah, and if you're a hobbyist you might have projects that you work on for 2 months, forget about for a year, then come back to... Without copious amounts of comments, the typical reaction to that is 'wtf is this shit!?'. And that's when it's YOUR OWN code... Yeah... There are of course people that think excessive commenting is bad. And they do have a point in that if you're commenting stuff that should be obvious from the code itself that's kind of a waste of time, but also the more comments there are the more likely it becomes that the comments and code become out of sync. A comment that tells you something contradictory to the code itself is probably worse than no comment at all I suppose. But nonetheless I err on the side of excessive commenting, personally... Easier than trying to guess what bizarre logic I was using a year ago. XD
@jr_kulik
@jr_kulik 5 жыл бұрын
AI is just a bunch of If statements change my mind.
@birddaddydetta
@birddaddydetta 5 жыл бұрын
*injects AI into your mind*
@elizabethp.7354
@elizabethp.7354 5 жыл бұрын
René Kulik if or if then lol sometimes it's "to" like "to go"
@marioisawesome8218
@marioisawesome8218 5 жыл бұрын
No no no no no no its just a bunch of command blocks and invisible Armor stands
@norrix5122
@norrix5122 5 жыл бұрын
If than statements
@eamartig
@eamartig 5 жыл бұрын
Norrix he uses python so if else
@Lord_Drakostar
@Lord_Drakostar 4 жыл бұрын
I saw this video today when I was searching pong, and then played pong on that site you were using. On my computer on Microsoft Edge. I'm in KZfaq on my phone. Nice.
@juanignaciolopeztellechea9401
@juanignaciolopeztellechea9401 3 жыл бұрын
That way to copy code is waaaaay worst than dani's "hyppity hoppyty, your code is now myy propety"
@EchoBuildsThings
@EchoBuildsThings 5 жыл бұрын
I love your vids. This one was no different!
@wrld.jayce999
@wrld.jayce999 5 жыл бұрын
create an ai to make an ai that teaches that ai (edit) omg thanks for the likes , it's the most I've ever gotten !! also if you want u should sub to me :)
@wrld.jayce999
@wrld.jayce999 5 жыл бұрын
@N8WulfCommander honestly my guy. i know nothing about ai. I just watch these videos bc i think there cool. and made this comment bc i thought it was funny
@Greatsword585
@Greatsword585 5 жыл бұрын
So basically, amiibo?
@christopher-vj4hn
@christopher-vj4hn 5 жыл бұрын
Do you want killer robots? Because thats how you get killer robots
@thatonewaguy7841
@thatonewaguy7841 5 жыл бұрын
*Skynet wants to know your location*
@primeddesign
@primeddesign 5 жыл бұрын
*_create the singularity_*
@karlphoenix3451
@karlphoenix3451 5 жыл бұрын
8:37 "Fuq this im going home I am home fuq you" xD funny as hell
@JuniperSt
@JuniperSt 5 жыл бұрын
"fuck this! I'm going home!-I am home!" This is why I'm subbed, I know nothing about coding, you're just hilarious
@b0xm2n
@b0xm2n 5 жыл бұрын
Love you code bullet
@ecogreen123
@ecogreen123 5 жыл бұрын
WHO DOESN'T LOVE CODE BULLET!!! (don't answer that, i would like to stay believing no one doesn't dislike him lol XD)
@scenicjaguar1014
@scenicjaguar1014 5 жыл бұрын
*Y O U D U M B M O-*
@karltodd2772
@karltodd2772 5 жыл бұрын
Ai learns to kill people
@mwperk02
@mwperk02 5 жыл бұрын
@@karltodd2772 AI already learned to do that it was the first thing we taught AI.
@ansh6370
@ansh6370 5 жыл бұрын
@@karltodd2772 *SKYNET WANTS TO KNOW YOUR LOCATION!*
@Oxmond
@Oxmond 4 жыл бұрын
My AI opponent was not happy with my serve - he kept returning it! 😜
@henryy.4878
@henryy.4878 3 жыл бұрын
If you want a more interesting pong experience, I would suggest making an A.I. for *Bennett Foddy’s “Flop”* .
@bart7782
@bart7782 5 жыл бұрын
Ehm... Your already playing against an ai
@een3162
@een3162 5 жыл бұрын
Bart R The Ai he played against is programmed into the game, so it can practically teleport around the screen, the Ai he made has to use the same resources as a player.
@pipduck2478
@pipduck2478 5 жыл бұрын
It's not really an ai since it's basically following the ball everywhere even when it's not necessary.
@legdarytruenightsedge9718
@legdarytruenightsedge9718 5 жыл бұрын
Ya but his ai is smarter
@Liggliluff
@Liggliluff 4 жыл бұрын
Sad that he didn't point that out. The reason why he makes his own games, is so he can read the in-game values, just like that AI is doing. This video proves his point more than he thought, he just didn't realise that.
@dallen3000
@dallen3000 4 жыл бұрын
@@legdarytruenightsedge9718 it's "his ai are smartest"
@tszhanglau5747
@tszhanglau5747 5 жыл бұрын
Take a shot every time CB swears. (I wouldn't take that challenge though...)
@devinirwin6481
@devinirwin6481 5 жыл бұрын
Code bullet: creates AI to play pong Me: creates AI to press snooze on my phone
@DergEnterprises
@DergEnterprises 5 жыл бұрын
Love the ending--fade to black.
@FrostyAUT
@FrostyAUT 5 жыл бұрын
Can you make an AI that doesn't suck at Civilization VI?
@ihavetowait90daystochangem67
@ihavetowait90daystochangem67 5 жыл бұрын
The game could just repair itself with *Flextape*
@Thugaim100
@Thugaim100 3 жыл бұрын
Literally wish this man had a podcast
@napoleon2564
@napoleon2564 3 жыл бұрын
I would have just used the delta between two frames to interpolate a line. If the line crosses any of the pixels on the right side of the screen, the ai has to go to that position.
@advaitparanjpe5490
@advaitparanjpe5490 5 жыл бұрын
Can't you just have the AI pong paddle to follow the y coordinate of the ball? _Unbeatable AI_
@lixo03
@lixo03 5 жыл бұрын
i dont think this would work because of the time it takes to process the "screenshots" so the paddle thing would be lagging behind
@gagewaterhouse4323
@gagewaterhouse4323 4 жыл бұрын
@@lixo03 wtf😂😂
@lixo03
@lixo03 4 жыл бұрын
@@gagewaterhouse4323 Sometimes KZfaq is kinda buggy
@lloyd2633
@lloyd2633 5 жыл бұрын
Next up: Programmed an AI to open a packet of crisp easily after eating one before.
@metallkopf988
@metallkopf988 5 жыл бұрын
Everyone knows that you have to open a bag of wine gums or toffees after finishing a bag of potato chips or pretzels(!) You must alternate sweet and salty, dear!
@larschristianlundstrseth3028
@larschristianlundstrseth3028 3 жыл бұрын
This channel is what happens when you give an InCel one technical skill. It's quite entertaining.
@michelevalletta9451
@michelevalletta9451 4 жыл бұрын
I fear the day Code Bullet will upload a video just called 'I programmed an A.I. to DESTROY.'
Making a Calculator using ONLY MARBLES
11:46
Code Bullet
Рет қаралды 2,7 МЛН
AI learns to play the WORLDS HARDEST GAME even more levels
13:25
Code Bullet
Рет қаралды 6 МЛН
Super sport🤯
00:15
Lexa_Merin
Рет қаралды 19 МЛН
Conforto para a barriga de grávida 🤔💡
00:10
Polar em português
Рет қаралды 106 МЛН
¡Puaj! No comas piruleta sucia, usa un gadget 😱 #herramienta
00:30
JOON Spanish
Рет қаралды 22 МЛН
A.I. LEARNS to Play Hill Climb Racing
20:07
Code Bullet
Рет қаралды 7 МЛН
Building an Enigma Machine
12:10
Code Bullet
Рет қаралды 4,2 МЛН
Creating the PERFECT Connect 4 A.I.
15:00
Code Bullet
Рет қаралды 4,4 МЛН
I created an AI to Play Chess
11:52
Code Bullet
Рет қаралды 2,7 МЛН
1 Million Subscriber Special. Code Bullet QNA
11:53
Code Bullet
Рет қаралды 927 М.
Using an AUTOCLICKER to DESTROY the HUMAN BENCHMARK Test (Aim Trainer)
8:00
Code Bullets Day Off
Рет қаралды 405 М.
Making Hill Climb Racing || Part 2 || Help ME
13:24
Code Bullet
Рет қаралды 1,4 МЛН
I Created An A.I. to DESTROY Tetris
17:25
Code Bullet
Рет қаралды 3,3 МЛН
HUMAN BENCHMARK TEST vs AUTOCLICKER | Visual Memory
9:14
Code Bullets Day Off
Рет қаралды 333 М.
Super sport🤯
00:15
Lexa_Merin
Рет қаралды 19 МЛН