I Created a PERFECT SNAKE A.I.

Поділитися
Вставка
  • Опубліковано 8 січ 2025

КОМЕНТАРІ • 20 тис.

  • @hackhair5832
    @hackhair5832 5 років тому +8600

    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 років тому +463

      Strangely specific.

    • @rozh996
      @rozh996 5 років тому +277

      Satisfying and specific

    • @SlightlyNothing
      @SlightlyNothing 5 років тому +229

      Strangely specific, but not wrong

    • @levelup6243
      @levelup6243 5 років тому +48

      Basically exactly like Daniel Ricciardo...

    • @ConnorMeagher
      @ConnorMeagher 5 років тому +67

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

  • @sirapple589
    @sirapple589 5 років тому +6194

    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 років тому +128

      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.

  • @mermer3572
    @mermer3572 3 роки тому +4260

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

    • @LunaHowBoutPoona
      @LunaHowBoutPoona 3 роки тому +143

      Third rule of snake: NO HOLES

    • @BobBob-ye4vz
      @BobBob-ye4vz 3 роки тому +69

      Fourth rule of snake: don’t die lol

    • @mynameisjoseph7848
      @mynameisjoseph7848 3 роки тому +38

      Fifth rule: dont not cheat

    • @Т1000-м1и
      @Т1000-м1и 3 роки тому +15

      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

  • @randorookie8587
    @randorookie8587 2 роки тому +808

    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 Рік тому +25

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

    • @timdadwagan
      @timdadwagan 8 місяців тому +8

      Just go for the longest path duh

    • @Localcatgirl_
      @Localcatgirl_ 4 місяці тому +3

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

  • @InappropriatePolarbear
    @InappropriatePolarbear 3 роки тому +2668

    "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 роки тому +23

      Ig im a snake then

    • @abacussssss
      @abacussssss 3 роки тому +20

      finally 👨🏾‍🔬 sleeps furiously

    • @y_onis7038
      @y_onis7038 3 роки тому +8

      @@abacussssss can you sleep depressed

    • @sinuslebastian6366
      @sinuslebastian6366 2 роки тому +4

      Y_onis I do it everyday

    • @constellationmaker135
      @constellationmaker135 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

  • @TheTruth-si5zq
    @TheTruth-si5zq 5 років тому +7062

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

    • @xx0maxi
      @xx0maxi 5 років тому +10

      Me comment first

    • @AHotLlama
      @AHotLlama 5 років тому +103

      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

  • @Magnoliaschnolia
    @Magnoliaschnolia 4 роки тому +7543

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

  • @iwtbwiw
    @iwtbwiw 2 роки тому +285

    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 7 місяців тому +5

      [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 7 місяців тому +2

      @@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 7 місяців тому

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

    • @ckv1985
      @ckv1985 7 місяців тому +2

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

    • @rayzhao491
      @rayzhao491 3 місяці тому

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

  • @thedrawingkidanimatedkid686
    @thedrawingkidanimatedkid686 3 роки тому +7816

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

    • @blessed6336
      @blessed6336 3 роки тому +100

      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.

  • @nikscerniss6429
    @nikscerniss6429 5 років тому +6058

    If: gonna run into self
    -don't.

    • @alejrandom6592
      @alejrandom6592 5 років тому +364

      deep shit you got over there

    • @romankalinchuk2750
      @romankalinchuk2750 5 років тому +416

      If: hungery
      -eat
      Function.repeat

    • @shaunclarke04
      @shaunclarke04 5 років тому +44

      Evija Cernisa what bloody syntax is that??

    • @laserbeem6692
      @laserbeem6692 5 років тому +84

      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) }

  • @Furrett
    @Furrett 5 років тому +4054

    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 UA-cam

    • @NatapixAS
      @NatapixAS 5 років тому +89

      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 UA-cam staff

    • @WeLoveORVDokja
      @WeLoveORVDokja 5 років тому +27

      @@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 років тому +13

      He's the Jontron of coding.

  • @anshriyal6495
    @anshriyal6495 10 місяців тому +14

    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!

  • @alicemoffat
    @alicemoffat 5 років тому +12875

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

    • @mattes4929
      @mattes4929 5 років тому +420

      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

  • @sophiacristina
    @sophiacristina 5 років тому +698

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

    • @Hunnter2k3
      @Hunnter2k3 5 років тому +11

      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.

  • @Madame_Talos
    @Madame_Talos 4 роки тому +3050

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

    • @yahiaaymankamaly3518
      @yahiaaymankamaly3518 4 роки тому +214

      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 роки тому +34

      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

  • @nathanmay9694
    @nathanmay9694 Рік тому +288

    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 Рік тому +19

      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 8 місяців тому +17

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

    • @alooinfinite2912
      @alooinfinite2912 8 місяців тому

      @bestintheband5114

    • @MEGAMINER9742
      @MEGAMINER9742 5 місяців тому +9

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

    • @ShadowGaming-ft4fh
      @ShadowGaming-ft4fh 5 місяців тому

      @@MEGAMINER9742must be nice having such a large yard

  • @themoldysausage
    @themoldysausage 3 роки тому +4277

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

    • @jovan0454
      @jovan0454 3 роки тому +180

      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?

  • @alexandraantimie9576
    @alexandraantimie9576 4 роки тому +849

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

  • @alexi4829
    @alexi4829 5 років тому +1950

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

  • @Helladamnleet
    @Helladamnleet 2 роки тому +282

    You should figure out a way to convert these AIs to be screensavers. I'd legit pay 99 cents for them

  • @leddy7315
    @leddy7315 5 років тому +21918

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

    • @fluffiestboi175
      @fluffiestboi175 5 років тому +477

      Plot Twist

    • @leondyson-rix8233
      @leondyson-rix8233 5 років тому +120

      Lmao

    • @smiley94
      @smiley94 5 років тому +691

      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?

  • @bigtimeaorta
    @bigtimeaorta 4 роки тому +1200

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

    • @aname843
      @aname843 4 роки тому +4

      @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 роки тому +5

      #unexpectedjojo

    • @KR_Kosmik
      @KR_Kosmik 4 роки тому +1

      OH FUK
      IS TAT A JOJO REFERENCE

  • @Balconydog
    @Balconydog 5 років тому +6177

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

    • @jacobalexander4498
      @jacobalexander4498 5 років тому +164

      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

  • @refl9630
    @refl9630 3 роки тому +101

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

  • @geimskip17
    @geimskip17 5 років тому +915

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

  • @formularogue
    @formularogue 5 років тому +1345

    RIP Adrian 2019 - 2019
    Forever in our hearts

    • @joshuaboyd487
      @joshuaboyd487 5 років тому +30

      Even though he was a fucking disappointment, he's still somewhere in there. Probably.

    • @aceofdiamonds2218
      @aceofdiamonds2218 5 років тому +5

      I feel attacked

    • @advaithremesh1698
      @advaithremesh1698 5 років тому +8

      bro Adrian's a menace, he killed a lot of soldiers

    • @aceofdiamonds2218
      @aceofdiamonds2218 5 років тому +1

      @@advaithremesh1698 good

    • @honkhonk3137
      @honkhonk3137 5 років тому

      Ace Of Diamonds ehhhh

  • @Bamthis
    @Bamthis 4 роки тому +846

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

  • @mprocks6522
    @mprocks6522 3 роки тому +100

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

    • @Terror1325
      @Terror1325 2 роки тому +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

    • @constellationmaker135
      @constellationmaker135 Рік тому

      "Two. FUCKING. BLOCKS."
      *SANITY*

    • @ourlordandsaviorsquirtle3278
      @ourlordandsaviorsquirtle3278 Рік тому +1

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

  • @deevee5327
    @deevee5327 5 років тому +1540

    "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

  • @Lucerne9
    @Lucerne9 5 років тому +4178

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

  • @Mathrilord
    @Mathrilord 4 роки тому +1058

    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 роки тому +75

      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

  • @cottagcheese
    @cottagcheese 3 роки тому +41

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

    • @alexandermcclure6185
      @alexandermcclure6185 7 місяців тому +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

  • @Danidev
    @Danidev 5 років тому +5174

    yaboi returned form the grave!

  • @michael_angelo_myers
    @michael_angelo_myers 4 роки тому +2076

    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.

  • @salmon7007
    @salmon7007 4 роки тому +5224

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

    • @failtronic2646
      @failtronic2646 4 роки тому +285

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

    • @RustyyDAWG
      @RustyyDAWG 4 роки тому +44

      Someone needs to make this happen

    • @slxpperyy9796
      @slxpperyy9796 4 роки тому +40

      @@failtronic2646 what is it called

    • @failtronic2646
      @failtronic2646 4 роки тому +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 4 роки тому +3

      Ooooooooooooooooo Fiat hi FFFFAAAAAKKKKEEEE

  • @Lumirayz
    @Lumirayz 2 роки тому +19

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

  • @zendekii
    @zendekii 4 роки тому +736

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

  • @benh8312
    @benh8312 4 роки тому +2050

    "2020"
    "New year, new me"
    "I'm going to be a free man"
    That aged well...

    • @An0m4ly24
      @An0m4ly24 4 роки тому +27

      /´¯/)
      /¯ /
      / /
      /´¯/' '/´¯¯`·¸
      /'/ / / /¨¯\
      ('( ')
      \ /
      \ _.·´
      \ (
      \ \
      if you are wandering i copyed and pasted this and remade this XD

    • @fal4thought
      @fal4thought 4 роки тому +14

      @@An0m4ly24 Okay? And?

    • @ScareBarley
      @ScareBarley 4 роки тому +9

      @@An0m4ly24 who asked

    • @dougdimmadomeownerofthedim9701
      @dougdimmadomeownerofthedim9701 4 роки тому +24

      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 4 роки тому +4

      Guys, chill, this was a month ago

  • @hageby123jean1
    @hageby123jean1 4 роки тому +307

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

  • @shink303
    @shink303 Рік тому +8

    i like how a completed snake board becomes a maze.

    • @alexandermcclure6185
      @alexandermcclure6185 7 місяців тому +1

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

  • @imallsoupedup
    @imallsoupedup 5 років тому +1161

    1950: I bet they’ll have flying cars in the future!
    2019: DIVEDE BY
    M A T H N ‘ T (3:55)

    • @Zergliskful
      @Zergliskful 5 років тому +19

      Fun fact, flying cars exist, but no one is allowed to use them because there aren't any laws for them

    • @Xusemeh
      @Xusemeh 5 років тому +11

      @@Zergliskful it is not a fun fact if u cant fly them cars

    • @masternobody1896
      @masternobody1896 5 років тому +8

      1950: cold war
      2050: robot ai war....or may be not war.... girl robot sucking my popo

    • @shirleyling7923
      @shirleyling7923 5 років тому +2

      The future could be 1951

    • @imallsoupedup
      @imallsoupedup 5 років тому +1

      Jeunesse Global uhhhhhhhhhhhhhhh take my thumb

  • @BrodieEaton
    @BrodieEaton 5 років тому +421

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

  • @IonicFalcon
    @IonicFalcon 5 років тому +1860

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

  • @dumbo21
    @dumbo21 2 роки тому +20

    Damn after a while the patterns it made got so hypnotizing

  • @RasulAlam-n6d
    @RasulAlam-n6d 5 років тому +669

    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

  • @TDLwave
    @TDLwave 3 роки тому +6105

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

    • @DR3ADNOUGHT
      @DR3ADNOUGHT 3 роки тому +99

      @spider man snek

    • @filipek5230
      @filipek5230 3 роки тому +59

      @CreeperFun12 snek

    • @monstergurke88
      @monstergurke88 3 роки тому +37

      @CreeperFun12 snek

    • @idropgp8052
      @idropgp8052 3 роки тому +11

      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 роки тому +141

      @@idropgp8052 r/woooooosh

  • @samurai2871
    @samurai2871 3 роки тому +1274

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

  • @Jostyy
    @Jostyy Рік тому +1

    I looked away for one second and around 18:32 i was like "huh now its a black snake on a green background"

  • @Bakken102
    @Bakken102 5 років тому +505

    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!!!

  • @Jackie777
    @Jackie777 3 роки тому +1161

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

    • @anand.suralkar
      @anand.suralkar 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 3 роки тому +9

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

  • @UnfairEnforcer
    @UnfairEnforcer 5 років тому +155

    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

  • @alexsgarbagehut2517
    @alexsgarbagehut2517 10 місяців тому +1

    If an AI is perfect, its either an AI that ran infinite amount of generations, either a bot.
    -Wise man.

  • @Ryan-iz2nm
    @Ryan-iz2nm 5 років тому +2255

    2019: trying to beat snake with an a.i.
    2020: trying to build an a.i. to hack Nasa

  • @pgtv14
    @pgtv14 4 роки тому +870

    19:05 "This algorithm is cold and calculating"
    Ah yes, the floor here is made out of floor.

    • @wariothief
      @wariothief 4 роки тому +12

      Ah yes should be hmm

    • @sakuhoa
      @sakuhoa 4 роки тому +11

      @@wariothief well, oh yes but actually hmm

    • @wariothief
      @wariothief 4 роки тому +2

      捌拾柒Idiot lol

    • @marcusaureliusregulus2833
      @marcusaureliusregulus2833 4 роки тому +1

      Usually floor is made out of wood or concrete 🙄

    • @sakuhoa
      @sakuhoa 4 роки тому +5

      @@marcusaureliusregulus2833 you must be fun at parties

  • @THEBOSS47MLG
    @THEBOSS47MLG 4 роки тому +738

    Making a perfect “Snake” AI in “Python”....

  • @JuiciestOrange
    @JuiciestOrange 11 днів тому +1

    This dude only comes up on my fyp once every year jus after Christmas at exactly 1:28 am

  • @2awesomegriefers
    @2awesomegriefers 5 років тому +734

    He didn't realize the snake was still alive. It's head is right next to the tail

    • @ironcode
      @ironcode 5 років тому +33

      2awesomegriefers OMG you're right! EVERYBODY NEEDS TO UPVOTE THIS COMMENT! It actually would have finished 😂

    • @MGSLurmey
      @MGSLurmey 5 років тому +53

      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_ 5 років тому +2

      Witch timecode ? :o

    • @ironcode
      @ironcode 5 років тому +4

      Nicolas Gaillard 20:51

    • @cryofreeze_
      @cryofreeze_ 5 років тому +4

      @@ironcode Erf. I looked at that time, but didn't see it. I'll try again at 0,25 speed.

  • @ojuswi
    @ojuswi 5 років тому +884

    "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"

  • @NoirPhoenix
    @NoirPhoenix 5 років тому +327

    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.

  • @verydistractedreader
    @verydistractedreader Місяць тому +1

    24:02 the sigh of relief when the snake turns green again

  • @mellow6268
    @mellow6268 4 роки тому +1891

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

  • @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

  • @yourenotmycat
    @yourenotmycat 5 років тому +1708

    Can we have
    Code Bullet: learns to upload

  • @bowenjudd1028
    @bowenjudd1028 3 роки тому +12

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

  • @Oliver-jz7er
    @Oliver-jz7er 4 роки тому +759

    Alt title: Evan slowly loses his insanity due to snake

    • @casualkhajiit
      @casualkhajiit 4 роки тому +5

      Off topic but ur fursuit is adorable

    • @randalreavervandal
      @randalreavervandal 4 роки тому +1

      Agreed

    • @voxalice1
      @voxalice1 4 роки тому +14

      wish i could lose my ***in*** sanity

    • @voxalice1
      @voxalice1 4 роки тому +1

      ​@@bbasedcentral it's basically the biggest group to be hated by people on the internet, and i can see why you don't like the furry fandom (it would go a bit far to say you don't like furries themselves)

    • @alaaelhayek2594
      @alaaelhayek2594 4 роки тому

      @@voxalice1 i hate furries because they are disgusting

  • @0nm187
    @0nm187 4 роки тому +399

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

  • @kobinpaizlimona9088
    @kobinpaizlimona9088 5 років тому +108

    18:35 Everybody gangsta 'til snake starts to play snake in itself

    • @cwmd7651
      @cwmd7651 5 років тому +1

      I was thinking that too! It looks so cool

  • @gamemaster.......
    @gamemaster....... 9 місяців тому +1

    The predator slowey closes the distance between it and its prey! How fascinating

  • @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

  • @northernj9761
    @northernj9761 3 роки тому +1293

    Adrian: exists
    the US army: Now this looks like a job for me

    • @astrolight5220
      @astrolight5220 3 роки тому +26

      So everybody just follow me

    • @ChadKakashi
      @ChadKakashi 3 роки тому +27

      @@astrolight5220 we need a little controversy...

    • @dylansheaves4743
      @dylansheaves4743 3 роки тому +8

      Well it went about as well as could be hoped if several terminator films have taught anything, it was only a 75% casualty rate

    • @TheLostSheep578
      @TheLostSheep578 3 роки тому +8

      You have umbreon as your profile picture
      *YOU HAVE EARNED MY RESPECT*

    • @ChadKakashi
      @ChadKakashi 3 роки тому +3

      @@dylansheaves4743 you ruined the fucking song... good job.

  • @witchfinda
    @witchfinda 5 років тому +1652

    Nobody:
    The snake when it turns red: *NEW OBJECTIVE- SURVIVE*

    • @Dy1an.k
      @Dy1an.k 5 років тому +23

      Halo reach, best halo

    • @theworldsdankestparanormal9805
      @theworldsdankestparanormal9805 5 років тому

      Cake 4life what

    • @Dy1an.k
      @Dy1an.k 5 років тому +11

      @@theworldsdankestparanormal9805 new objective-survive is a halo reach reference

    • @EonsEternity
      @EonsEternity 5 років тому

      @@Dy1an.k i mean.....

    • @Dy1an.k
      @Dy1an.k 5 років тому +5

      @@EonsEternity what, it was defanitly a halo reference
      Zoomer

  • @TheMarshmallowMushroom
    @TheMarshmallowMushroom Рік тому +1

    i imagine that red-green colorblind ppl will have no idea when the snake goes into 'survival mode'

  • @toxicmongerofthehatefulbro5745
    @toxicmongerofthehatefulbro5745 5 років тому +499

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

  • @RedRungle
    @RedRungle 5 років тому +1617

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

  • @MonkeySimius
    @MonkeySimius 2 роки тому +9

    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.

  • @jaimied9328
    @jaimied9328 5 років тому +795

    Code Bullet: *Builds Snake A.I.*
    My Girlfriend: "Why are you watching a screensaver?"

    • @ashlynnblack3872
      @ashlynnblack3872 5 років тому +27

      i want this screensaver

    • @proxuhty
      @proxuhty 5 років тому +22

      Plot twist you don’t have a girlfriend

    • @dannybadillo4635
      @dannybadillo4635 5 років тому +1

      @p1xlblad3 how do you know?

    • @dannybadillo4635
      @dannybadillo4635 5 років тому +1

      @p1xlblad3 what?

    • @k1w1.
      @k1w1. 5 років тому

      @p1xlblad3 Thats not an r/whoooosh as there was no joke

  • @vzvdm
    @vzvdm 5 років тому +232

    Tbh I was expecting the snake to spell out “HELP ME” at any given time

    • @Mathhead2000
      @Mathhead2000 5 років тому +7

      This would be a great idea. The goal of the AI isn't to win, but to spell out a word!

    • @ms-fk6eb
      @ms-fk6eb 5 років тому +2

      @@Mathhead2000 you need to calculate how many squares you need to spell the word, run the algorithm till it gets there, make some space and then write it and continue playing for extra style points

    • @Mathhead2000
      @Mathhead2000 5 років тому +3

      @@ms-fk6eb You would also need to figure out how to connect the letters, and even draw the letters. Like how do you draw an H with a connected line?

    • @ms-fk6eb
      @ms-fk6eb 5 років тому +4

      @@Mathhead2000 well you could make it double size and have single square lines as connections?

  • @danp832
    @danp832 5 років тому +197

    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

  • @zoomboi4204
    @zoomboi4204 4 роки тому +428

    An Australian man is to lazy to go get apples from the store, codes snake to do it for him. there fixed the title

  • @TK-bh9lx
    @TK-bh9lx 5 років тому +205

    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.

  • @eternal8559
    @eternal8559 5 років тому +146

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

  • @evil_stevil
    @evil_stevil Місяць тому +1

    8:33 this was the most enjoyable AI in the video
    11:30 this looks like the opening credits to spiderman or smth😂

  • @ibtgb2
    @ibtgb2 4 роки тому +587

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

  • @mrnotnic5343
    @mrnotnic5343 5 років тому +260

    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

  • @angrypelmeshka5928
    @angrypelmeshka5928 4 роки тому +504

    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 4 роки тому +10

      i hear "ggnaw naw naaaahhhhw..."

    • @jankisi
      @jankisi 4 роки тому +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 4 роки тому +6

      15:22 da best

  • @yhcgamer523
    @yhcgamer523 Рік тому +3

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

  • @jeanmichelbambi2563
    @jeanmichelbambi2563 5 років тому +166

    See this snake?
    I do the exact same movements when i go in my kitchen to get an apple

    • @vipalien6413
      @vipalien6413 5 років тому +1

      Olivier Barabé yes

    • @dragoxk4542
      @dragoxk4542 5 років тому

      I also double in size when I eat it.

  • @Ha1cyon00
    @Ha1cyon00 5 років тому +542

    "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

  • @phinxcubing4694
    @phinxcubing4694 5 років тому +457

    The title of this video should be “try to not get anxiety challenge “

  • @JackSears95
    @JackSears95 2 роки тому +1

    5:45 it didn’t stop because he couldn’t pathfinder, the ai just didn’t care anymore because it drew a turtle and that’s all it ever wanted to do

  • @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*

  • @jiaweiye9489
    @jiaweiye9489 5 років тому +309

    Code Bullet with his attention span “I forgot to edit this part there was a squirrel.” 14:45 😂

  • @annadoesroblox6205
    @annadoesroblox6205 5 років тому +437

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

    • @minoxiothethird
      @minoxiothethird 5 років тому +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

  • @quate6801
    @quate6801 4 роки тому +935

    first snake A.I. was be like:
    *"HEY, LOOK, I'M PLAYING WITH DEATH"*

    • @LexMc0606
      @LexMc0606 3 роки тому +18

      "HAHA, I'M IN DANGER"

    • @samautrey
      @samautrey 3 роки тому +11

      wAs Be LiKe

    • @crybabymat
      @crybabymat 3 роки тому +6

      How did you edit this and not see that mistake and also add commas which are misplaced too

    • @LexMc0606
      @LexMc0606 3 роки тому +2

      @@crybabymat BRUHHHHHHHH that's that NA education energy dawg lmao

    • @samautrey
      @samautrey 3 роки тому

      @@LexMc0606 ikr. So glad I was homeschooled.

  • @junebug8393
    @junebug8393 4 роки тому +1530

    I want an "I created an AI to Dominate Geometry Dash"

    • @SF3L
      @SF3L 4 роки тому +55

      Good fucking luck to that

    • @cyberbiltz
      @cyberbiltz 4 роки тому +26

      Nice idea. Make the total goal being to be able to beat bloodlust.

    • @zhipeizhou5582
      @zhipeizhou5582 4 роки тому +7

      reneeydavis oh god

    • @akalihoer5457
      @akalihoer5457 4 роки тому +3

      @@zhipeizhou5582 nah zodiac

    • @ivanmurray8541
      @ivanmurray8541 4 роки тому +2

      Junebug_2007 yussss

  • @zenterno-zt1pl
    @zenterno-zt1pl 4 роки тому +535

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

  • @LilithBlahaj
    @LilithBlahaj Рік тому +1

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

  • @christianscott2806
    @christianscott2806 5 років тому +497

    I Created the perfect snake AI
    Those 2 blocks: “Are You Sure About That?”

    • @exedeath
      @exedeath 5 років тому +22

      The idea he said before it would win every snake game ever, since it visit every square without moving to a previously visit square until it ends at the starting square. He said it would be too boring (snake would be moving the EXACT same path over and over, until the game ends) and decided to try something faster that didnt worked.

    • @vladdrac-
      @vladdrac- 5 років тому +4

      I want sleep I don't want answers

    • @pravinrao3669
      @pravinrao3669 5 років тому +15

      It is mathematically impossible for Hamilton cycle to not work if you don't use any shortcuts. The shortcut technique was not good enough. Hamilton cycle is just to find a path which goes through every point without coming at any point more than once till you go to starting point and follow it and completely ignore the berry at some point you are going to hit the berry as it must be on a point and your path passes through all point. Since you don't pass through any point more than once you can't hit the tale .

  • @美波_5
    @美波_5 5 років тому +533

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