Code Bullet
Code Bullet
Code Bullet

Welcome to Code Bullet, a place to get all things Computer Science. If you want a mix between nerdy and awesome then look no further, because Code Bullet has plenty of both.

A.I. Learns To Walk

A.I. Learns To Walk

پیش 7 ماه

A.I. Learns to DRIVE

A.I. Learns to DRIVE

پیش 9 ماه

AI learns to play 2048
Building an Enigma Machine
AI learns to play Asteroids
AI learns to play pool
  1. Spicy Soup

    Spicy Soupپیش 12 دقیقه

    Vid starts at 4:43

  2. T.

    T.پیش 17 دقیقه

    Make a warden AI construct a prison placing random walls and as prisoners escape (also learning AI) and guards patrol (also learning), the guards will evolve and so do the inmates and by gen 1000 or so, the prison will be slightly sophisticated.

  3. Someone

    Someoneپیش 17 دقیقه

    The Nasa need your I.A. dude

  4. Waseem Amin

    Waseem Aminپیش 18 دقیقه

    Isnt there a way to create like a check point on the A.I. so ever time you lose you start from there (just few blocks before) instead of having to go trow all of it again of what we've all ready done. of areas that we dont need to check again. with the A.I not the game. as i know the game dos. as if that can be found im sure itll speed up the process a lot lot more and make the whole thing a lot lot easier. the other thing is my brother. love the video. not much to say just that the text that you put into it sometimes are a bit to fast. just a little thing that im sure would help.

  5. Gam1ngK1ng 247

    Gam1ngK1ng 247پیش 19 دقیقه

    He’ll make a sequel eventually

  6. MarGuy Thatguy

    MarGuy Thatguyپیش 20 دقیقه

    wait does the binary on his...face...mean anything?

  7. Ashley CSB

    Ashley CSBپیش 24 دقیقه

    This was cool, it reminded me of when I used to have piano lessons and I learned songs so well that I could speed them up faster and faster just like the AI could do in the game. There's a certain point where a melody will lose definition when it gets too fast.

  8. Zinx

    Zinxپیش 26 دقیقه

    As I fellow programmer love your approach! It is refreshing as opposed to the "idk I threw it into a deep learning model". Love the music as well!

  9. Gamer Jooj

    Gamer Joojپیش 28 دقیقه

    what program does he use for coding? I'm trying to get into coding and can't seem to find any good programs, I'm probably going to learn JS or something similar to that. Any help is appreciated!

  10. K9_chain

    K9_chainپیش 29 دقیقه

    "I'll upload the program soon" what is your definition of "SOON" over 1 year?

  11. Bukkit Full of Squittens

    Bukkit Full of Squittensپیش 31 دقیقه

    Why didn't you just figure out the velocity of the puck and set the AI to only check for new puck locations in an area very slightly larger than the puck's actual location? It would increase response time and mean that a 7 won't always kill you. Plus assuming that deflection off the walls is deterministic you could just take two-three frames and then calculate the point where the ball will intersect your movement plane every time and have the puck move so that the very edge pixel will hit the puck for maximum angle sharpness since most pong AIs are shit at blocking edge shots

  12. YRhino Playz

    YRhino Playzپیش 31 دقیقه

    When are you releasing it bro

  13. Stephanie Tinoco

    Stephanie Tinocoپیش 34 دقیقه

    It amazes me how we all have different talents. Its outstanding how a few are gifted. Keep it up !

  14. Dilyn Harrington

    Dilyn Harringtonپیش 41 دقیقه

    An ai that codes an ai that codes a game for you

  15. FlyTitan

    FlyTitanپیش 42 دقیقه

    *Day 548 without a part two 😢*

  16. Liam !84488282

    Liam !84488282پیش 43 دقیقه

    How's that sneaking suit working out?

  17. the zimra

    the zimraپیش 48 دقیقه

    its amazing how a much 20year old flashgame can handle... new games crash always lol


    BRYCE THOMASپیش 49 دقیقه

    I just realized the CB on his shirt CAN Stand for Click Bait

  19. the zimra

    the zimraپیش 59 دقیقه

    bruuuuuuhhhh i remmember these classics

  20. NikWillOrStuff

    NikWillOrStuffپیش ساعت

    so.. the title is literally a lie.... I watched this video because I wanted to learn about all the optimizations involved, and you pretty much just didn't mention any of the optimizations.

  21. EndMX Ω

    EndMX Ωپیش ساعت

    i need thise program

  22. Thicc Pollo

    Thicc Polloپیش ساعت

    whĘn yöû ŚtuB yoūr tĖø 8:15

  23. Nicholas Leclerc

    Nicholas Leclercپیش ساعت


  24. EggyPlayzGames

    EggyPlayzGamesپیش ساعت

    Im a little triggered at the concept that he used Phaser

  25. Nicholas Leclerc

    Nicholas Leclercپیش ساعت

    3:23 It’s official : Code Bullet accidentally and unfortunately fallen in an abusive and raping relationship with his AI 😔

  26. Liam !84488282

    Liam !84488282پیش ساعت

    Isn't it beautiful? It's almost tragic. When life ends, it gives off a final lingering aroma. Light is but a farewell gift from the darkness to those on their way to die. I've been waiting, Snake, for a long time. Waiting for your birth, your growth, and the finality of today.

  27. zeronth

    zeronthپیش ساعت

    Somewhere between 19:64 and 20:02 I'm pretty sure I saw Jesus.

  28. Tas3

    Tas3پیش ساعت

    Is that Scratch...

  29. Nobody

    Nobodyپیش ساعت

    Make an A.I than can play geometry dash

  30. Superbsanx26

    Superbsanx26پیش ساعت

    So it only hit the blacks

  31. Leevi Meow

    Leevi Meowپیش ساعت


  32. A plus Cubing

    A plus Cubingپیش ساعت

    Can you release this program id like to use it for myself

  33. Planepants Games

    Planepants Gamesپیش ساعت

    I want to do this inspired by you, you knob :)

  34. Nuclear E

    Nuclear Eپیش ساعت


  35. ghostphoto

    ghostphotoپیش 2 ساعت

    This would take an Asian person 13 seconds so I'm not impressed

  36. Ban Kasai

    Ban Kasaiپیش 2 ساعت

    I think your definition is more VI than AI.

  37. Yamper Pamper

    Yamper Pamperپیش 2 ساعت


  38. I’m kinda trash tbh

    I’m kinda trash tbhپیش 2 ساعت

    How bruh wtf

  39. D4rk Fire627

    D4rk Fire627پیش 2 ساعت

    Hmm.. sorry man, looks like a reverse scramble.

  40. AuNSHiVA Gibbons

    AuNSHiVA Gibbonsپیش 2 ساعت

    Hello there, Snake Bullet

  41. SomasKanda& More

    SomasKanda& Moreپیش 2 ساعت


  42. A. West

    A. Westپیش 2 ساعت

    How could a Hamiltonian cycle snake crash? Was the head just following the tail, which would take a while to reach the last two. How do you define when to jump? By a ratio of snake length to jump gain. Could you use an AI? How do you define your path? I presume randomly. Could this also use AI? This snake algorithm will always win but not quickly. Improving path and jumps it'd be faster.

  43. TheLittleHealer

    TheLittleHealerپیش 2 ساعت

  44. I’m a Yeti.

    I’m a Yeti.پیش 2 ساعت

    Wow that’s pretty neat.

  45. F4D3D_R4ZØRBL4D3

    F4D3D_R4ZØRBL4D3پیش 2 ساعت

    I thought his mouse cursor was a smudge on my phone....

  46. Gamingzone123

    Gamingzone123پیش 2 ساعت

    My diagnosis u ded

  47. Thori Am

    Thori Amپیش 3 ساعت

    When you asked if they were done killing Adrian, you should’ve had them respond with “Ladies and gentlemen... WE GOT HIM.” Would’ve been comedy GOLD.

  48. Valdish

    Valdishپیش 3 ساعت

    God did slaughter millions of babies before they started doing shit right, it's called evolution.

  49. Wayne Ace

    Wayne Aceپیش 3 ساعت

    a.i. in your average video game !?!? far and away beyond this ... a.i. that writes it's own code and makes cars fly over hills

  50. Videos by Matthew

    Videos by Matthewپیش 3 ساعت

    Why do you create your own code you could just copy and paste it from the actual game

  51. Wayne Ace

    Wayne Aceپیش 3 ساعت

    next up we have a.i. in the form of a catatonic ant

  52. Forever Alpha

    Forever Alphaپیش 3 ساعت

    21:15 almost killed me I WHEEZED JAJAJA anyways, aren't we going to talk about Evan's edditing skills are getting better?

  53. WonderFoxGD

    WonderFoxGDپیش 3 ساعت

    Lil too extra

  54. GhostTyper

    GhostTyperپیش 3 ساعت


  55. Mj Smith

    Mj Smithپیش 3 ساعت

    Dk why i watched this, im colourblind

  56. Miguel Albuquerque

    Miguel Albuquerqueپیش 3 ساعت

    5:30 looks like he's going backwards wtf

  57. Night Shade

    Night Shadeپیش 3 ساعت

    Solve Your enigma machine please!!!

  58. Dlorah Deft

    Dlorah Deftپیش 3 ساعت

    Should've done it with Horse Racing

  59. Prussia and soviet

    Prussia and sovietپیش 3 ساعت

    i guess we dont need semicolons after all

  60. Griffin Cook

    Griffin Cookپیش 3 ساعت

    after the bot beats a game you can solve the maze it creates

  61. Kyle August

    Kyle Augustپیش 3 ساعت

    Does anyone know what kind of programming language he used in the video? For exemple: java script, c, c++, c#, python, etc.

  62. Joseph Stalin

    Joseph Stalinپیش 3 ساعت

    You could make it faster by having the mouse take click the closest square so it doesn’t just jump around

  63. Zeraybifive

    Zeraybifiveپیش 3 ساعت

    Ah, yes, cooler Pyrocynical.

  64. Alpha204

    Alpha204پیش 3 ساعت

    AI is intelligence that is artificial

  65. Evan Walker

    Evan Walkerپیش 3 ساعت

    -henry- jerry

  66. Webby

    Webbyپیش 3 ساعت

    *me using these exact algorithms to solve a 3×3 while watching this video*

  67. Eclectic

    Eclecticپیش 3 ساعت

    Could you "brute force it" and just set the snake to go back and forth over ever square leaving a path to return to the start? Then just repeat?

  68. _ Wolfynstine

    _ Wolfynstineپیش 3 ساعت

    Just recently found your stuff. I absolutely love your personality and the stuff you do is really cool too haha

  69. marcin1693

    marcin1693پیش 3 ساعت

    Can someone make it in Wallpaper Engine? I would be so satisfying to just watch it for hours.

  70. Magz animations

    Magz animationsپیش 3 ساعت

    4:16 I love this part

  71. George rowland

    George rowlandپیش 3 ساعت

    Just copy and paste that

  72. AylaPhantom

    AylaPhantomپیش 4 ساعت

    the little person is just baby Yoda

  73. TecSanento

    TecSanentoپیش 4 ساعت

    You missed something in this machine: there is an additional turnover position for each wheel that you can adjust, when it takes the next wheel with it after pressing a button. Some wheels could also have 2 of them.

  74. Anthony Eibes

    Anthony Eibesپیش 4 ساعت


  75. John Marshalll

    John Marshalllپیش 4 ساعت

    I think I see what went wrong at the end. The snake took a shortcut towards the end which resulted in cutting out 2 open squares to maneuver. Those 2 open squares cannot be recovered until the snake runs the entire length of the Hamiltonian Cycle and comes back to the point of where the shortcut was made. Then it would not take the shortcut, but follow the Hamiltonian path and regain the all the squares needed. This should be easy to demonstrate on a 4x4 grid.

  76. Kaizerdidrik YT

    Kaizerdidrik YTپیش 4 ساعت

    anyone else find this really satisfying?

  77. てぇ雨Duck

    てぇ雨Duckپیش 4 ساعت

    5:30 it looks like its going backwards that hurts my head

  78. julien coker

    julien cokerپیش 4 ساعت

    the origanal wat happend to the (sh*t its gained sentients)

  79. Awesome Ryan Game

    Awesome Ryan Gameپیش 4 ساعت


  80. Wicked Erebus

    Wicked Erebusپیش 4 ساعت

    6:25 maybe if car color, tire color, and hair color were also done, it would have been more interesting?

  81. Livingamer29

    Livingamer29پیش 4 ساعت

    The ai ay the end looks like a alien trying to communicate with their native writing 🤣

  82. West

    Westپیش 4 ساعت

    alternate title: guy loses his shit making a game of snake

  83. ZO0M4A

    ZO0M4Aپیش 4 ساعت

    9:21 Sluuuuuuuuuuuuuuuuuuuuuurp

  84. schoenfeld the great

    schoenfeld the greatپیش 4 ساعت

    Nice reference to cinamasins

  85. Màtè Nagy

    Màtè Nagyپیش 4 ساعت

    Just a question: what program does he use to write JS in this vid?

  86. Charlie's Karts

    Charlie's Kartsپیش 4 ساعت

    Surely to add 2 numbers it’s just make them fall in a tube tigether

  87. Adam Záliš

    Adam Zálišپیش 4 ساعت

    New video idea. Maybe you could try to create "perfect" A.I. For the dinosaur game on chrome when you are offline. It may be pretty funny video.

  88. Mattias Magnusson

    Mattias Magnussonپیش 4 ساعت

    Your nobile page need some work tho, cant navigate the menus ^^ awesome! Ill check it out soon on my computer ^^ thanks for sharing!

  89. Ru Miak

    Ru Miakپیش 4 ساعت

    A new cool screen saver!

  90. Senne Piens

    Senne Piensپیش 4 ساعت

    Make it so that evry pixel in a 4k screen is a square in the grid and use the colors of the numbers to indicate them

  91. emma Ogórek

    emma Ogórekپیش 5 ساعت


  92. qShadow

    qShadowپیش 5 ساعت

    A.I. Leans to play Osu! God i would like to see that...

  93. Kyle Mielke

    Kyle Mielkeپیش 5 ساعت

    I know you said you're done, but... It strikes me that I play snake in 2 phases: Collection, and consolidation. During collection, sure I just grab the "fruit" but then I work to consolidate my body into contiguous space in the map, usually using an algorithm so I know the order my body will clear the area. Writing the snake to switch between the phases and know how long its body is (something humans instinctively check) and ensuring it consolidates to an area of the field similar in size to its total length should create a successful "human-like" performance. It should also be fairly fast, because it doesn't care where the fruit is until after consolidation, but early on, consolidation check always comes back true.

  94. Rubashow

    Rubashowپیش 5 ساعت

    I think the software buying a rifleman was it's first step towards self awareness.

  95. kristene humphrey

    kristene humphreyپیش 5 ساعت

    I wonder if this this is how they make bar codes lmao

  96. IMTG Music

    IMTG Musicپیش 5 ساعت

    I think everyone should watch the video just for the 21:16 moment

  97. Ben Balke

    Ben Balkeپیش 5 ساعت

    Your voice is super pleasant to listen to and your sense of humor is great. Subscribed.

  98. Zeddex

    Zeddexپیش 5 ساعت

    "cool cool cool cool cool cool cool"... could he b a b99 fan

  99. overdrive gaming

    overdrive gamingپیش 5 ساعت

    "We do smart stuff in the stupidest way possible" greatest line ever

  100. Erick Leon

    Erick Leonپیش 5 ساعت

    Kill me