I Created a PERFECT SNAKE A.I.

  Рет қаралды 11,087,925

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
@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
@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.
@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 15 күн бұрын
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!
@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) }
@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
@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
@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 17 күн бұрын
Checks out. He killed Adrian. And Adrian killed like 5 fully-trained soldiers, but Adrian died nonetheless.
@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
@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
@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 10 күн бұрын
We meme it all the time but usually we do get our hands down with programming the details in lol
@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 10 ай бұрын
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
@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
@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
@refl9630
@refl9630 2 жыл бұрын
3:37 there are only three possible moves at any time, since the snake can't go back.
@cottagcheese
@cottagcheese 2 жыл бұрын
18:32 it now just looks like a black snake in a field of grass
@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
@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?
@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
@shink303
@shink303 9 ай бұрын
i like how a completed snake board becomes a maze.
@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 KZfaq
@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 KZfaq 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.
@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.
@Jaylan.M
@Jaylan.M 2 жыл бұрын
I hope this is made into a wallpaper. It’s quite satisfying
@TheSinnerReloaded
@TheSinnerReloaded Жыл бұрын
20:51 When your download gets stuck at 99% and gives you an error after 12 hours of waiting.
@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
@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
@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
@dumbo21
@dumbo21 2 жыл бұрын
Damn after a while the patterns it made got so hypnotizing
@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.
@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
@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!
@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.
@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*
@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
@yhcgamer523
@yhcgamer523 7 ай бұрын
For some reason the designs the snakes body makes are so smooth and satisfying
@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
@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
@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
@teufel-gm9zz
@teufel-gm9zz 6 ай бұрын
2:10 i am a subscriber now
@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
@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?
@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
@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"
@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.
@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
@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
@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
@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😂
@rasulalam5876
@rasulalam5876 4 жыл бұрын
I wouldn’t even be surprised if this man disappears for 2 years and is like hI gUyS IM bACk ItS bEeN a LoNG TIME
@Mark_badas
@Mark_badas 4 жыл бұрын
Portal 2
@ldub0775
@ldub0775 4 жыл бұрын
Bill wurtz
@chillaxbro107
@chillaxbro107 4 жыл бұрын
Don’t give him any ideas
@JBuns02
@JBuns02 4 жыл бұрын
Yeah but the video will be on how to create the perfect stock market manipulation AI or something crazy
@lovelylow69
@lovelylow69 4 жыл бұрын
Chillax Bro I was about to also tell him to not give him any ideas
@dumbo21
@dumbo21 2 жыл бұрын
11:44 is this the intro to an 80’s “hacker” film
@nathankoziol7368
@nathankoziol7368 10 ай бұрын
I am *THE* hacker
@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.
@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
@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
@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
@Shinyreaper816
@Shinyreaper816 7 ай бұрын
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
@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
@theevilduckling7272
@theevilduckling7272 10 ай бұрын
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
@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
@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"
@AchyutRM
@AchyutRM 9 ай бұрын
8:33-14:06 is genuinely the best screensaver ever
@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?
@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
@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
@LilyRoseGames
@LilyRoseGames 17 күн бұрын
"John Taspell" John Tapsell is crying rn.
@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
@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
@ashleydejong3402
@ashleydejong3402 6 ай бұрын
1:40 This is a masterpiece of combat, the effects, the visuals itself are just beautiful
@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.
@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
@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
@user-fm3xy7td5f
@user-fm3xy7td5f 3 ай бұрын
Honestly with how much you upload the into is accurate
@phyro4122
@phyro4122 2 жыл бұрын
If he does end up building the terminator, you know he’s gonna steal it from someone else 😂 (love you Evan)
@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!
@UnfairEnforcer
@UnfairEnforcer 4 жыл бұрын
It’s always a bit eerie when the computer acknowledges it will lose and refuses to continue playing
@MatthewChenIsAwesome
@MatthewChenIsAwesome 4 жыл бұрын
naw its just cuz code bullet was too lazy to program it to do anything when theres no moves left
@gamemaster.......
@gamemaster....... 19 күн бұрын
The predator slowey closes the distance between it and its prey! How fascinating
@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 ай бұрын
😶😶😶😶😐😐😶😐😶😐😶😐😶😐💩
@hellfire411
@hellfire411 4 жыл бұрын
I feel like this should be a screensaver.
@TheGauges420
@TheGauges420 4 жыл бұрын
@Kamarious Antonio Temple aw, I want a replay.
@The_One_Time
@The_One_Time 4 жыл бұрын
same
@mcqueendies
@mcqueendies 4 жыл бұрын
Kamarious Antonio Temple I’m literally reporting you for spam boi
@ConsoleAdmin
@ConsoleAdmin 4 жыл бұрын
@Kamarious Antonio Temple bruh you dont have the video anywhere you uploaded 2 videos how is there a video for it?
@abeselby9737
@abeselby9737 4 жыл бұрын
I think it would be cool as like an art project at normal speed and you're special if you see it restart
@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
@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.
@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
@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
@williamjohnson8543
@williamjohnson8543 4 жыл бұрын
It looks like the perfect maze when it is complete.
@Luuncho
@Luuncho 4 жыл бұрын
Except there are zero branches in paths because it’s a snake, so there would be literally no way to fail the maze
@lilaxeree3621
@lilaxeree3621 4 жыл бұрын
@Kamarious Antonio Temple stop spam
@lilaxeree3621
@lilaxeree3621 4 жыл бұрын
@@Luuncho actually there would be no way to win
@thelyricplug1094
@thelyricplug1094 4 жыл бұрын
kzfaq.info/get/bejne/bsmpZLdim5_XZnU.html
@Luuncho
@Luuncho 4 жыл бұрын
@@lilaxeree3621 well by winning i mean go from end to end of the maze
@timothyshoup5044
@timothyshoup5044 Жыл бұрын
There is something almost hypnotic about watching that snake do its thing. I enjoyed it.
@Andrew_Shepherd870
@Andrew_Shepherd870 2 жыл бұрын
I would genuinely use a recording of this as a screen saver because it looks so cool
@hageby123jean1
@hageby123jean1 3 жыл бұрын
''When you about to break the world record. But manage to screw it up at the end'' 20:51
@krimsonite2574
@krimsonite2574 3 жыл бұрын
I expected 21:16
@DotboT3812
@DotboT3812 3 жыл бұрын
Krimsonite 2 BLBLBLBLBLLBBLLBLBLB
@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
@moon765
@moon765 Жыл бұрын
he should of made a grind where it goes into all the squares only leaving the ones behind it and let it leave a little space to come back to the start and start again
@michalsniadala1667
@michalsniadala1667 6 ай бұрын
new thumbnail?
@eternal8559
@eternal8559 4 жыл бұрын
11:03 that AI is not playing snake anymore, he is styling on this
@SonofTiamat
@SonofTiamat 4 жыл бұрын
It should be a screen saver
@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 2 жыл бұрын
@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
@HCivicFg2
@HCivicFg2 2 жыл бұрын
Best line of the whole video, "2020 I'm going to be a free man."
@edendenton7274
@edendenton7274 2 жыл бұрын
Watching the snake go around was super satisfying, love it
@zendekii
@zendekii 4 жыл бұрын
18:33 is just a black snake finding its way on a maze
@abstractsophy
@abstractsophy 4 жыл бұрын
fr lmao
@akshayv2849
@akshayv2849 4 жыл бұрын
Wow that's awesome observation 😂
@rileymeister7793
@rileymeister7793 4 жыл бұрын
It's trying to find it's buddy
@MBrosTheMLegendBB
@MBrosTheMLegendBB 4 жыл бұрын
I can't unsee it
@theuglydumbird
@theuglydumbird 4 жыл бұрын
THAT'S RACIST
@mrnotnic5343
@mrnotnic5343 4 жыл бұрын
Imagine being at school and looking at your homies chrome book on cool math games and seeing this shit
@ripetika1600
@ripetika1600 4 жыл бұрын
The snake browser game is better
@abyss_clips765
@abyss_clips765 4 жыл бұрын
Rip Etika it is and they blocked cool math games for us
@wormiefujioka2148
@wormiefujioka2148 4 жыл бұрын
@@abyss_clips765 try leaf browser on chrome extension
@felixmerz6229
@felixmerz6229 4 жыл бұрын
@Connor Cummings Apple does that as well, you can't possibly so uninformed.
@oogabooga620
@oogabooga620 4 жыл бұрын
@@abyss_clips765 same
@noxsnow8960
@noxsnow8960 8 ай бұрын
That has got to be the most satisfying video of snake I've ever seen
@fantasypvp
@fantasypvp 6 ай бұрын
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
@Itsatintownthinthing
@Itsatintownthinthing 3 жыл бұрын
I have never met a coder with more personality than this guy.
@jovan0454
@jovan0454 2 жыл бұрын
You should get to know me!!
@mitab1
@mitab1 2 жыл бұрын
Becuse codes feeds on your humanity and leave you as a souless husk
@rumpusgumpus6800
@rumpusgumpus6800 2 жыл бұрын
Yes and the Aussie hormones are the only things stopping him from becoming another brain dead shell of a human
@snazzyeee
@snazzyeee 2 жыл бұрын
@@mitab1 yes
@banana_awoofy9790
@banana_awoofy9790 2 жыл бұрын
Dani
@NoirPhoenix
@NoirPhoenix 4 жыл бұрын
That moment when an algorithm is more intelligent and requires alot less effort than a Neural Network.
@VasiliyOgniov
@VasiliyOgniov 4 жыл бұрын
It happens really often at the moment because NNs are not perfect. Although they are have much higher potential than algos so we better expect them to overcome everything else someday
@roguechlnchllla6564
@roguechlnchllla6564 4 жыл бұрын
The program itself isn't really AI. Just much more effective
@-Burb
@-Burb 4 жыл бұрын
Rogue CHlNCHlLLA It is AI, but not machine learning or neural networks or anything like that. It’s a more simple AI that works better is most cases. If you can program a simple AI to do things like what was in this video, it’s usually better to do that than make a complicated neural network to do the same thing. Snake can use maze algorithms, but things like carykh did about AIs making music similar to humans would need a neural network, since there isn’t really a “music making algorithm”. Just different use cases. :)
@stinkydonuts5533
@stinkydonuts5533 4 жыл бұрын
Lol
@parasiticangel8330
@parasiticangel8330 4 жыл бұрын
thats true for alot of problems.
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 МЛН
Mini Jelly Cake 🎂
00:50
Mr. Clabik
Рет қаралды 11 МЛН
Não pode Comprar Tudo 5
00:29
DUDU e CAROL
Рет қаралды 77 МЛН
GADGETS VS HACKS || Random Useful Tools For your child #hacks #gadgets
00:35
MINHA IRMÃ MALVADA CONTRA O GADGET DE TREM DE DOMINÓ 😡 #ferramenta
00:40
AI Learns to play JUMP KING
27:12
Code Bullet
Рет қаралды 8 МЛН
A.I. Learns To Walk
16:15
Code Bullet
Рет қаралды 10 МЛН
A.I. Learns to play Snake using Deep Q Learning
15:15
Code Bullet
Рет қаралды 3,4 МЛН
A.I. Learns to DRIVE
16:17
Code Bullet
Рет қаралды 6 МЛН
I made FLAPPY BIRD in DUMB programs
19:35
Code Bullet
Рет қаралды 1,4 МЛН
A.I. Learns to FLY
27:47
Code Bullet
Рет қаралды 4 МЛН
Chess With Gravity And Mystery Pieces
18:08
Aliensrock
Рет қаралды 8 М.
Using A.I. to DOMINATE NERDS in TETRIS
31:16
Code Bullet
Рет қаралды 7 МЛН
I got the world record for Plague Inc
1:04:06
EazySpeezy
Рет қаралды 4,2 МЛН
Can I Cross Tears of the Kingdom in a Straighter Line?
32:52
PointCrow
Рет қаралды 1,2 МЛН
Mini Jelly Cake 🎂
00:50
Mr. Clabik
Рет қаралды 11 МЛН