I Created a PERFECT SNAKE A.I.

Поделиться
HTML-код
  • Опубликовано: 20 ноя 2024

Комментарии • 20 тыс.

  • @hackhair5832
    @hackhair5832 5 лет назад +7862

    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 5 лет назад +436

      Strangely specific.

    • @rozh996
      @rozh996 5 лет назад +254

      Satisfying and specific

    • @HelpOTWx3
      @HelpOTWx3 5 лет назад +207

      Strangely specific, but not wrong

    • @levelup6243
      @levelup6243 5 лет назад +43

      Basically exactly like Daniel Ricciardo...

    • @ConnorMeagher
      @ConnorMeagher 5 лет назад +57

      Which translates to the viewer. The process is fun to watch though

  • @sirapple589
    @sirapple589 5 лет назад +5807

    CB Viewers: “Why is he taking so long to upload?”
    Code Bullet: *Throwing out entire weeks of progress for shits and giggles*

    • @ewan7746
      @ewan7746 5 лет назад +120

      CBT viewers: ouch my balls

    • @Emily12471
      @Emily12471 5 лет назад +145

      CB veiwers:.... Wait what the fuck? Why?
      Code Bullet: cause fuck you and fuck me that's why

    • @hydra9070
      @hydra9070 5 лет назад +6

      -

    • @seeker4430
      @seeker4430 5 лет назад +2

      Also no sharing code

    • @sirapple589
      @sirapple589 5 лет назад +1

      tremonk
      I don’t play Fortnite.

  • @TheTruth-si5zq
    @TheTruth-si5zq 5 лет назад +6878

    “He didn’t die, he just kinda gave up” This hit to close to home 😂

    • @xx0maxi
      @xx0maxi 5 лет назад +9

      Me comment first

    • @AHotLlama
      @AHotLlama 5 лет назад +102

      I couldn't tell if that referred to an AI snake or to Code Bullet, both seem appropriate

    • @conormcguinness3215
      @conormcguinness3215 5 лет назад +13

      Punky Plays So?

    • @punbug4721
      @punbug4721 5 лет назад +36

      This snake Ai is my digital spirit animal.

    • @Texan.Insomniac
      @Texan.Insomniac 5 лет назад +11

      5:44

  • @randorookie8587
    @randorookie8587 2 года назад +634

    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 Год назад +20

      Also new roads won't be added for months to a year

    • @timdadwagan
      @timdadwagan 7 месяцев назад +4

      Just go for the longest path duh

    • @Localcatgirl_
      @Localcatgirl_ 3 месяца назад

      @@timdadwaganexcept for when your scared then go into UBER FUCKING PANIC MODE

  • @InappropriatePolarbear
    @InappropriatePolarbear 3 года назад +2423

    "The snake will get pissed off and take an angry nap" is a phrase I need to use more in my life.

    • @myak5754
      @myak5754 3 года назад +21

      Ig im a snake then

    • @abacussssss
      @abacussssss 3 года назад +16

      finally 👨🏾‍🔬 sleeps furiously

    • @y_onis7038
      @y_onis7038 3 года назад +6

      @@abacussssss can you sleep depressed

    • @sinuslebastian6366
      @sinuslebastian6366 2 года назад +3

      Y_onis I do it everyday

    • @constellationmaker145
      @constellationmaker145 2 года назад +3

      @@y_onis7038 what about sleep neutral, happy, ecstatic, manic, sad, miserable, angry, enraged, afraid, (mostly me LOL) and stressed out?
      yes, omori reference

  • @brodyfrable4250
    @brodyfrable4250 4 года назад +7285

    I like that everyone just looked over the fact that adrian single-handedly killed _at least_ 5 fully-trained soldiers

  • @Furrett
    @Furrett 5 лет назад +3982

    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 RUclips

    • @NatapixAS
      @NatapixAS 5 лет назад +88

      its the two AIs trying to communicate

    • @k96man
      @k96man 5 лет назад +55

      @@NatapixAS Maybe the snake is trying to spell 'send help'

    • @Nate-bd8fg
      @Nate-bd8fg 5 лет назад +4

      DaBlackFoxAlt 'cept trending is hand selected by RUclips staff

    • @GymRat-7192
      @GymRat-7192 5 лет назад +26

      @@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 5 лет назад +12

      He's the Jontron of coding.

  • @iwtbwiw
    @iwtbwiw 2 года назад +204

    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

    • @yeldarb141983
      @yeldarb141983 5 месяцев назад +2

      [cliche old man voice] when I was a lad, we called that a screensaver. we used it to keep the image from burning into the screen, and we would watch them for hours at a time.
      [coughs, goes back to normal voice] ...then again, maybe that last part was just me, lol

    • @alexandermcclure6185
      @alexandermcclure6185 5 месяцев назад +1

      @@yeldarb141983 my favorite thing to watch 48/9/367 is loading bars... I think I have *synced up with CGP Grey* loading bar disease.

    • @yeldarb141983
      @yeldarb141983 5 месяцев назад

      @@alexandermcclure6185 look up the old windows pipes screensaver. you might get a kick out of it

    • @ckv1985
      @ckv1985 5 месяцев назад +1

      ​@@alexandermcclure6185what in the 1712 is a 48 hour dar

    • @rayzhao491
      @rayzhao491 Месяц назад

      @@ckv1985 calendar 2.0, an update to calendar that implements longer everything

  • @nikscerniss6429
    @nikscerniss6429 5 лет назад +5938

    If: gonna run into self
    -don't.

    • @alejrandom6592
      @alejrandom6592 5 лет назад +359

      deep shit you got over there

    • @romankalinchuk2750
      @romankalinchuk2750 5 лет назад +408

      If: hungery
      -eat
      Function.repeat

    • @shaunclarke04
      @shaunclarke04 5 лет назад +44

      Evija Cernisa what bloody syntax is that??

    • @laserbeem6692
      @laserbeem6692 5 лет назад +83

      accualy it goes like this in java
      if(head of snake touches self){
      user is dead;
      }
      this is pseudocode

    • @foxfyre3600
      @foxfyre3600 5 лет назад +75

      @@laserbeem6692 else { dontDie(bool justDont = true) }

  • @salmon7007
    @salmon7007 3 года назад +5202

    This would be an awesome like monitor background just a constant repetiting game of snake for your screen saver

    • @failtronic2646
      @failtronic2646 3 года назад +285

      found a background on Wallpaper Engine that literally randomizes a maze and solves it.

    • @RustyyDAWG
      @RustyyDAWG 3 года назад +44

      Someone needs to make this happen

    • @slxpperyy9796
      @slxpperyy9796 3 года назад +40

      @@failtronic2646 what is it called

    • @failtronic2646
      @failtronic2646 3 года назад +111

      @@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 года назад +3

      Ooooooooooooooooo Fiat hi FFFFAAAAAKKKKEEEE

  • @formularogue
    @formularogue 5 лет назад +1329

    RIP Adrian 2019 - 2019
    Forever in our hearts

  • @nathanmay9694
    @nathanmay9694 Год назад +187

    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 Год назад +12

      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 7 месяцев назад +6

      Checks out. He killed Adrian. And Adrian killed like 5 fully-trained soldiers, but Adrian died nonetheless.

    • @alooinfinite2912
      @alooinfinite2912 6 месяцев назад

      @bestintheband5114

    • @MEGAMINER9742
      @MEGAMINER9742 3 месяца назад +3

      I don’t use light mode but I bury thousands of body’s in my backyard!

    • @ShadowGaming-ft4fh
      @ShadowGaming-ft4fh 3 месяца назад

      @@MEGAMINER9742must be nice having such a large yard

  • @Madame_Talos
    @Madame_Talos 4 года назад +2992

    If the robot uprising starts with Evan,
    *_It probably won’t last long_*

    • @yahiaaymankamaly3518
      @yahiaaymankamaly3518 4 года назад +208

      Hey ! Take this more seriously , if they have 5000 attemps they may be even able to leave the room they started in

    • @tylernelson310
      @tylernelson310 4 года назад +9

      @Anime_Edits i cant tell if thats real or not

    • @tylernelson310
      @tylernelson310 4 года назад +4

      @Anime_Edits ohhhh that one

    • @nathaniel1207
      @nathaniel1207 4 года назад +33

      this implies 1 of 2 things. either he'll win quickly. or he'll fail quickly

    • @rodoggx9046
      @rodoggx9046 4 года назад +8

      No no it will be with Machine learning. So much shorter

  • @mermer3572
    @mermer3572 3 года назад +4009

    First rule of snake: snake eat apple
    Second rule of snake: under absolutely zero circumstances does snake eat apple

    • @LunaHowBoutPoona
      @LunaHowBoutPoona 3 года назад +134

      Third rule of snake: NO HOLES

    • @BobBob-ye4vz
      @BobBob-ye4vz 3 года назад +62

      Fourth rule of snake: don’t die lol

    • @mynameisjoseph7848
      @mynameisjoseph7848 3 года назад +34

      Fifth rule: dont not cheat

    • @Т1000-м1и
      @Т1000-м1и 3 года назад +12

      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 3 года назад +9

      Paradoxically paradoxical

  • @alexandraantimie9576
    @alexandraantimie9576 4 года назад +826

    My anxiety reaches a whole new level when the snake circles the apple and leaves the smallest opening

  • @refl9630
    @refl9630 3 года назад +93

    3:37 there are only three possible moves at any time, since the snake can't go back.

    • @alooinfinite2912
      @alooinfinite2912 6 месяцев назад +2

      and not to mention walls and corners

  • @michael_angelo_myers
    @michael_angelo_myers 4 года назад +2072

    This would be the coolest screen saver.

    • @christowers7307
      @christowers7307 4 года назад +43

      Oh man, that's an excellent idea

    • @Lappers
      @Lappers 4 года назад +49

      Code bullet going crazy or the snake A.I

    • @maskedsalesman2020
      @maskedsalesman2020 4 года назад +23

      @Your Pal Ryder Both would be fine.

    • @victinistealth5756
      @victinistealth5756 4 года назад +4

      Look at the names of the top 4 people not including me

    • @NOAH-um7go
      @NOAH-um7go 4 года назад +3

      @@victinistealth5756 I don't get it.

  • @thedrawingkidanimatedkid686
    @thedrawingkidanimatedkid686 3 года назад +7753

    Ai: misses by one pixel
    Ai: this little maneuver is gonna cost us 51 years

    • @blessed6336
      @blessed6336 3 года назад +99

      This made me laugh so loud 😂

    • @thingythesigma
      @thingythesigma 3 года назад +39

      @@blessed6336 r/youngpeopleyoutube

    • @officialburgerkingfootlett5241
      @officialburgerkingfootlett5241 3 года назад +31

      @@blessed6336 LSL instead of LOL

    • @Hall.
      @Hall. 3 года назад +51

      @@thingythesigma ???

    • @I_Eat_Lemons
      @I_Eat_Lemons 3 года назад +91

      @@thingythesigma You don't even know how to use r/youngpeopleyoutube correctly.

  • @leddy7315
    @leddy7315 5 лет назад +21912

    It’s not an ai, he’s just really good at snake

    • @fluffiestboi175
      @fluffiestboi175 5 лет назад +478

      Plot Twist

    • @leondyson-rix8233
      @leondyson-rix8233 5 лет назад +120

      Lmao

    • @smiley94
      @smiley94 5 лет назад +692

      That’s why he took so long... coudn’t do it by A.I. So he became the best snake player ever.

    • @mortemsteam
      @mortemsteam 5 лет назад +24

      @RedPanda250 wooosh

    • @nubbular
      @nubbular 5 лет назад +46

      Why do people always say this about this guy?

  • @Jaylan.M
    @Jaylan.M 3 года назад +30

    I hope this is made into a wallpaper. It’s quite satisfying

  • @geimskip17
    @geimskip17 5 лет назад +907

    Evan: "im back"
    Me: "dont do that, dont give me hope"

  • @Lucerne9
    @Lucerne9 5 лет назад +4152

    "The snake will get pissed off and take an angry nap"
    This is me trying to do calculus hmwk

  • @mellow6268
    @mellow6268 4 года назад +1891

    Funny how at the end it looks like a black snake moving along a green grid

  • @Helladamnleet
    @Helladamnleet 2 года назад +256

    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 Год назад +7

      Same

    • @ratt__mann9220
      @ratt__mann9220 Год назад +9

      I'd pay atleast one dollar and 1 cent

    • @nubbyboi6523
      @nubbyboi6523 Год назад +11

      I would pay a whole Enigma Machine Part 2 video

    • @Wall-knight
      @Wall-knight 11 месяцев назад

      @@ratt__mann92201 dollar and two cents

  • @alexi4829
    @alexi4829 5 лет назад +1939

    Code Bullet in a nutshell:
    Angry man cries his way through life whilst complaining about the things he loves
    so basically every programmer ever

  • @Mathrilord
    @Mathrilord 4 года назад +1043

    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 года назад +74

      4. Don't lose. This can also be 1.

    • @CaelVK
      @CaelVK 4 года назад +18

      Just be good at the game 4head

    • @courtneywaybright8184
      @courtneywaybright8184 4 года назад +4

      dont travel along the edge unless needed to get the next food

    • @babytricep437
      @babytricep437 4 года назад

      Mathrilord easier said then done

    • @ilost1492
      @ilost1492 4 года назад +1

      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

  • @alicemoffat
    @alicemoffat 5 лет назад +12850

    I swear, Evan is going to end up building the Terminator.

    • @mattes4929
      @mattes4929 5 лет назад +417

      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 5 лет назад +34

      Lol

    • @elgurkus6885
      @elgurkus6885 5 лет назад +100

      *accidently

    • @Elipus22
      @Elipus22 5 лет назад +58

      He'll be able to once he cracks enigma

    • @bundog5367
      @bundog5367 5 лет назад +38

      He is going to be a terminator

  • @anshriyal6495
    @anshriyal6495 9 месяцев назад +5

    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!

  • @bigtimeaorta
    @bigtimeaorta 4 года назад +1187

    I like it when the snake just stops moving and gives up
    "Eventually, Kars stopped thinking..."

    • @aname843
      @aname843 4 года назад +3

      @RYAN JIANG *NICEEEEEEE*

    • @harrypoon2438
      @harrypoon2438 4 года назад

      Still waiting for him to post something

    • @txaggyraf
      @txaggyraf 4 года назад +1

      That’s at 5:38

    • @erenaygun9696
      @erenaygun9696 4 года назад +4

      #unexpectedjojo

    • @KR_Kosmik
      @KR_Kosmik 4 года назад +1

      OH FUK
      IS TAT A JOJO REFERENCE

  • @Zephyreryone
    @Zephyreryone 5 лет назад +6172

    Plot twist: it was him playing the whole time, hes spent years training

    • @jacobalexander4498
      @jacobalexander4498 5 лет назад +165

      Years of academy training, wasted!

    • @alexh1321
      @alexh1321 5 лет назад +150

      All that time he wasn’t uploading he was just training

    • @Buphido
      @Buphido 5 лет назад +73

      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 5 лет назад +13

      plot twist: it was actually u playing the whole time

    • @oii_oii
      @oii_oii 5 лет назад

      not years just 4 months of playing snake

  • @samurai2871
    @samurai2871 3 года назад +1270

    Dude if your GPS was actually like that, I'd totally buy one.

  • @cottagcheese
    @cottagcheese 3 года назад +38

    18:32
    it now just looks like a black snake in a field of grass

    • @alexandermcclure6185
      @alexandermcclure6185 5 месяцев назад +2

      it's an anti-snake, following a Hamiltonian cycle to find the anti-apples that make it grow shorter... oh goodness this is morbid

  • @Bamthis
    @Bamthis 4 года назад +837

    You know a snake player is good, when it’s snake looks like an Aztec temple

  • @Itsatintownthinthing
    @Itsatintownthinthing 3 года назад +2362

    I have never met a coder with more personality than this guy.

    • @jovan0454
      @jovan0454 3 года назад +15

      You should get to know me!!

    • @mitab1
      @mitab1 3 года назад +174

      Becuse codes feeds on your humanity and leave you as a souless husk

    • @rumpusgumpus6800
      @rumpusgumpus6800 3 года назад +16

      Yes and the Aussie hormones are the only things stopping him from becoming another brain dead shell of a human

    • @snazzyeee
      @snazzyeee 3 года назад +8

      @@mitab1 yes

    • @banana_awoofy9790
      @banana_awoofy9790 3 года назад +8

      Dani

  • @MATISTHERAT
    @MATISTHERAT 5 лет назад +626

    Lol imagine him trying to keep a straight face making the sounds for the military scene.

    • @user-hm1kq6lj4l
      @user-hm1kq6lj4l 5 лет назад

      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 5 лет назад

      why would he need to keep a straight face tho?

    • @darthfikus5206
      @darthfikus5206 5 лет назад

      TBH that was a rather accurate depiction of military - they kill a bunch of people and things only get worse.

    • @luv-uf3qz
      @luv-uf3qz 5 лет назад

      @Spit Dragon well not for me, if you told me to do that voice ,i would take a few weeks

    • @Travminer123
      @Travminer123 5 лет назад

      B it’s meant to be funny. It’s the point and it fucking was

  • @mprocks6522
    @mprocks6522 3 года назад +90

    Near the end Even losing his sanity over 2 blocks is like the Sargent losing his mind and screaming "4 FUCKING PIXELS"

    • @Terror1325
      @Terror1325 Год назад +4

      Thats some serius 096 lore right there for how long have u been in the scp community?

    • @alexaltaccount7812
      @alexaltaccount7812 Год назад +2

      that isnt even serious lore, i think its a pretty well known thing

    • @constellationmaker145
      @constellationmaker145 Год назад

      "Two. FUCKING. BLOCKS."
      *SANITY*

    • @ourlordandsaviorsquirtle3278
      @ourlordandsaviorsquirtle3278 Год назад +1

      @@Terror1325 thats literally the most common piece of 96 lore aside from its abilities

  • @themoldysausage
    @themoldysausage 3 года назад +4264

    "I'm back guys!"
    The best part of Code Bullet is him pretending to be a consistently uploading youtuber

    • @jovan0454
      @jovan0454 3 года назад +179

      It's very consistent, at least one upload a year!

    • @assaultmodemeliodas5283
      @assaultmodemeliodas5283 3 года назад +19

      @@jovan0454 That is true

    • @RobertMcBride-is-cool
      @RobertMcBride-is-cool 3 года назад +44

      And calling when he uploads a “schedule”.

    • @rangaaaaaaaaaaaaa
      @rangaaaaaaaaaaaaa 3 года назад +11

      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 3 года назад +12

      @@jovan0454 it's been 11 months since the last upload, is he gonna be able to one upload a year?

  • @BrodieEaton
    @BrodieEaton 5 лет назад +417

    Code Bullet: It’s perfect!
    The snake: *I’m ‘boutta end this man’s whole career*

  • @Danidev
    @Danidev 5 лет назад +5171

    yaboi returned form the grave!

  • @dumbo21
    @dumbo21 2 года назад +19

    Damn after a while the patterns it made got so hypnotizing

  • @yourenotmycat
    @yourenotmycat 4 года назад +1708

    Can we have
    Code Bullet: learns to upload

  • @sophiacristina
    @sophiacristina 5 лет назад +667

    Programming:
    "Omg, i can't believe this really works!"
    "Omg, of course it didn't!"

    • @Hunnter2k3
      @Hunnter2k3 5 лет назад +10

      I can get like that half-way through the first sentence sometimes.
      "omg I can't believe it didn't works!"

    • @SomeRandomDude821
      @SomeRandomDude821 5 лет назад +3

      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 5 лет назад +2

      Programming is like trying to teach how to swim to a tomato.

  • @UnfairEnforcer
    @UnfairEnforcer 5 лет назад +154

    It’s always a bit eerie when the computer acknowledges it will lose and refuses to continue playing

    • @MatthewChenIsAwesome
      @MatthewChenIsAwesome 5 лет назад

      naw its just cuz code bullet was too lazy to program it to do anything when theres no moves left

  • @HiddenRealm
    @HiddenRealm 2 года назад +3

    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.

  • @tylan5081
    @tylan5081 5 лет назад +585

    Respect to cb for making this but I spent almost half an hour watching a green line on a screen

  • @deevee5327
    @deevee5327 5 лет назад +1534

    "This solution is just riddled with issues"
    *Still plays snake better than me.*

    • @adaptablerubenvideos3097
      @adaptablerubenvideos3097 5 лет назад +16

      Idea: make a minecraft AI that is atleast capable of beating the game
      Mailed comment 2

    • @urinetrouble0543
      @urinetrouble0543 5 лет назад

      DeeVee hey do you know what the storm light archive is?

    • @elemaire86
      @elemaire86 5 лет назад +2

      He's not actually playing it. He's just figuring out the best algorithm and letting a computer do the rest.

    • @deevee5327
      @deevee5327 5 лет назад +1

      @@urinetrouble0543 If I know what Stormlight Archive is? Sir, I *live and breathe* by Sanderson's books.

    • @urinetrouble0543
      @urinetrouble0543 5 лет назад

      Eric Lemaire, Jr. they never said he was playing it

  • @joosh.e
    @joosh.e 4 года назад +205

    the "Reverse A* / keep 80% free space available" one makes some really cool patterns, i could see it being used as a randomly generated screensaver

    • @leshadows5310
      @leshadows5310 4 года назад +2

      Where do you find those cause I want one

    • @joosh.e
      @joosh.e 4 года назад +3

      @@leshadows5310 uh idk, i was just throwing out an idea. sorry dude

  • @MonkeySimius
    @MonkeySimius 2 года назад +8

    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.

  • @danp832
    @danp832 5 лет назад +196

    I love the way CB can explain something then immediately gets pissed off at his own work in progress with great profanity. I love it.

    • @JosephCooperNightcore
      @JosephCooperNightcore 5 лет назад

      As a programmer i can rely and i really like his content and style

    • @irongolem1476
      @irongolem1476 5 лет назад

      @@JosephCooperNightcore rely? Sorry just wanted to point it out

    • @JosephCooperNightcore
      @JosephCooperNightcore 5 лет назад

      Autocorrector wrote the wrong term, i mean understand

  • @IonicFalcon
    @IonicFalcon 4 года назад +1860

    And like that, he’s gone again....

  • @zendekii
    @zendekii 4 года назад +735

    18:33 is just a black snake finding its way on a maze

  • @yhcgamer523
    @yhcgamer523 Год назад +3

    For some reason the designs the snakes body makes are so smooth and satisfying

  • @TheTrueBrownTrashCan
    @TheTrueBrownTrashCan 5 лет назад +659

    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 5 лет назад +4

      Portal 2

    • @ldub0775
      @ldub0775 5 лет назад +4

      Bill wurtz

    • @Chillax_Bro1
      @Chillax_Bro1 5 лет назад +5

      Don’t give him any ideas

    • @JBuns02
      @JBuns02 5 лет назад +13

      Yeah but the video will be on how to create the perfect stock market manipulation AI or something crazy

    • @lovelylow69
      @lovelylow69 5 лет назад +1

      Chillax Bro I was about to also tell him to not give him any ideas

  • @williamjohnson8543
    @williamjohnson8543 5 лет назад +655

    It looks like the perfect maze when it is complete.

    • @Luuncho
      @Luuncho 5 лет назад +10

      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 5 лет назад +1

      @Kamarious Antonio Temple stop spam

    • @lilaxeree3621
      @lilaxeree3621 5 лет назад

      @@Luuncho actually there would be no way to win

    • @thelyricplug1094
      @thelyricplug1094 5 лет назад

      ruclips.net/video/8cy1T169s6A/видео.html

    • @Luuncho
      @Luuncho 5 лет назад

      @@lilaxeree3621 well by winning i mean go from end to end of the maze

  • @saltyman37
    @saltyman37 5 лет назад +146

    20:55 I'm pretty sure that the snake was just following it's tail one step one block behind meaning there were zero blocks inbetween

    • @DevilGun
      @DevilGun 5 лет назад +21

      nice catch - change the color of the head part and rerun :D

    • @hunghung9537
      @hunghung9537 5 лет назад +4

      Yup, it is impossible for the snake to bite its tail directly from behind ( not from the rear).

    • @hunghung9537
      @hunghung9537 5 лет назад +5

      @@BlueMoon-ij6ce the matter is hơ the food can grow inbetween the head and the tail if there is no space.

    • @zaramintheequanimous
      @zaramintheequanimous 5 лет назад +4

      @@BlueMoon-ij6ce yes, even after eating the dot and growing, it shouldn't expand from its limit, so the snake is technically still alive

    • @stevethebarbarian9876
      @stevethebarbarian9876 5 лет назад +7

      In other words, it could've kept going, the AI just didn't know that 'cause the AO doesn't know its tail moves.

  • @bowenjudd1028
    @bowenjudd1028 2 года назад +11

    3:07 I just realized that CB scared the driver so much, they gripped and tore part of the steering wheel off.

  • @zenterno-zt1pl
    @zenterno-zt1pl 4 года назад +535

    5:03 remember him
    20:03 this is him now
    Feel old yet

  • @0nm187
    @0nm187 3 года назад +400

    20:56 this should become an a t-shirt print

  • @annadoesroblox6205
    @annadoesroblox6205 4 года назад +437

    20:50 the snake was still alive, the head was right next to the tail.

    • @minoxiothethird
      @minoxiothethird 4 года назад +35

      Damn, if he had waited longer he would've won too.

    • @benfifteen
      @benfifteen 4 года назад +26

      It does seem like that could be the case, but it can't be based on the rules he's set up: he overlapped/ran into the tail and did in fact lose despite not running into a wall.
      Early in that run when he overlays a grid it's easy to see that every pellet increases the length by 4. The last void has 2 squares, so that's looking pretty grim.
      To confirm, a few frames back from the end screen you can see 30 squares in between the head and tail, including one pellet. The next frame there are 18 to the tail. Between frames he must have had 3 pellets to gain 3*4=12 length. With 18 left, there is no multiple of 4 that would have closed the gap completely without losing. 4 more pellets and there would have been two spots left, and there was a 50/50 chance of dying if the pellet first appeared near the head instead of in the other void of 2.

    • @benfifteen
      @benfifteen 4 года назад +4

      For a little more math, what was the chance of failure at the point where there were 32 empty spaces? The short answer is 20%.
      The long answer is that for the case where there is a void of 2 and 32 total spaces left (the rest of which are adjacent to the head and tail), we can just multiply the probability that the pellet/apple doesn't spawn in the void of 2 at each step together since if at any point it did spawn in that void of 2, then victory would be guaranteed assuming we don't make any more problematic voids. We get:
      (30/32)(26/28)(22/24)(18/20)(14/16)(10/12)(6/8)(2/4) = 6435/32768, which means about a 19.6% chance of failure.
      In general for m pellets remaining on the board with a single discontinuous void of 2, the chance of failure is the product from n=1 to n=m of (2n-1)/(2n). In our case m=8. This all means that for 100 pellets remaining with a similar scenario, the chance of failure would only be 5.6% Most importantly, though, if the snake just got one unit longer for each goal, this would never be a problem. At the very least if the "reward" is more than 1 we need to only leave voids with a multiple of that many squares to prevent the chance that this happens entirely. (Assuming of course that the snake's length starts out at as a multiple of this number and that the total number of squares on the board is also a multiple of this number.)
      www.wolframalpha.com/input/?i=product[n=1..100](2n-1)/(2n)

    • @cadenbmx9316
      @cadenbmx9316 4 года назад +1

      Exactly

    • @r4ngo297
      @r4ngo297 4 года назад

      Aı is try to find fastest way

  • @adnamafett7862
    @adnamafett7862 2 года назад +3

    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 2 года назад

      Instead of taking melatonin for my insomnia, I up your view count

  • @MrSomeDonkus
    @MrSomeDonkus 5 лет назад +105

    I definitely liked the ai before the Hamiltonian cycle thing. It was very interesting to watch if not almost kinda beautiful. I want it as a screen saver now.

  • @hellfire411
    @hellfire411 5 лет назад +586

    I feel like this should be a screensaver.

    • @TheGauges420
      @TheGauges420 5 лет назад +7

      @Kamarious Antonio Temple aw, I want a replay.

    • @The_One_Time
      @The_One_Time 5 лет назад +1

      same

    • @mcqueendies
      @mcqueendies 5 лет назад +3

      Kamarious Antonio Temple I’m literally reporting you for spam boi

    • @ConsoleAdmin
      @ConsoleAdmin 5 лет назад +2

      @Kamarious Antonio Temple bruh you dont have the video anywhere you uploaded 2 videos how is there a video for it?

    • @abeselby9737
      @abeselby9737 5 лет назад +1

      I think it would be cool as like an art project at normal speed and you're special if you see it restart

  • @eternal8559
    @eternal8559 5 лет назад +146

    11:03 that AI is not playing snake anymore, he is styling on this

  • @purestsalt8870
    @purestsalt8870 3 года назад +3

    i love how at the end, it seems as though the leftover spaces made by the movement of the snakes tail is the snake

  • @Meiiraru
    @Meiiraru 4 года назад +470

    The snake might be alive at 20:50
    it's just following the tail in the exact same tick, with zero spacing
    probably not, but maybe

    • @shafty3047
      @shafty3047 4 года назад +28

      Fran that’s exactly what I’m thinking

    • @shailist
      @shailist 4 года назад +25

      technically might be possible but it depends on the order you "move" the snake's head and tail

    • @kirinotosaki9004
      @kirinotosaki9004 4 года назад +31

      The spawn of the apple just so happens to spawn in the space between the head and the tail. After all of that space is gone, the next apple spawned in one of the two blocks remaining, but without that space between the head and the tail, its game over.

    • @ibuucoksiregar9024
      @ibuucoksiregar9024 4 года назад +4

      This comment makes me curious and its very unsatisfying >:(

    • @lepourceletbarthelemy6555
      @lepourceletbarthelemy6555 4 года назад +3

      Just what I have in mind too

  • @toxicmongerofthehatefulbro5745
    @toxicmongerofthehatefulbro5745 5 лет назад +500

    "Aww He's got a gun!"
    Did not expect that.

  • @TK-bh9lx
    @TK-bh9lx 5 лет назад +203

    15:50
    “A Hamiltonian Cycle is a gross ass math term which I remember from an Uni course which I didn’t pay enough attention to, so I feel like I’m perfectly qualified to explain this”
    Exactly me after watching one of your video’s

    • @DieAlteistwiederda
      @DieAlteistwiederda 5 лет назад

      I watched all of his video so now I'm basically a fully trained programmer, absolutely and 100% true.

  • @shink303
    @shink303 Год назад +8

    i like how a completed snake board becomes a maze.

    • @alexandermcclure6185
      @alexandermcclure6185 5 месяцев назад +1

      nah there's no start or end, and no branches. just a Hamiltonian cycle.

  • @TDLwave
    @TDLwave 3 года назад +6093

    Plot twist: he was the one playing and he is secretly the best snek player ever.

    • @DR3ADNOUGHT
      @DR3ADNOUGHT 3 года назад +98

      @spider man snek

    • @filipek5230
      @filipek5230 3 года назад +58

      @CreeperFun12 snek

    • @monstergurke88
      @monstergurke88 3 года назад +36

      @CreeperFun12 snek

    • @idropgp8052
      @idropgp8052 3 года назад +10

      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 3 года назад +139

      @@idropgp8052 r/woooooosh

  • @imshimas2858
    @imshimas2858 4 года назад +91

    This snake gameplay is the most epic snake gameplay I have ever seen. The patterns it makes its out of this world.

  • @RedRungle
    @RedRungle 5 лет назад +1616

    Title: “Perfect Snake A.I”
    Me, having seen his last 12 snake A.I videos: **Doubt**

  • @Lumirayz
    @Lumirayz Год назад +18

    20:51 When your download gets stuck at 99% and gives you an error after 12 hours of waiting.

  • @Jackie777
    @Jackie777 3 года назад +1159

    13:00 was SUCH a "fuck the apple, I NEED TO LIVE" moment

    • @anandsuralkar2947
      @anandsuralkar2947 3 года назад +13

      hahahahahaha

    • @indigo4710
      @indigo4710 3 года назад +6

      Suzaku be like

    • @sagesy9774
      @sagesy9774 3 года назад +2

      haha naice

    • @annastripinis4568
      @annastripinis4568 3 года назад +35

      Or as I like to say “OH SHIT OH FUCK ON NO GONNA DIE I WAS SO YOUNG”

    • @stealthlock6634
      @stealthlock6634 2 года назад +9

      I thought you said “f the people, I need to live” and it was so powerful ngl

  • @angrypelmeshka5928
    @angrypelmeshka5928 4 года назад +505

    14:11 the cutest noise that CB ever did.

    • @fundayswithfox6706
      @fundayswithfox6706 4 года назад +48

      21:16 is better

    • @MinaT
      @MinaT 4 года назад +32

      15:23 was better

    • @Da_Rivulet
      @Da_Rivulet 3 года назад +10

      i hear "ggnaw naw naaaahhhhw..."

    • @jankisi
      @jankisi 3 года назад +13

      @@MinaT Technically, until 15:23 the cutest noise was 14:11. So all three of you are right. Of course noone is offensive and don't get me wrong I just like to take things literal

    • @savvy2114
      @savvy2114 3 года назад +6

      15:22 da best

  • @thekrackenx
    @thekrackenx 5 лет назад +690

    Code bullet: take the longest path to the apple.
    AI: *starts recreating the actual game to then get the apple*

    • @PandaXStorm
      @PandaXStorm 5 лет назад +31

      the AI is recreating the big bang, the evolution of Life, the history of humanity and then gets the apple

    • @placidqualm
      @placidqualm 5 лет назад +11

      Don't forget paying off it's college debt

    • @DuskAlimar
      @DuskAlimar 5 лет назад +8

      CB: get. Dot.
      A.I: Live?
      CB: no. Get dot.
      A.i: I'd rather live, fleshbag

    • @samuelmarzo722
      @samuelmarzo722 5 лет назад

      @@PandaXStorm adam and eve lol

  • @DrPsychotic
    @DrPsychotic Год назад +1

    this was surprisingly cool, I also liked watching the first one it was so suspenseful and i really thought it was gunna work

  • @JoshGreen6829
    @JoshGreen6829 4 года назад +553

    The clothes he animates on looks really comfy

    • @Q_ari
      @Q_ari 3 года назад +28

      But the monitor on his head doesnt

    • @sharkronical
      @sharkronical 3 года назад

      Looks like Sans' jacket but black

    • @Sereal5706
      @Sereal5706 3 года назад +2

      @@Q_ari his head is the monitar

    • @Gxlcks
      @Gxlcks 3 года назад +1

      @@Sereal5706 monitor sorry hate to be that guy.

    • @unprankable666
      @unprankable666 3 года назад

      They really do

  • @sh4dow176
    @sh4dow176 4 года назад +1608

    It’s been three months, the god will be summoned once more

    • @hotpinkfryingpan
      @hotpinkfryingpan 4 года назад +11

      Just... One final hope... For my fucking python scripts to work

    • @onesevenninewest
      @onesevenninewest 4 года назад +2

      Once I get my TensorFlow dependencies in order, then CB will post another vid

    • @prince_jadenn427
      @prince_jadenn427 4 года назад +1

      Sh4dow i think not buddy

    • @killr292
      @killr292 4 года назад +2

      It was five

    • @Nitro-sf1vg
      @Nitro-sf1vg 4 года назад

      Yanxuan Weng no

  • @NoirPhoenix
    @NoirPhoenix 5 лет назад +323

    That moment when an algorithm is more intelligent and requires alot less effort than a Neural Network.

    • @VasiliyOgniov
      @VasiliyOgniov 5 лет назад +7

      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 5 лет назад +3

      The program itself isn't really AI. Just much more effective

    • @-Burb
      @-Burb 5 лет назад +7

      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 5 лет назад

      Lol

    • @parasiticangel8330
      @parasiticangel8330 5 лет назад

      thats true for alot of problems.

  • @ashleydejong3402
    @ashleydejong3402 Год назад +1

    1:40 This is a masterpiece of combat, the effects, the visuals itself are just beautiful

  • @Ha1cyon00
    @Ha1cyon00 5 лет назад +541

    "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 5 лет назад +9

      Judging from the part where the broken snake literally beat up the army, yeah it probably IS hunting people

  • @njeneway3776
    @njeneway3776 5 лет назад +345

    The army scene...
    F**kin incredible
    Never gonna complain for another long wait

    • @stephenthethiccboi9775
      @stephenthethiccboi9775 5 лет назад +1

      @Shadow Ninja2468 25:43

    • @njeneway3776
      @njeneway3776 5 лет назад

      @Shadow Ninja2468 1:40
      Less than 2 minutes in

    • @quantumsigmaqed6312
      @quantumsigmaqed6312 5 лет назад

      @@stephenthethiccboi9775 Thanks

    • @M1ST3RFOX
      @M1ST3RFOX 5 лет назад

      Stephen the THICC BOI congrats on makin a broken timestamp

    • @Travminer123
      @Travminer123 5 лет назад

      Gentleman Fox it’s a time stamp after the video ends. It’s a troll...

  • @hageby123jean1
    @hageby123jean1 4 года назад +304

    ''When you about to break the world record. But manage to screw it up at the end''
    20:51

  • @filippobilzoni5682
    @filippobilzoni5682 3 года назад +26

    I would love to have an animated wall in my room with this AI going all the time

    • @Brigeb20
      @Brigeb20 2 года назад +1

      And when you turn it off the snake resets it's size and position

    • @alexandermcclure6185
      @alexandermcclure6185 5 месяцев назад

      @@Brigeb20 Shut up and take my money!

  • @mrnotnic5343
    @mrnotnic5343 5 лет назад +258

    Imagine being at school and looking at your homies chrome book on cool math games and seeing this shit

    • @unlovableshinshin
      @unlovableshinshin 5 лет назад +1

      The snake browser game is better

    • @abyss_clips765
      @abyss_clips765 5 лет назад +1

      Rip Etika it is and they blocked cool math games for us

    • @wormiefujioka2148
      @wormiefujioka2148 5 лет назад +2

      @@abyss_clips765 try leaf browser on chrome extension

    • @thecakeredux
      @thecakeredux 5 лет назад +2

      @Connor Cummings Apple does that as well, you can't possibly so uninformed.

    • @oogabooga620
      @oogabooga620 5 лет назад +1

      @@abyss_clips765 same

  • @alexwithsauce2556
    @alexwithsauce2556 5 лет назад +113

    The 1000x speed one just looked like green spaghetti being stirred around

    • @gamersunite5745
      @gamersunite5745 5 лет назад

      @@jase9319 lol

    • @tanitluminake
      @tanitluminake 5 лет назад

      @@jase9319 You're picking your spaghetti off the vine too early you need to wait a few more weeks for it to ripen, its a lot less bitter then. Either that or place your picking next to bananas that should ripen them quicker! (This is the most Shitpost comment I've ever written, I can hear my Biology A level teacher screaming from here...)

  • @Bakken102
    @Bakken102 5 лет назад +503

    Snake: *turns red*
    Snake's AI: current objective: *SURVIVE*

    • @jjmj4971
      @jjmj4971 5 лет назад +1

      Current objective*

    • @Bakken102
      @Bakken102 5 лет назад +1

      @@jjmj4971 Thanks

    • @Sparrowash97
      @Sparrowash97 5 лет назад

      Translated into Code Bullet speech: Fuck! Fuck Fuck Fuckadie Fuuuuuck!!!

  • @dumbo21
    @dumbo21 2 года назад +9

    11:44 is this the intro to an 80’s “hacker” film

  • @ibtgb2
    @ibtgb2 4 года назад +586

    I miss code bullet...
    "Gonna be doing code bullet full time" and by that he means, 'suck it nerds'.

  • @saitsaait8141
    @saitsaait8141 5 лет назад +271

    Make an AI system that reminds you about your RUclips channel at a random time once a week

  • @mattb9343
    @mattb9343 5 лет назад +477

    CB: Snake get the food, don't hit the walls.
    Snake: *IT'S SHOW TIME!!*

  • @wagester2656
    @wagester2656 Год назад +2

    20:00 it looks like one of those time lapses of a city being built

  • @MossBro333
    @MossBro333 5 лет назад +145

    That would be a really cool wallpaper if it restarted at the end

    • @AlexPBenton
      @AlexPBenton 5 лет назад +5

      Alan Mosbruger Ooh! It should fill the beard with green, then fill it with black :)

    • @octowave6791
      @octowave6791 5 лет назад +1

      I was literally thinking the exact same thing

  • @美波_5
    @美波_5 5 лет назад +533

    Announcer voice: “things are heating up in the snake fandom”

  • @dibulater640
    @dibulater640 5 лет назад +1446

    2019 : Perfect Snake A.I.
    2029 : Perfect World Domination by A.I.

    • @yeetdabeans3883
      @yeetdabeans3883 5 лет назад +9

      2059:pefect *dies from poisond oxygen *

    • @ve7ant
      @ve7ant 5 лет назад +1

      Just throw an apple

    • @SRC267
      @SRC267 5 лет назад +5

      August 29th 2029, keep that date in your diary.

    • @suzyroseblossom
      @suzyroseblossom 5 лет назад +1

      Yeah pretty much

    • @M4k4r_Th3_D3lver
      @M4k4r_Th3_D3lver 5 лет назад +2

      *SkyNet has entered the chat*

  • @Badboy-vn7eb
    @Badboy-vn7eb 2 года назад +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.

  • @ojuswi
    @ojuswi 5 лет назад +882

    "Let's make it 10 times faster"
    "Alright 50 times FASTER"
    "100 times FAYESTER"
    "1000 times FAYASTAH"

    • @matthewh8812
      @matthewh8812 5 лет назад +12

      Let's make code change his upload schedule like that

    • @Halvos12
      @Halvos12 5 лет назад +6

      Me watching at 2 times speed
      "2000 times FAYASTAH"

    • @michaeltp6730
      @michaeltp6730 5 лет назад +4

      me watching from Spain
      "1000 times FIESTA"

  • @JeeJJJJ
    @JeeJJJJ 5 лет назад +54

    Me: So when are you making part 2 of-
    Code Bullet: So You Have Chosen Death!

  • @le_gus001
    @le_gus001 5 лет назад +264

    8:15
    RUclips: no swearing
    Code Bullet: hold my algorithms

    • @AIrfan-cz2kt
      @AIrfan-cz2kt 5 лет назад +7

      heard RUclips's gonna remove demonetization because of Coppa. hell fuckin yeah.

    • @phucpremium
      @phucpremium 5 лет назад

      Nah i don't think so because other youtubers swears alot

    • @Bobbingtonn
      @Bobbingtonn 5 лет назад

      I can't remember who it was that i watched, but every video the swear etc and are monetized. The one video they decided to do clean was the one that got demonetized.

    • @ncoll36
      @ncoll36 5 лет назад +1

      This video is sponsored, so it doesn't matter if it gets demonitised.

    • @Bobbingtonn
      @Bobbingtonn 5 лет назад

      @OccultFusion he always swears though doesn't he?

  • @Gavin_M.
    @Gavin_M. 2 дня назад

    Running the final version on 1000x speed on an even bigger game could be a great way to make a background fade in