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


  1. Rafiq Raja

    Rafiq Raja

    44 minutter siden

    Lmao i loved your commentary though 😂😂

  2. Pepa Ludrovský

    Pepa Ludrovský

    49 minutter siden

    Even Snake isnt Bullet proof

  3. K90SAS - Choppu

    K90SAS - Choppu

    3 timer siden

    why does he blur out curse words sometimes but only sometimes?

  4. Goku Black

    Goku Black

    3 timer siden

    Was This find out now on dragonball Z reverence?

  5. Hansa Plast

    Hansa Plast

    5 timer siden

    oh. my. god. … GO-GO-GADGET!! isntant childhood Flashbacks xD

  6. 진지충


    6 timer siden


  7. SiegeMaximo


    9 timer siden

    Please upload more often. Your videos are incredible

  8. _oreolife_


    10 timer siden

    Hey i was wondering if u could revisit the ai learn pool but instead of using the genetic mutation learning can u use q learning or another type of coding i want to see what happend if it learns more on the fly in real time

  9. AlexChannel


    10 timer siden

    First run amazing, second run... why you didn't just simply cancel surviving mode direction when the apple can be reach? Like there is a fast and safe path available, but once your ai is in bruteforce mode, you keep it in that stat. But why? from 8:45 to 14:15 is just a shitty demonstration. no need of 10min to show that it can survive.

  10. masenkoh


    11 timer siden

    I need this to be my screensaver or something. Or like, be the loading screens for programs from now on or something that says "% downloaded" in this way

  11. masenkoh


    11 timer siden

    ...erm, i think the snake was still alive at the end >_>

  12. David Savy

    David Savy

    12 timer siden

    This sick lad here has to have ADHD. Thats shit i forget when im working

  13. Sune user

    Sune user

    14 timer siden


  14. Taylor youngreen

    Taylor youngreen

    14 timer siden

    7:42 perhaps if you adjusted the % amount of empty blocks it might help. perhaps 85% or 90% or maybe even 100%

  15. NotaLoca12341


    15 timer siden

    "Frankly it means my degree was fucking useless" I know that feeling WAY TO WELL my friend. WAY to well! 😔😒

  16. Alex Kuradnov

    Alex Kuradnov

    16 timer siden

    I am so happy to see you back!!!

  17. Antosupre 460

    Antosupre 460

    16 timer siden

    This sanity sound😂😂

  18. MMAoracle


    17 timer siden

    Why not just have it go... up and down and leave some room at the top to escape?

  19. The Ultimate Irishman

    The Ultimate Irishman

    17 timer siden

    What language and program are you using for your projects?

  20. Gg Vg

    Gg Vg

    21 time siden

    Can A.I learn how to play QWOP?

  21. Gaming Semlan

    Gaming Semlan

    21 time siden

    Can you teash A.I to Play pac-man.

  22. Ramazan Durmaz

    Ramazan Durmaz

    22 timer siden

    Im quite far away from these. I barely made a simple homework the programmer gave me. Doesn't work properly. Make me wanna give up at times

  23. László Házi

    László Házi

    22 timer siden

    Couldn't you simply use scores to force the AI or it'd be way too much work?

  24. St.Ashley


    23 timer siden

    i am russian and i dont understand, but i left a like and subscribed.

  25. Taylor Summers

    Taylor Summers

    Dag siden

    Create an AI that can play Doodle Jump

  26. night2night3


    Dag siden

    20:50 lol

  27. Open Mic Maps

    Open Mic Maps

    Dag siden

    Your voice is so fucking annoying.

  28. Iridescent Mirage

    Iridescent Mirage

    Dag siden

    There's more snake than screen and its _gut clenching._

  29. lucas felipe

    lucas felipe

    Dag siden


  30. lucas felipe

    lucas felipe

    Dag siden


  31. lucas felipe

    lucas felipe

    Dag siden


  32. Jeremy Schacht

    Jeremy Schacht

    Dag siden

    Tetris AI?

  33. Chetan Naik

    Chetan Naik

    Dag siden

    Honestly this would be a fantastic screensaver (if anyone still used them). To make it indefinite, you could add a couple of rules establishing maximum and minimum lengths for the snake, after which eating the food reduces the snakes size instead.

  34. W B

    W B

    Dag siden

    What about an AI that learns to play Paper.io or other .io games. Maybe Candy Crush, or something that will play Trivia Crack with web scraping. You could take a shot at Crossy Road, Fruit Ninja, Geometry Dash or finally do the Enigma part 2 video?

  35. Buttnugget Sauce

    Buttnugget Sauce

    Dag siden

    Smh you could’ve just set the code to: if about you die, don’t

  36. The Real ET 89

    The Real ET 89

    Dag siden

    Please date me in 2020 ✌🏼

  37. TheChemist 130

    TheChemist 130

    Dag siden

    “Yep, it’s snakin.”

  38. Zackdasher12 Dashers

    Zackdasher12 Dashers

    Dag siden

    8:14 an actual scientific name that makes sense

  39. Your Grandma's Dyslexic Father

    Your Grandma's Dyslexic Father

    Dag siden

    Me : We're learning about WWII in history. What my Grandpa see's : 1:48

    • ZacGamesYT


      Time siden

      Lol yep.

  40. Pterajacktyl


    Dag siden

    Oh yeah, thats why i waited 3 months