I Created a PERFECT SNAKE A.I.

  Переглядів 11,091,342

Code Bullet

Code Bullet

4 роки тому

I used math, science and tears to create a snake AI which always wins (sometimes).
Massive thanks to brilliant.org for supporting this episode, check them out here: www.brilliant.org/CodeBullet
Also check out John Tapsells work: johnflux.com/
Heres my stuff
Twitter: / code_bullet
Patreon: / codebullet
Discord: / discord
Art created by @Dachi.art / dachi.art

КОМЕНТАРІ: 20 000
@sirapple589
@sirapple589 4 роки тому
CB Viewers: “Why is he taking so long to upload?” Code Bullet: *Throwing out entire weeks of progress for shits and giggles*
@ewan7746
@ewan7746 4 роки тому
CBT viewers: ouch my balls
@Sarah12471
@Sarah12471 4 роки тому
CB veiwers:.... Wait what the fuck? Why? Code Bullet: cause fuck you and fuck me that's why
@hydra9070
@hydra9070 4 роки тому
-
@seeker4430
@seeker4430 4 роки тому
Also no sharing code
@sirapple589
@sirapple589 4 роки тому
tremonk I don’t play Fortnite.
@TheTruth-si5zq
@TheTruth-si5zq 4 роки тому
“He didn’t die, he just kinda gave up” This hit to close to home 😂
@PunkyPlays
@PunkyPlays 4 роки тому
Me comment first
@AHotLlama
@AHotLlama 4 роки тому
I couldn't tell if that referred to an AI snake or to Code Bullet, both seem appropriate
@conormcguinness3215
@conormcguinness3215 4 роки тому
Punky Plays So?
@punbug4721
@punbug4721 4 роки тому
This snake Ai is my digital spirit animal.
@Texan.Insomniac
@Texan.Insomniac 4 роки тому
5:44
@randorookie8587
@randorookie8587 2 роки тому
A code bullet GPS would just be “keep doing random shit till something works” and then take the best of all those failing methods rinse repeat till we’ve got a route
@wilbo_baggins
@wilbo_baggins Рік тому
Also new roads won't be added for months to a year
@timdadwagan
@timdadwagan 18 днів тому
Just go for the longest path duh
@samurai2871
@samurai2871 2 роки тому
Dude if your GPS was actually like that, I'd totally buy one.
@Zombienator1012
@Zombienator1012 2 роки тому
Sammmmmmme bro
@goosegoose8345
@goosegoose8345 2 роки тому
We all would
@AcousticJammTheGamer
@AcousticJammTheGamer 2 роки тому
Me four
@iionccub365old
@iionccub365old Рік тому
Yea
@daletaylor4242
@daletaylor4242 Рік тому
HELLA FUCKING YES!
@hackhair5832
@hackhair5832 4 роки тому
This guy always sounds like someone just told him a clever joke that wasnt quite good enough to make him laugh but made him smile widely through the rest of the conversation
@Lone_Rocket
@Lone_Rocket 4 роки тому
Strangely specific.
@rozh996
@rozh996 4 роки тому
Satisfying and specific
@HelpOTWx3
@HelpOTWx3 4 роки тому
Strangely specific, but not wrong
@levelup6243
@levelup6243 4 роки тому
Basically exactly like Daniel Ricciardo...
@ConnorMeagher
@ConnorMeagher 4 роки тому
Which translates to the viewer. The process is fun to watch though
@nikscerniss6429
@nikscerniss6429 4 роки тому
If: gonna run into self -don't.
@alejrandom6592
@alejrandom6592 4 роки тому
deep shit you got over there
@romankalinchuk2750
@romankalinchuk2750 4 роки тому
If: hungery -eat Function.repeat
@shaunclarke04
@shaunclarke04 4 роки тому
Evija Cernisa what bloody syntax is that??
@laserbeem6692
@laserbeem6692 4 роки тому
accualy it goes like this in java if(head of snake touches self){ user is dead; } this is pseudocode
@foxfyre3600
@foxfyre3600 4 роки тому
@@laserbeem6692 else { dontDie(bool justDont = true) }
@iwtbwiw
@iwtbwiw Рік тому
I love how it doesn't even look like a game of snake at one point on, it just looks like a green box with random changing lines and holes
@blenderium
@blenderium 2 роки тому
4:36 the rare footage of a coder actually *writing its own code* instead of copying..... what an amazing discovery
@WinterNox
@WinterNox 2 роки тому
Hi bro >:)
@uhohitsatrap9989
@uhohitsatrap9989 2 роки тому
Yep, that's Code Bullets content and it's so satisfying to write out working codes and scripts.
@Billy-jo3bt
@Billy-jo3bt 9 місяців тому
If you’re not recording a video to showcase your talent what’s the problem with using a code that’s already been written to speed up your process?
@lumin_curse
@lumin_curse 7 місяців тому
In light mode too
@DawnAfternoon
@DawnAfternoon 13 днів тому
We meme it all the time but usually we do get our hands down with programming the details in lol
@mermer3572
@mermer3572 3 роки тому
First rule of snake: snake eat apple Second rule of snake: under absolutely zero circumstances does snake eat apple
@sethstersbench
@sethstersbench 2 роки тому
Third rule of snake: NO HOLES
@BobBob-ye4vz
@BobBob-ye4vz 2 роки тому
Fourth rule of snake: don’t die lol
@mynameisjoseph7848
@mynameisjoseph7848 2 роки тому
Fifth rule: dont not cheat
@user-cd4bx6uq1y
@user-cd4bx6uq1y 2 роки тому
The thing at 19 40 looks like plant vines. Also I randomly pause and it was at 19:55, funny number.
@Finn_the_Cat
@Finn_the_Cat 2 роки тому
Paradoxically paradoxical
@InappropriatePolarbear
@InappropriatePolarbear 3 роки тому
"The snake will get pissed off and take an angry nap" is a phrase I need to use more in my life.
@myak5754
@myak5754 2 роки тому
Ig im a snake then
@abacussssss
@abacussssss 2 роки тому
finally 👨🏾‍🔬 sleeps furiously
@y_onis7038
@y_onis7038 2 роки тому
@@abacussssss can you sleep depressed
@sinuslebastian6366
@sinuslebastian6366 2 роки тому
Y_onis I do it everyday
@pacifistichuman82649
@pacifistichuman82649 Рік тому
@@y_onis7038 what about sleep neutral, happy, ecstatic, manic, sad, miserable, angry, enraged, afraid, (mostly me LOL) and stressed out? yes, omori reference
@nathanmay9694
@nathanmay9694 Рік тому
I’ve been watching him for a good bit now, and just now realized he codes IN LIGHT MODE. Anyone that codes in light mode is secretly burying some bodies in their backyard
@bestintheband5114
@bestintheband5114 6 місяців тому
Me: no, Michael Reeves codes in light mo... no that checks out (In some of his old videos at least idk if he still does don't @ me)
@Thelongestshrimp
@Thelongestshrimp 20 днів тому
Checks out. He killed Adrian. And Adrian killed like 5 fully-trained soldiers, but Adrian died nonetheless.
@alooinfinite2912
@alooinfinite2912 День тому
@bestintheband5114
@Helladamnleet
@Helladamnleet 2 роки тому
You should figure out a way to convert these AIs to be screensavers. I'd legit pay 99 cents for them
@dooplets._.5776
@dooplets._.5776 11 місяців тому
Same
@ratt__mann9220
@ratt__mann9220 6 місяців тому
I'd pay atleast one dollar and 1 cent
@nubbyboi6523
@nubbyboi6523 6 місяців тому
I would pay a whole Enigma Machine Part 2 video
@Wall-knight
@Wall-knight 5 місяців тому
@@ratt__mann92201 dollar and two cents
@Lucerne9
@Lucerne9 4 роки тому
"The snake will get pissed off and take an angry nap" This is me trying to do calculus hmwk
@user-gt7jk3lt4t
@user-gt7jk3lt4t 4 роки тому
Anything related to school and fuck me
@Human-ty6mb
@Human-ty6mb 4 роки тому
dat h is ur names combined
@fitriasukmawati3762
@fitriasukmawati3762 4 роки тому
@@user-gt7jk3lt4t h
@rybot6668
@rybot6668 4 роки тому
@@fitriasukmawati3762 h
@Miguel-jo6xc
@Miguel-jo6xc 4 роки тому
@Rybot666 Morgan h
@brodyfrable4250
@brodyfrable4250 3 роки тому
I like that everyone just looked over the fact that adrian single-handedly killed _at least_ 5 fully-trained soldiers
@NeinKyori
@NeinKyori 3 роки тому
But still can't find the obvious apple
@luigitrollface
@luigitrollface 3 роки тому
@@JavaMR hes a marine
@adriancabrera3191
@adriancabrera3191 3 роки тому
Was a piece of cake
@luigitrollface
@luigitrollface 3 роки тому
@@JavaMR hecu
@joshyboi6760
@joshyboi6760 3 роки тому
Brody Frable more than soldiers they were generals
@mprocks6522
@mprocks6522 2 роки тому
Near the end Even losing his sanity over 2 blocks is like the Sargent losing his mind and screaming "4 FUCKING PIXELS"
@ziyadessoufi2052
@ziyadessoufi2052 Рік тому
Thats some serius 096 lore right there for how long have u been in the scp community?
@alexaltaccount7812
@alexaltaccount7812 Рік тому
that isnt even serious lore, i think its a pretty well known thing
@pacifistichuman82649
@pacifistichuman82649 8 місяців тому
"Two. FUCKING. BLOCKS." *SANITY*
@ourlordandsaviorsquirtle3278
@ourlordandsaviorsquirtle3278 6 місяців тому
@@ziyadessoufi2052 thats literally the most common piece of 96 lore aside from its abilities
@refl9630
@refl9630 2 роки тому
3:37 there are only three possible moves at any time, since the snake can't go back.
@alooinfinite2912
@alooinfinite2912 День тому
and not to mention walls and corners
@sophiacristina
@sophiacristina 4 роки тому
Programming: "Omg, i can't believe this really works!" "Omg, of course it didn't!"
@Hunnter2k3
@Hunnter2k3 4 роки тому
I can get like that half-way through the first sentence sometimes. "omg I can't believe it didn't works!"
@SomeRandomDude821
@SomeRandomDude821 4 роки тому
My teacher gave us an assignment. This was a comp 101 course, easy stuff. I spent days fixing output spacing. When it was done, I couldn't tell you why the spacing worked. I couldn't tell you why some lines were needed. But it passed the test class so...
@tafua_a
@tafua_a 4 роки тому
Programming is like trying to teach how to swim to a tomato.
@Furrett
@Furrett 4 роки тому
i love how Code Bullet can disappear for months on end consistently and then release a video that'll almost immediately get on trending, i like to think he's created the perfect AI to beat UKposts
@NatapixAS
@NatapixAS 4 роки тому
its the two AIs trying to communicate
@k96man
@k96man 4 роки тому
@@NatapixAS Maybe the snake is trying to spell 'send help'
@Nate-bd8fg
@Nate-bd8fg 4 роки тому
DaBlackFoxAlt 'cept trending is hand selected by UKposts staff
@GymRat-7192
@GymRat-7192 4 роки тому
@@Nate-bd8fg wait, does that mean that they picked a "vulgar unfamily-friendly" channel for trending? Since he swears in almost every video, including this one.
@Ramondorez
@Ramondorez 4 роки тому
He's the Jontron of coding.
@cottagcheese
@cottagcheese 2 роки тому
18:32 it now just looks like a black snake in a field of grass
@TheSinnerReloaded
@TheSinnerReloaded Рік тому
20:51 When your download gets stuck at 99% and gives you an error after 12 hours of waiting.
@formularogue
@formularogue 4 роки тому
RIP Adrian 2019 - 2019 Forever in our hearts
@joshuaboyd487
@joshuaboyd487 4 роки тому
Even though he was a fucking disappointment, he's still somewhere in there. Probably.
@aceofdiamonds2218
@aceofdiamonds2218 4 роки тому
I feel attacked
@advaithremesh1698
@advaithremesh1698 4 роки тому
bro Adrian's a menace, he killed a lot of soldiers
@aceofdiamonds2218
@aceofdiamonds2218 4 роки тому
@@advaithremesh1698 good
@honkhonk3137
@honkhonk3137 4 роки тому
Ace Of Diamonds ehhhh
@BalconyDog
@BalconyDog 4 роки тому
Plot twist: it was him playing the whole time, hes spent years training
@jacobalexander4498
@jacobalexander4498 4 роки тому
Years of academy training, wasted!
@alexh1321
@alexh1321 4 роки тому
All that time he wasn’t uploading he was just training
@Buphido
@Buphido 4 роки тому
Plot twist: the actual ai is code bullet, created to produce ai offspring and making a little money through it on the side.
@MrWendiloohoo
@MrWendiloohoo 4 роки тому
plot twist: it was actually u playing the whole time
@oii_oii
@oii_oii 4 роки тому
not years just 4 months of playing snake
@shink303
@shink303 9 місяців тому
i like how a completed snake board becomes a maze.
@Jaylan.M
@Jaylan.M 2 роки тому
I hope this is made into a wallpaper. It’s quite satisfying
@thedrawingkidanimatedkid686
@thedrawingkidanimatedkid686 3 роки тому
Ai: misses by one pixel Ai: this little maneuver is gonna cost us 51 years
@blessed6336
@blessed6336 2 роки тому
This made me laugh so loud 😂
@thingytheretxrd
@thingytheretxrd 2 роки тому
@@blessed6336 r/youngpeopleyoutube
@officialburgerkingfootlett5241
@officialburgerkingfootlett5241 2 роки тому
@@blessed6336 LSL instead of LOL
@Hall.
@Hall. 2 роки тому
@@thingytheretxrd ???
@I_Eat_Lemons
@I_Eat_Lemons 2 роки тому
@@thingytheretxrd You don't even know how to use r/youngpeopleyoutube correctly.
@deevee5327
@deevee5327 4 роки тому
"This solution is just riddled with issues" *Still plays snake better than me.*
@adaptablerubenvideos3097
@adaptablerubenvideos3097 4 роки тому
Idea: make a minecraft AI that is atleast capable of beating the game Mailed comment 2
@urinetrouble0543
@urinetrouble0543 4 роки тому
DeeVee hey do you know what the storm light archive is?
@elemaire86
@elemaire86 4 роки тому
He's not actually playing it. He's just figuring out the best algorithm and letting a computer do the rest.
@deevee5327
@deevee5327 4 роки тому
@@urinetrouble0543 If I know what Stormlight Archive is? Sir, I *live and breathe* by Sanderson's books.
@urinetrouble0543
@urinetrouble0543 4 роки тому
Eric Lemaire, Jr. they never said he was playing it
@milliesotheraccount
@milliesotheraccount 2 роки тому
I can’t be the only one to give the snake a voice when it went into “survival mode”. Like every time it did, I would just hear it screaming “SHIT FUCK GOTTA LIVE GOTTA LIVE OH MY FUCKING GOD GOGOGOGOGOGOGOG” or something.
@weee8e7ee8
@weee8e7ee8 2 роки тому
You are.
@novaanimations5958
@novaanimations5958 2 роки тому
Naw I did that too
@anshriyal6495
@anshriyal6495 2 місяці тому
easy way to fix the ending: when Hamiltonian step value of tail - head becomes too small, i.e. snake has grown wayyy too long, then stop implementing shortcuts. It will help with: A) Winning B) Winning efficiently; the item gets spawned on the blocks which are empty, when the snake is long and skips small steps on the cycle, then it creates small pockets which increases the number of Hamiltonian cycles the snake takes. Awesome video, love the content!
@Madame_Talos
@Madame_Talos 3 роки тому
If the robot uprising starts with Evan, *_It probably won’t last long_*
@yahiaaymankamaly3518
@yahiaaymankamaly3518 3 роки тому
Hey ! Take this more seriously , if they have 5000 attemps they may be even able to leave the room they started in
@tylernelson310
@tylernelson310 3 роки тому
@Anime_Edits i cant tell if thats real or not
@tylernelson310
@tylernelson310 3 роки тому
@Anime_Edits ohhhh that one
@nathaniel1207
@nathaniel1207 3 роки тому
this implies 1 of 2 things. either he'll win quickly. or he'll fail quickly
@rodoggx9046
@rodoggx9046 3 роки тому
No no it will be with Machine learning. So much shorter
@alexi4829
@alexi4829 4 роки тому
Code Bullet in a nutshell: Angry man cries his way through life whilst complaining about the things he loves so basically every programmer ever
@NatalieHarrisonLim
@NatalieHarrisonLim 4 роки тому
Alex I this is very very accurate😩
@supermanlol5865
@supermanlol5865 4 роки тому
Ahem ahem michael reeves
@thefrong5179
@thefrong5179 4 роки тому
Yes
@mariannekuter5612
@mariannekuter5612 4 роки тому
Make a ai that can play geomechery dash
@samueltober202
@samueltober202 4 роки тому
You forgot the amount of times he cried so much he just left youtube
@dumbo21
@dumbo21 2 роки тому
Damn after a while the patterns it made got so hypnotizing
@HiddenRealm
@HiddenRealm 2 роки тому
It was so good though that whole run was amazing! The literal issue was the simple ineffeciency that it couldn't perfectly optomized based on it's tail, because it doesn't check literally every step where to reroute, or is capable of planning ahead. If it could plan ahead how many steps it takes to reach the point the tail would be at by that many steps, it could include that as the possible location for it to travel through, and end up optimizing it's movements, potentially perfectly following it's tail to buy time. Instead it's very visible that it does periodically check, but still tries to avoid it's phantom tail.
@alicemoffat
@alicemoffat 4 роки тому
I swear, Evan is going to end up building the Terminator.
@mattes4929
@mattes4929 4 роки тому
Didn't he already do that? His Clicking-AIs are able to open command prompt and to hire virtual gunmen. Just some more features or bugs and glitches and boom: Terminator
@donteatwater3607
@donteatwater3607 4 роки тому
Lol
@elgurkus6885
@elgurkus6885 4 роки тому
*accidently
@Elipus22
@Elipus22 4 роки тому
He'll be able to once he cracks enigma
@bundog5367
@bundog5367 4 роки тому
He is going to be a terminator
@salmon7007
@salmon7007 3 роки тому
This would be an awesome like monitor background just a constant repetiting game of snake for your screen saver
@failtronic2646
@failtronic2646 3 роки тому
found a background on Wallpaper Engine that literally randomizes a maze and solves it.
@rustydawg2443
@rustydawg2443 3 роки тому
Someone needs to make this happen
@slxpperyy9796
@slxpperyy9796 3 роки тому
@@failtronic2646 what is it called
@failtronic2646
@failtronic2646 3 роки тому
@@slxpperyy9796 steamcommunity.com/sharedfiles/filedetails/?id=1550989740 The whole thing is customizable. You can change the color of the maze maker and solver, the wall color, the background color, and you can change the speed of the maze maker and the solver. Real cool stuff.
@evrodrill
@evrodrill 3 роки тому
Ooooooooooooooooo Fiat hi FFFFAAAAAKKKKEEEE
@bowenjudd1028
@bowenjudd1028 2 роки тому
3:07 I just realized that CB scared the driver so much, they gripped and tore part of the steering wheel off.
@purestsalt8870
@purestsalt8870 2 роки тому
i love how at the end, it seems as though the leftover spaces made by the movement of the snakes tail is the snake
@themoldysausage
@themoldysausage 2 роки тому
"I'm back guys!" The best part of Code Bullet is him pretending to be a consistently uploading youtuber
@jovan0454
@jovan0454 2 роки тому
It's very consistent, at least one upload a year!
@assaultmodemeliodas5283
@assaultmodemeliodas5283 2 роки тому
@@jovan0454 That is true
@RobertMcBride-is-cool
@RobertMcBride-is-cool 2 роки тому
And calling when he uploads a “schedule”.
@rangaplays2025
@rangaplays2025 2 роки тому
it could be an aussie thing cus both of us just cant ever be bothered to upload and i just started like 4 months ago or something
@MathShorts
@MathShorts 2 роки тому
@@jovan0454 it's been 11 months since the last upload, is he gonna be able to one upload a year?
@alexandraantimie9576
@alexandraantimie9576 3 роки тому
My anxiety reaches a whole new level when the snake circles the apple and leaves the smallest opening
@jomiyahminerve5431
@jomiyahminerve5431 3 роки тому
268 likes and not a single reply
@stromegy5792
@stromegy5792 3 роки тому
Kijjjjjhnuhiuybgujvvkguvjugvugvigyvyguvuytvjytvyjv
@sisypheanmxe8774
@sisypheanmxe8774 3 роки тому
@@stromegy5792 saaaame bro
@adnamafett7862
@adnamafett7862 Рік тому
While I love watching these videos awake and aware, they also make a good sleep aide for the second+ watch. It’s a “teacher is talking about something I find interesting but have a rough time understanding and also I did not sleep last night so I guess it’s now nap time” vibe. So thank you so much
@adnamafett7862
@adnamafett7862 Рік тому
Instead of taking melatonin for my insomnia, I up your view count
@yhcgamer523
@yhcgamer523 7 місяців тому
For some reason the designs the snakes body makes are so smooth and satisfying
@Ryan-iz2nm
@Ryan-iz2nm 4 роки тому
2019: trying to beat snake with an a.i. 2020: trying to build an a.i. to hack Nasa
@dragon5776
@dragon5776 4 роки тому
2020-2030
@LechuvPL
@LechuvPL 4 роки тому
@@dragon5776 =-10
@wabbitseasonz8764
@wabbitseasonz8764 4 роки тому
Ok boomer
@Omar-fu5qd
@Omar-fu5qd 4 роки тому
Wabbit Seasonz no u
@ohlakwa
@ohlakwa 4 роки тому
Nah m8 the a.i. Will hack into Space X
@Bakken102
@Bakken102 4 роки тому
Snake: *turns red* Snake's AI: current objective: *SURVIVE*
@jjmj4971
@jjmj4971 4 роки тому
Current objective*
@Bakken102
@Bakken102 4 роки тому
@@jjmj4971 Thanks
@Sparrowash97
@Sparrowash97 4 роки тому
Translated into Code Bullet speech: Fuck! Fuck Fuck Fuckadie Fuuuuuck!!!
@DrPsychotic
@DrPsychotic 10 місяців тому
this was surprisingly cool, I also liked watching the first one it was so suspenseful and i really thought it was gunna work
@jackat4
@jackat4 8 місяців тому
For people who didn't hear Code Bullet over the sounds of Adrian getting murdered: "Ok, back to the drawing board. The whole Q Learning thing didn't go super well so what we're gonna wanna do is get rid of all Q Learning and then some fancy sh*t and just break this problem down into it's bare basics"
@imallsoupedup
@imallsoupedup 4 роки тому
1950: I bet they’ll have flying cars in the future! 2019: DIVEDE BY M A T H N ‘ T (3:55)
@Zergliskful
@Zergliskful 4 роки тому
Fun fact, flying cars exist, but no one is allowed to use them because there aren't any laws for them
@Xusemeh
@Xusemeh 4 роки тому
@@Zergliskful it is not a fun fact if u cant fly them cars
@masternobody1896
@masternobody1896 4 роки тому
1950: cold war 2050: robot ai war....or may be not war.... girl robot sucking my popo
@shirleyling7923
@shirleyling7923 4 роки тому
The future could be 1951
@imallsoupedup
@imallsoupedup 4 роки тому
Jeunesse Global uhhhhhhhhhhhhhhh take my thumb
@geimskip17
@geimskip17 4 роки тому
Evan: "im back" Me: "dont do that, dont give me hope"
@jennacalcote2958
@jennacalcote2958 4 роки тому
cocaine cola GUESS WHO’S BACK. BACK AGAIN. SHADY’S BACK. TELL A FRIEND. Also, great name dude👌
@tannerxavier9746
@tannerxavier9746 4 роки тому
Bet he’s sorry he couldn’t give it to you sooner
@thelegendarykidofmystery1226
@thelegendarykidofmystery1226 4 роки тому
*You regain hope but a person you love falls into a pit*
@eggstatus5824
@eggstatus5824 Рік тому
If I were to fix the pathfinding one I would try to make sure the AI always knows where the tail has been. That way it can follow each place the tail has previously been in survival mode. That way it will never get trapped by going into places that are technically 80% of the remaining map, but are traps. Think about it, if you follow the exact places the tail has been, then you will never get trapped because those paths are constantly being cleared
@justaderrickrosestan
@justaderrickrosestan 4 роки тому
“He didn’t die, he just kind of gave up” Buddy that’s most of us now a days
@Iorvethfox
@Iorvethfox 4 роки тому
@Griffin Dale shut up
@tong6644
@tong6644 4 роки тому
Darth Occlus wut
@IsaacClodfelter
@IsaacClodfelter 4 роки тому
Waaaaay too real.
@ebozic620
@ebozic620 4 роки тому
i was watching your comment when he literally said that xD
@kellencross2760
@kellencross2760 4 роки тому
@@Iorvethfox why are you being salty about his comment he was being nice
@bigtimeaorta
@bigtimeaorta 4 роки тому
I like it when the snake just stops moving and gives up "Eventually, Kars stopped thinking..."
@aname843
@aname843 4 роки тому
@RYAN JIANG *NICEEEEEEE*
@harrypoon2438
@harrypoon2438 4 роки тому
Still waiting for him to post something
@txrafafy
@txrafafy 4 роки тому
That’s at 5:38
@erenaygun9696
@erenaygun9696 4 роки тому
#unexpectedjojo
@KR_Kosmik
@KR_Kosmik 4 роки тому
OH FUK IS TAT A JOJO REFERENCE
@MonkeySimius
@MonkeySimius 2 роки тому
I really liked your snake that tried to circle the food before killing it. Like some boa constrictor. Only time I've seen a strategy like that.
@guky667
@guky667 2 роки тому
Also you should be able to hugely optimize the hamiltonian loop; the food only spawns in empty places, so you can systematically have the snake occupy space in a way it forces food to spawn elsewhere, so if you - for example - choose to split the screen in 4 quadrants, you could start by having the snake loop in 1 quadrant and leave its tail there so only the remaining 3 are free to move (and have food spawn in them) so it doesn't have to loop the entire cycle, and as it gets longer occupy more quadrants until everything left is 1 quadrant
@leddy7315
@leddy7315 4 роки тому
It’s not an ai, he’s just really good at snake
@fluffiestboi175
@fluffiestboi175 4 роки тому
Plot Twist
@leondyson-rix8233
@leondyson-rix8233 4 роки тому
Lmao
@smiley94
@smiley94 4 роки тому
That’s why he took so long... coudn’t do it by A.I. So he became the best snake player ever.
@mortemsteam
@mortemsteam 4 роки тому
@RedPanda250 wooosh
@nubbular
@nubbular 4 роки тому
Why do people always say this about this guy?
@termisher5676
@termisher5676 Рік тому
Best strat is to move all over plave and not take frut into consideration after reaching certan lenght. Like you must go trough every single square from keft to right leaving single line free on left or right and when you come back from top you repeat lines from keft to right.
@noxsnow8960
@noxsnow8960 8 місяців тому
That has got to be the most satisfying video of snake I've ever seen
@Mathrilord
@Mathrilord 4 роки тому
Three rules to win at snake 1: always have a direct path to your tail 2: never create enclosed space 3: never create dead end
@kaidenrogers
@kaidenrogers 4 роки тому
4. Don't lose. This can also be 1.
@CaelVK
@CaelVK 4 роки тому
Just be good at the game 4head
@courtneywaybright8184
@courtneywaybright8184 4 роки тому
dont travel along the edge unless needed to get the next food
@babytricep437
@babytricep437 4 роки тому
Mathrilord easier said then done
@ilost1492
@ilost1492 4 роки тому
Wait, the flaw with the first rule for the AI will just continue making its circles because of the fact that ai will follow its programming
@Jackie777
@Jackie777 2 роки тому
13:00 was SUCH a "fuck the apple, I NEED TO LIVE" moment
@anandsuralkar2947
@anandsuralkar2947 2 роки тому
hahahahahaha
@indigo4710
@indigo4710 2 роки тому
Suzaku be like
@sagesy9774
@sagesy9774 2 роки тому
haha naice
@annastripinis4568
@annastripinis4568 2 роки тому
Or as I like to say “OH SHIT OH FUCK ON NO GONNA DIE I WAS SO YOUNG”
@stealthlock6634
@stealthlock6634 2 роки тому
I thought you said “f the people, I need to live” and it was so powerful ngl
@crechi_themelodromatic
@crechi_themelodromatic Рік тому
This man is the result of all the rage, frustration, and stress it takes to learn to code.
@german_engineering1449
@german_engineering1449 Рік тому
The extremely large game towards the end of the game is unironically extremely beautiful and fascinating to watch. I actually went back and slowed down the playback speed so I could follow the movement (admittedly only slightly) better
@ojuswi
@ojuswi 4 роки тому
"Let's make it 10 times faster" "Alright 50 times FASTER" "100 times FAYESTER" "1000 times FAYASTAH"
@matthewh8812
@matthewh8812 4 роки тому
Let's make code change his upload schedule like that
@Koppu1doragon
@Koppu1doragon 4 роки тому
Me watching at 2 times speed "2000 times FAYASTAH"
@michaeltp6730
@michaeltp6730 4 роки тому
me watching from Spain "1000 times FIESTA"
@BrodieEaton
@BrodieEaton 4 роки тому
Code Bullet: It’s perfect! The snake: *I’m ‘boutta end this man’s whole career*
@SirFlowerBoy
@SirFlowerBoy 4 роки тому
I’m not a rapper😂
@edendenton7274
@edendenton7274 2 роки тому
Watching the snake go around was super satisfying, love it
@Andrew_Shepherd870
@Andrew_Shepherd870 2 роки тому
I would genuinely use a recording of this as a screen saver because it looks so cool
@nicholasruff7376
@nicholasruff7376 4 роки тому
Title: “Perfect Snake A.I” Me, having seen his last 12 snake A.I videos: **Doubt**
@TheYupiks
@TheYupiks 4 роки тому
Press "X" to doubt
@hotcocoadotcom
@hotcocoadotcom 4 роки тому
Z
@cooperlucas4498
@cooperlucas4498 4 роки тому
X
@realitycredits64
@realitycredits64 4 роки тому
C
@Ypsiloe
@Ypsiloe 4 роки тому
V
@michael_angelo_myers
@michael_angelo_myers 3 роки тому
This would be the coolest screen saver.
@christowers7307
@christowers7307 3 роки тому
Oh man, that's an excellent idea
@Lappers
@Lappers 3 роки тому
Code bullet going crazy or the snake A.I
@maskedsalesman2020
@maskedsalesman2020 3 роки тому
@Your Pal Ryder Both would be fine.
@victinistealth5756
@victinistealth5756 3 роки тому
Look at the names of the top 4 people not including me
@NOAH-um7go
@NOAH-um7go 3 роки тому
@@victinistealth5756 I don't get it.
@Mecharnie_Dobbs
@Mecharnie_Dobbs 2 роки тому
4:59 It should find the shortest path from the head of the snake to its own tail. By the time it gets there, the tail has moved. While the head is following the tail, it cannot die. It should find the shortest path to its own tail, that also includes the fruit if possible. But, it increases in length when it eats the fruit, so its tail will not always crawl forward out of its reach.
@filippobilzoni5682
@filippobilzoni5682 2 роки тому
I would love to have an animated wall in my room with this AI going all the time
@Brigeb20
@Brigeb20 Рік тому
And when you turn it off the snake resets it's size and position
@Bamthis
@Bamthis 4 роки тому
You know a snake player is good, when it’s snake looks like an Aztec temple
@ChupeTTe
@ChupeTTe 4 роки тому
Lel tru
@amandamoore8291
@amandamoore8291 4 роки тому
F u 2
@muhammadaryawicaksono4232
@muhammadaryawicaksono4232 4 роки тому
AAYYAYAYYAAAYYYY
@empty_channel_
@empty_channel_ 4 роки тому
lmao y didnt i think of that.
@langlock5098
@langlock5098 4 роки тому
Ikr
@benh8312
@benh8312 3 роки тому
"2020" "New year, new me" "I'm going to be a free man" That aged well...
@A-400
@A-400 3 роки тому
/´¯/) /¯ / / / /´¯/' '/´¯¯`·¸ /'/ / / /¨¯\ ('( ') \ / \ _.·´ \ ( \ \ if you are wandering i copyed and pasted this and remade this XD
@fal4thought
@fal4thought 3 роки тому
@@A-400 Okay? And?
@ScareBarley
@ScareBarley 3 роки тому
@@A-400 who asked
@dougdimmadomeownerofthedim9701
@dougdimmadomeownerofthedim9701 3 роки тому
Nikola chill it's just a comment. And no, It's wondering, not wandering, as in "my brain is wondering how Nikola Anthony somehow has less brain cells than a hard boiled egg" vs "Nikola Anthony is wandering through the entirety of Reddit trying to find someone more virgin than him, but alas to no avail"
@niceperson4086
@niceperson4086 3 роки тому
Guys, chill, this was a month ago
@ashleydejong3402
@ashleydejong3402 6 місяців тому
1:40 This is a masterpiece of combat, the effects, the visuals itself are just beautiful
@Broth_Hunter
@Broth_Hunter 2 роки тому
Having this for a screen saver would be amazing
@IonicFalcon
@IonicFalcon 4 роки тому
And like that, he’s gone again....
@smoothchipmunk69
@smoothchipmunk69 4 роки тому
Rip
@itspurplepaw6163
@itspurplepaw6163 4 роки тому
We have to wait another 5 months
@orange993
@orange993 4 роки тому
*Goodbye, change da world*
@Justanalien
@Justanalien 4 роки тому
@@orange993 lol
@javarice8326
@javarice8326 4 роки тому
can i ask a question what programming languages is he using?
@Danidev
@Danidev 4 роки тому
yaboi returned form the grave!
@zionfernando2830
@zionfernando2830 3 роки тому
Very yes
@PerhapsRq
@PerhapsRq 3 роки тому
Dani stop commenting and go back to drinking your milk
@ismathrelatedtoapplesauce
@ismathrelatedtoapplesauce 3 роки тому
*M I L K*
@ethanbeedon5255
@ethanbeedon5255 3 роки тому
Milk gang unite
@vicentevillarroel5178
@vicentevillarroel5178 3 роки тому
Hey, wassup
@Badboy-vn7eb
@Badboy-vn7eb 2 роки тому
I would be interesting to see him go back to this and make a change where the head of the snake had to be a certain distance away from the tail while following it. I think that would actually be a much easier way of playing it, since that would only let the snake follow the spaces that the tail leaves open while also eating the apple. Now, he may have tried that, and I can't remember since I am writing this at the end of the video. Just an idea.
@dumbo21
@dumbo21 2 роки тому
11:44 is this the intro to an 80’s “hacker” film
@nathankoziol7368
@nathankoziol7368 10 місяців тому
I am *THE* hacker
@mellow6268
@mellow6268 3 роки тому
Funny how at the end it looks like a black snake moving along a green grid
@king_james_official
@king_james_official 3 роки тому
yes.
@thebe_stone
@thebe_stone 3 роки тому
yep
@gamingunner128
@gamingunner128 3 роки тому
Mellow looked more like a green snake to me.
@vanessaotor3817
@vanessaotor3817 3 роки тому
Yeah
@Alex1000tenten
@Alex1000tenten 3 роки тому
@@gamingunner128 me 2
@Ha1cyon00
@Ha1cyon00 4 роки тому
"I'm sure you can tell when it goes to 'Oh shit, Survival Mode" Well yes when the snake goes all blood red like it's hunting for lives
@thanosattorneyatlaw4062
@thanosattorneyatlaw4062 4 роки тому
Judging from the part where the broken snake literally beat up the army, yeah it probably IS hunting people
@timothyshoup5044
@timothyshoup5044 Рік тому
There is something almost hypnotic about watching that snake do its thing. I enjoyed it.
@fantasypvp
@fantasypvp 7 місяців тому
my best snake pathfinding algorithm: get x and y distance to target location if x > y then add x to list, then add y to list (or -x / -y depending on direction etc) so the moves are listed in how optimal they are then just make a list of moves that wont immediately make you lose and get the first optimal move in the possible moves list lol i was too busy rewriting the entire rendering engine to make a proper ai for my game but there's like 10 enemy snakes that are hyper aggro XD
@MATISTHERAT
@MATISTHERAT 4 роки тому
Lol imagine him trying to keep a straight face making the sounds for the military scene.
@user-hm1kq6lj4l
@user-hm1kq6lj4l 4 роки тому
MATISTHERAT it’s really not that hard to do that especially since he doesn’t have the maturity of a 12 year old
@olgierdvoneverec4135
@olgierdvoneverec4135 4 роки тому
why would he need to keep a straight face tho?
@darthfikus5206
@darthfikus5206 4 роки тому
TBH that was a rather accurate depiction of military - they kill a bunch of people and things only get worse.
@luv-uf3qz
@luv-uf3qz 4 роки тому
@Spit Dragon well not for me, if you told me to do that voice ,i would take a few weeks
@Travminer123
@Travminer123 4 роки тому
B it’s meant to be funny. It’s the point and it fucking was
@Xturnia
@Xturnia 4 роки тому
He sounds like he is smiling as he's talking.😆
@jamesl5203
@jamesl5203 4 роки тому
@@oldpremium1493 yes
@tarunmathur7797
@tarunmathur7797 4 роки тому
@@oldpremium1493 Moron
@tba2204
@tba2204 4 роки тому
Anal?
@spicdickuloid
@spicdickuloid 4 роки тому
Kylee Alanna that’s because he’s a massive fruit
@mahmodbarwari3830
@mahmodbarwari3830 4 роки тому
@@tba2204g fxk
@user-fm3xy7td5f
@user-fm3xy7td5f 3 місяці тому
Honestly with how much you upload the into is accurate
@griffenrobrahn4604
@griffenrobrahn4604 Рік тому
i love the part where he said "it's snakeing time" and then snaked all over everyone.
@grimace_is_sus
@grimace_is_sus 10 місяців тому
O_O
@lailoutherand
@lailoutherand 9 місяців тому
😶😶😶😶😐😐😶😐😶😐😶😐😶😐💩
@_The_Dumbass_
@_The_Dumbass_ 4 роки тому
When the snake starts writing Latin and your sleep paralysis demon gets upgraded to a paralyzing demon
@jeffjeff2514
@jeffjeff2514 4 роки тому
@Kamarious Antonio Temple Shut the fuck up, and stop your god damn lies
@adog8379
@adog8379 4 роки тому
Kamarious Antonio Temple this is the reason I watch videos 4 or 5 hours ago
@witchfinda
@witchfinda 4 роки тому
Nobody: The snake when it turns red: *NEW OBJECTIVE- SURVIVE*
@Dy1an.k
@Dy1an.k 4 роки тому
Halo reach, best halo
@theworldsdankestparanormal9805
@theworldsdankestparanormal9805 4 роки тому
Cake 4life what
@Dy1an.k
@Dy1an.k 4 роки тому
@@theworldsdankestparanormal9805 new objective-survive is a halo reach reference
@EonsEternity
@EonsEternity 4 роки тому
@@Dy1an.k i mean.....
@Dy1an.k
@Dy1an.k 4 роки тому
@@EonsEternity what, it was defanitly a halo reference Zoomer
@PattyGotTheFatty
@PattyGotTheFatty 2 роки тому
I love the wave effect you can see when he increases the speed of the hamiltonian snake
@isidoord6106
@isidoord6106 2 роки тому
10:00 it’s honestly both so satisfying and so frustrating to watch the snake trying his best to not touch the apple.
@dibulater640
@dibulater640 4 роки тому
2019 : Perfect Snake A.I. 2029 : Perfect World Domination by A.I.
@yeetdabeans3883
@yeetdabeans3883 4 роки тому
2059:pefect *dies from poisond oxygen *
@ve7ant
@ve7ant 4 роки тому
Just throw an apple
@SRC267
@SRC267 4 роки тому
August 29th 2029, keep that date in your diary.
@suzyroseblossom
@suzyroseblossom 4 роки тому
Yeah pretty much
@Makar_The_Delver
@Makar_The_Delver 4 роки тому
*SkyNet has entered the chat*
@THEBOSS47MLG
@THEBOSS47MLG 3 роки тому
Making a perfect “Snake” AI in “Python”....
@toastedmarshmellow5800
@toastedmarshmellow5800 3 роки тому
h o l y s h i t
@daburgerbandit1598
@daburgerbandit1598 3 роки тому
Why does Python live on land? It's above C-level. I'll show myself out.
@Asmoden2989
@Asmoden2989 3 роки тому
@@daburgerbandit1598 👏👏👏👏👏
@thatguysean7484
@thatguysean7484 3 роки тому
Y E S
@THEBOSS47MLG
@THEBOSS47MLG 3 роки тому
HalftuberWasTaken yeah
@Shinyreaper816
@Shinyreaper816 8 місяців тому
Whilf observing the snake in its natural habitat, scientists recorded some strange behavior, the snake seemed to go from 7 to 12, they where quite confused due to the fact that they didnt listen to codebullets commentary, and instead paued attention in class
@phyro4122
@phyro4122 2 роки тому
If he does end up building the terminator, you know he’s gonna steal it from someone else 😂 (love you Evan)
@TDLwave
@TDLwave 3 роки тому
Plot twist: he was the one playing and he is secretly the best snek player ever.
@DR3ADNOUGHT
@DR3ADNOUGHT 3 роки тому
@spider man snek
@filipek5230
@filipek5230 3 роки тому
@CreeperFun12 snek
@monstergurke88
@monstergurke88 3 роки тому
@CreeperFun12 snek
@idropgp8052
@idropgp8052 2 роки тому
No, it's in the title, ai, NOT human If you can't figure out the difference between a computer program or ai player you should get some help
@thedarkmage413
@thedarkmage413 2 роки тому
@@idropgp8052 r/woooooosh
@perry4808
@perry4808 4 роки тому
2019: building AI to beat a game ! 2025: recreating skynet!
@mowermen1762
@mowermen1762 4 роки тому
Quantum _ this is the first comment
@Thisismaintv
@Thisismaintv 4 роки тому
Skynet already exists, I work there.
@ducaarimoore5290
@ducaarimoore5290 4 роки тому
@@Thisismaintv "recreating" like re-create -_-
@axiomaticc
@axiomaticc 4 роки тому
LMAO
@BlazeRKGK
@BlazeRKGK 4 роки тому
@@Thisismaintv you OBVIOUSLY work there with that much iq
@theevilduckling7272
@theevilduckling7272 11 місяців тому
The problem with the second ai might have been that even though the snake's head could reach more than 80% of the empty spaces, when the snake is really long (and so there are very few empty spaces) *the snake could still get trapped in that 80%*. The solution to that might be to add a conditional for when the snake becomes really long, it starts following the Hamiltonian cycle that he used in the last ai.
@YoursTrulyNoober
@YoursTrulyNoober 9 місяців тому
for some reason this feels very satisfying
@2awesomegriefers
@2awesomegriefers 4 роки тому
He didn't realize the snake was still alive. It's head is right next to the tail
@ironcode
@ironcode 4 роки тому
2awesomegriefers OMG you're right! EVERYBODY NEEDS TO UPVOTE THIS COMMENT! It actually would have finished 😂
@MGSLurmey
@MGSLurmey 4 роки тому
He should have made the head look different to the body segments. Eyes or something. That would allow you to visually see that it's still going.
@cryofreeze_
@cryofreeze_ 4 роки тому
Witch timecode ? :o
@ironcode
@ironcode 4 роки тому
Nicolas Gaillard 20:51
@cryofreeze_
@cryofreeze_ 4 роки тому
@@ironcode Erf. I looked at that time, but didn't see it. I'll try again at 0,25 speed.
@thekrackenx
@thekrackenx 4 роки тому
Code bullet: take the longest path to the apple. AI: *starts recreating the actual game to then get the apple*
@PandaXStorm
@PandaXStorm 4 роки тому
the AI is recreating the big bang, the evolution of Life, the history of humanity and then gets the apple
@placidqualm
@placidqualm 4 роки тому
Don't forget paying off it's college debt
@DuskAlimar
@DuskAlimar 4 роки тому
CB: get. Dot. A.I: Live? CB: no. Get dot. A.i: I'd rather live, fleshbag
@samuelmarzo722
@samuelmarzo722 4 роки тому
@@PandaXStorm adam and eve lol
@teufel-gm9zz
@teufel-gm9zz 6 місяців тому
2:10 i am a subscriber now
@tylan5081
@tylan5081 4 роки тому
Respect to cb for making this but I spent almost half an hour watching a green line on a screen
@HangdogNat
@HangdogNat 4 роки тому
Corn Roof i mean, sometimes it turns red
@totifaddye6587
@totifaddye6587 4 роки тому
Sneks
@Totyamuri
@Totyamuri 4 роки тому
There's a dot, too
@VectormanRxQueen
@VectormanRxQueen 4 роки тому
Corn Roof lol
@userou-ig1ze
@userou-ig1ze 4 роки тому
how about a binary search before you watch. Start in the middle man!
@pgtv14
@pgtv14 3 роки тому
19:05 "This algorithm is cold and calculating" Ah yes, the floor here is made out of floor.
@wariothief
@wariothief 3 роки тому
Ah yes should be hmm
@sakuhoa
@sakuhoa 3 роки тому
@@wariothief well, oh yes but actually hmm
@wariothief
@wariothief 3 роки тому
捌拾柒Idiot lol
@marcusaureliusregulus2833
@marcusaureliusregulus2833 3 роки тому
Usually floor is made out of wood or concrete 🙄
@sakuhoa
@sakuhoa 3 роки тому
@@marcusaureliusregulus2833 you must be fun at parties
@renakunisaki
@renakunisaki 10 місяців тому
I actually would like to use both of the latter algorithms. It might be interesting as some type of texture generator.
Using A.I. to DOMINATE NERDS in TETRIS
31:16
Code Bullet
Переглядів 7 млн
A.I. Learns To Walk
16:15
Code Bullet
Переглядів 10 млн
Їжа Закарпаття. Великий Гід.
1:00:29
Мiша Кацурiн
Переглядів 688 тис.
Анита просто на химии, поэтому такая сильная
00:21
Женя Лизогуб SHORTS
Переглядів 2,8 млн
DESTROYING Donkey Kong with AI (Deep Reinforcement Learning)
29:46
Code Bullet
Переглядів 3,5 млн
Creating the PERFECT Connect 4 A.I.
15:00
Code Bullet
Переглядів 4,4 млн
A.I. Learns to DRIVE
16:17
Code Bullet
Переглядів 6 млн
I made FLAPPY BIRD in DUMB programs
19:35
Code Bullet
Переглядів 1,4 млн
AI Learns to play JUMP KING
27:12
Code Bullet
Переглядів 8 млн
DESTROYING Guitar Hero with an AUTOCLICKER
14:26
Code Bullet
Переглядів 1,7 млн
How I made AI Generated Rick and Morty Episodes
22:42
Code Bullet
Переглядів 1,3 млн
A.I. Learns to play Snake using Deep Q Learning
15:15
Code Bullet
Переглядів 3,4 млн
I Created An A.I. to DESTROY Tetris
17:25
Code Bullet
Переглядів 3,3 млн
A.I. Learns to FLY
27:47
Code Bullet
Переглядів 4 млн