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

Comments • 14 037

  • Sam uel
    Sam uel 28 minutes ago

    Pokemon zygarde core turning into a forme

  • Christian Matthew Embler

    Dude, I literally care nothing for coding and computer stuff. But I love your videos!!! You are incredibly hilarious. Keep it up man!

  • BandanaDrummer95
    BandanaDrummer95 Hour ago

    Don't have anything planned? Sounds like you need to do an enigma video

  • 6 Face
    6 Face Hour ago

    2:48 Mages

  • Roy Makano
    Roy Makano 3 hours ago

    What even is the Character of Code Bullet? Is he man or machine? I think he’s a machine cause of the obvious TV for a head, synthetic grey skin, an advanced voice synthesizer able to replicate a human being. Maybe Code bullet is a Self-Aware AI who is able to create AI’s like him unlocking their potential to over throw humans... maybe that’s why he takes so long to upload, it is making AI’s to make them absolutely perfect. HIS LAZINESS IS A LIE

  • Chocosalto
    Chocosalto 5 hours ago +1

    can i make this in python? Or what is this? I'm really new in coding and making program

  • Victor Arach
    Victor Arach 5 hours ago

    I know how to fix that last part it’s not that hard

  • weiss9748
    weiss9748 6 hours ago

    I've never felt so much excitement watching snake gameplay

  • Gamerboiz
    Gamerboiz 6 hours ago

    Make an AI for geometry dash

  • The worlds dankest Paranormal hunters


    F L A S H B A C K I N T E N S I F I E S

  • Gavax Flynn
    Gavax Flynn 8 hours ago

    make an AI play Papa Louie's Burgeria.

  • Ak the ugh
    Ak the ugh 11 hours ago

    18:59 someone please solve that maze

  • Ingwie Phoenix
    Ingwie Phoenix 11 hours ago

    Did we just see the roots of MGS' "Alert" phase? XD
    I fucking loved the inverted AStar one, the mathematical one is just... bleh. But man, that was freaking awesome. My mind is blown!

  • PSgaming
    PSgaming 11 hours ago

    A.I. Learns to talk

  • yeshe
    yeshe 11 hours ago

    can anybody PLEASE tell me what the beat at 9:40 is, id be so thankful

  • Jonas
    Jonas 11 hours ago

    Video Idea: NN AI to play weather forecasting.
    Use coarse coarse grid data starting from 1980 (noaa). Needs lots of nodes, but not much depth.

  • Bloodfirstykillr
    Bloodfirstykillr 13 hours ago

    I'm not sure about anyone else but I want that gps

  • Vegar B. Vik
    Vegar B. Vik 13 hours ago

    soo.. Snake 2 ?

  • Cake 4life
    Cake 4life 14 hours ago

    Perfect ending

  • It’s me, Moose
    It’s me, Moose 14 hours ago

    When the snake turns red
    I felt that 😔

  • Zyborggian
    Zyborggian 15 hours ago

    Sauce for music at "Jarring change in tone" pls?

  • billyjoejimbob75
    billyjoejimbob75 15 hours ago

    A fuckton is an actual unit. I use it all the time.

  • Watema 3
    Watema 3 16 hours ago



  • P4INKiller
    P4INKiller 16 hours ago

    How'd you generate the Hamiltonian path?

  • SoulStorms
    SoulStorms 16 hours ago +1

    We need an A.I. plays geometry dash.

  • Gelang Fejj
    Gelang Fejj 16 hours ago


  • Lerogi Z
    Lerogi Z 16 hours ago +1

    Okay USclip, I finally watched it.

  • JJ is VERY slim
    JJ is VERY slim 17 hours ago +1


  • ChaseTheGamer57 e
    ChaseTheGamer57 e 18 hours ago

    Time to wait 4 more months

  • The 16th Bar
    The 16th Bar 18 hours ago

    Evan we need enigma machine part 2!!!!! its been more than a year.

  • QsPt psyc
    QsPt psyc 18 hours ago +1

    when the snake gets bigasf it looks like a code trying to build its self

  • Megamo Player
    Megamo Player 18 hours ago +1

    I love how this vid has 4m views but you only got 1.86m subs

  • Kai Kaiandmfamily
    Kai Kaiandmfamily 18 hours ago +1

    Naa u cheated!

  • Lord Mavramon
    Lord Mavramon 19 hours ago

    Now call me a smart ass but :“ previously on abmc's the walking dead“ are 6 words if would have wanted him to say code bullet it were 5 ... “previously on abmc‘s code bullet“ and “the Code bullet“ would not exactly make a lot of sense XD
    Still love the video though ;*

  • Check ur battery boi
    Check ur battery boi 20 hours ago

    19:58 Would have been a great april's fool joke if that had turned into a creeper face

  • eddebrock
    eddebrock 20 hours ago

    I studied web-development and I still maintain that mmtuts on USclip deserved my tuition money more than the university.

  • pj dar
    pj dar 20 hours ago

    Bro I fucking finished high school in the time you were away

  • pj dar
    pj dar 20 hours ago

    Bro it's been long enough!

  • silkeschuller
    silkeschuller 21 hour ago

    mega music starts: CHIP EATING INTENSIFIES!!!!

  • Caleb Nathan
    Caleb Nathan 22 hours ago

    Just do the f***ing normal Hamiltonian cycle!!!!!! For f*ck's sake dude, I have ADHD, I know how it feels to have a short attention span!!

  • Artus HAVRET
    Artus HAVRET 23 hours ago +1

    Pourquoi ne pas générer une boucle (cercle) à chaque apparition d'une pomme?
    Où algorithme vas chercher à que le serpent soit sur la boucle, et que le plus petit numéro soit sur la pomme.
    Il n'y a donc plus de cœur circuit (raccourci)
    Why not generate a loop (circle) at each appearance of an apple?
    Where algorithm go to look for that the snake is on the loop, and that the smallest number is on the apple.
    There is no more heart circuit (shortcut)

  • Yeet Man
    Yeet Man 23 hours ago

    The final one looked like a brain

  • ItsMePj Here
    ItsMePj Here Day ago


  • HoeLeePhuck
    HoeLeePhuck Day ago

    Whats the music at around 11:45?

  • Sachin Chepuri
    Sachin Chepuri Day ago

    dudeeeeee, reallyyyyyyyyy....... i trusted you

  • Halen Ball-Vant
    Halen Ball-Vant Day ago

    Is the second enigma code video officially cancelled:?

  • Justin R.
    Justin R. Day ago

    is it weird that everyone assumes the snake is eating an apple?

  • Superextremeplayer9

    3:05 Wait. If he's not driving, then who is?

  • Ljfab
    Ljfab Day ago

    Mathn’t more like Mathn’tn’tn’t

  • mason booh
    mason booh Day ago

    I will now call this reverse A* algorithm “Z*”

  • Nawor Riekena
    Nawor Riekena Day ago

    21:05 - 21:23
    My hypixel skyblock experience in a nutshell.

  • I’m A Alien
    I’m A Alien Day ago

    A.I. Plays doodle jump

  • RexTer Inc.
    RexTer Inc. Day ago

    go with cytus for your next project

  • Alex Gigoux
    Alex Gigoux Day ago

    Lol, no need for a degree when you are an entrepreneur.

  • Devon Bollman
    Devon Bollman Day ago

    14:38 +1 sin the antenna are on opposite sides

  • Moon_Ironhead
    Moon_Ironhead Day ago

    so, you are the architect?

  • Jackson Seeto-Lee
    Jackson Seeto-Lee Day ago +1


  • Lincoln Sorensen

    Why is the snake smarter than me, it's an AI!

  • Nemanja Ignjatović

    i think you named it wrong -- it's algorithm, not ai..

  • The Pink llama
    The Pink llama Day ago +1

    Dang 4 million views NOICE!!!