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. NotaLoca12341

    NotaLoca1234119 минутын өмнө

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

  2. Alex Kuradnov

    Alex KuradnovЦагийн өмнө

    I am so happy to see you back!!!

  3. Antosupre 460

    Antosupre 460Цагийн өмнө

    This sanity sound😂😂

  4. MMAoracle

    MMAoracle2 цагийн өмнө

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

  5. The Ultimate Irishman

    The Ultimate Irishman2 цагийн өмнө

    What language and program are you using for your projects?

  6. Gg Vg

    Gg Vg6 цагийн өмнө

    Can you code AI.I to play QWOP?

  7. Gaming Semlan

    Gaming Semlan6 цагийн өмнө

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

  8. Ramazan Durmaz

    Ramazan Durmaz7 цагийн өмнө

    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

  9. László Házi

    László Házi7 цагийн өмнө

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

  10. St.Ashley

    St.Ashley7 цагийн өмнө

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

  11. Taylor Summers

    Taylor Summers9 цагийн өмнө

    Create an AI that can play Doodle Jump

  12. night2night3

    night2night311 цагийн өмнө

    20:50 lol

  13. Open Mic Maps

    Open Mic Maps11 цагийн өмнө

    Your voice is so fucking annoying.

  14. Iridescent Mirage

    Iridescent Mirage18 цагийн өмнө

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

  15. lucas felipe

    lucas felipe21 цагийн өмнө


  16. lucas felipe

    lucas felipe21 цагийн өмнө


  17. lucas felipe

    lucas felipe21 цагийн өмнө


  18. Jeremy Schacht

    Jeremy Schacht22 цагийн өмнө

    Tetris AI?

  19. Chetan Naik

    Chetan Naik22 цагийн өмнө

    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.

  20. W B

    W B22 цагийн өмнө

    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?

  21. Buttnugget Sauce

    Buttnugget SauceӨдрийн өмнө

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

  22. The Real ET 89

    The Real ET 89Өдрийн өмнө

    Please date me in 2020 ✌🏼

  23. TheChemist 130

    TheChemist 130Өдрийн өмнө

    “Yep, it’s snakin.”

  24. Zackdasher12 Dashers

    Zackdasher12 DashersӨдрийн өмнө

    8:14 an actual scientific name that makes sense

  25. Your Grandma's Dyslexic Father

    Your Grandma's Dyslexic FatherӨдрийн өмнө

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

  26. Pterajacktyl

    PterajacktylӨдрийн өмнө

    Oh yeah, thats why i waited 3 months

  27. Bot.o

    Bot.oӨдрийн өмнө

    what programs do you use to code in?

  28. W B

    W B23 цагийн өмнө

    I think he typically codes using Processing(Java). If you look up his profile on Github you should be able to figure out how to get his code running.

  29. William Gonzales

    William GonzalesӨдрийн өмнө

    Can you please make an ai for a browser game called rooftop snipers? it would give me so much nostalgia! i really love your channel and your videos. please do it! ✌️😃

  30. Fiyaaah

    FiyaaahӨдрийн өмнө

    6:00 Your soldiers did a poor job because Q Learning is still the 4th item in your bookmarks bar. Maybe you can use Q Learning to teach them how to be better at killing?

  31. Robowiko

    RobowikoӨдрийн өмнө

    Everybody gangsta till Code bullet kills a child

  32. epiclyawesomesauce

    epiclyawesomesauceӨдрийн өмнө

    🖐🖕 six words 😂

  33. Dickles

    DicklesӨдрийн өмнө

    I really want to see him try to program an AI to play Geometry Dash

  34. Blade TheElectrowolf

    Blade TheElectrowolfӨдрийн өмнө

    I want a code bullet GPS?!

  35. jorge Marun Platon

    jorge Marun PlatonӨдрийн өмнө

    It's not a game anymore, it's art.

  36. jorge Marun Platon

    jorge Marun PlatonӨдрийн өмнө

    I used to consider myself good at this game...

  37. MonsieurCoinCoin

    MonsieurCoinCoinӨдрийн өмнө

    The world NEEDS a cookie clicker AI!

  38. Edward Wong Hau Pepelu Tivrusky IV

    Edward Wong Hau Pepelu Tivrusky IVӨдрийн өмнө

    dinosaur game come on

  39. Ish Ya Boi Hacks

    Ish Ya Boi HacksӨдрийн өмнө

    *sake fills hole screen up to the point it can't move* Computer brain: *Nuke goes off*

  40. Kyle Jones

    Kyle JonesӨдрийн өмнө

    I'd love that GPS.

  41. Xendurr

    XendurrӨдрийн өмнө

    I would love to have a Code Bullet GPS.