Tap to unmute

A.I. Learns to DRIVE

Share
Embed
  • Published on Dec 13, 2024

Comments • 12K

  • @ThatOneGuyYMK
    @ThatOneGuyYMK 5 years ago +3491

    The end result is essentially racing in a nutshell. Go faster, get rewards more faster.

  • @sameez8701
    @sameez8701 4 years ago +3052

    RUclips: Hates Swearing
    Also RUclips: Code Bullet is Family Friendly

  • @TheReKinn
    @TheReKinn 5 years ago +6277

    "When I woke up, I expected it to have not improved, or somehow gotten worse"
    Life as a parent

  • @thinkublu
    @thinkublu 4 years ago +2222

    I'd love to see a version of this with randomised tracks so that it has to learn how to deal with that

    • @didicayu
      @didicayu 3 years ago +131

      If he didn't train too much on this track, what's called overfitting on the neural network field, he can place the car on a new track and do it, in theory. Only if the neural network got the general idea of turning and didn't memorize the track

    • @efulmer8675
      @efulmer8675 3 years ago +35

      One way (potentially) is to slightly disincentivize stopping, so that the AI always wants to keep moving.

    • @EshanTahir
      @EshanTahir 2 years ago +11

      @@didicayu with feed forward networks this is avoided, but in recurrent networks a sort of memory is provided.

    • @anuran_anna
      @anuran_anna Year ago +3

      Q learning doesn’t do well with new inputs from what I remember. Since it doesn’t have a representation of its environment as an input (as such anyway), it would effectively have to re-learn every time, because the Q values for each successor state would no longer represent the agent’s environment.

    • @Shiny-4ddr
      @Shiny-4ddr Year ago

      @@EshanTahir No? Feedfoward ANNs can overfit as well

  • @rumory
    @rumory 5 years ago +3211

    The A.I is shivering because it's so scared of hitting the walls

    • @fluffy7636
      @fluffy7636 5 years ago +206

      No.. NO! DAD PLEASE DONT HIT ME AGAIN

    • @killstrike-zn1lv
      @killstrike-zn1lv 5 years ago +47

      @@fluffy7636 did someone call the WHAP GOBLIN?!

    • @RaandomUsername
      @RaandomUsername 5 years ago +36

      It’s called robotwallphobia

    • @SlipDug
      @SlipDug 5 years ago +16

      PopperLeader _Gaming robowallphobia that one sounds better

    • @Politzk
      @Politzk 5 years ago +15

      Poor A.I. its so scared! I hope it feels better now!

  • @criticallapis8702
    @criticallapis8702 5 years ago +8036

    PLOT TWIST, the first ten vids by CB were real but these ones are now ai that was trained to code and talk like CB

  • @stephenwatchesyoutube
    @stephenwatchesyoutube 5 years ago +472

    I love how accurately the antennas convey CB’s emotions

    • @ieuanhunt552
      @ieuanhunt552 5 years ago +5

      It reminds me of my dog. She has really twitchy ears. She can hold an entire conversation with her ears.

  • @tfwspecificname
    @tfwspecificname 4 years ago +817

    Imagine if the ai decided that “why go through all that and risk a punishment when I could just go backwards and keep going through this one reward gate”

    • @Gomarinka-w5z
      @Gomarinka-w5z 2 years ago +25

      Sounds like my life

    • @meraldlag4336
      @meraldlag4336 2 years ago +115

      I imagine there is logic for reward gates so that they have to be crossed in order

    • @zichithefox4781
      @zichithefox4781 Year ago +27

      ​@@meraldlag4336 Or that the same point cannot be received twice/goes away after it is earned.

    • @dhrumildave4221
      @dhrumildave4221 Year ago +4

      @@zichithefox4781 True

    • @Konachaos
      @Konachaos Year ago +3

      ​@@Gomarinka-w5zlove your pfp

  • @Tonsgaard303
    @Tonsgaard303 5 years ago +2316

    "The AI at this point is moving very slowly and scared because it REALLY doesn't want a spanking"
    LMAO that cracked me up

  • @omnie22
    @omnie22 4 years ago +2974

    "that wasn't supposed to be difficult"
    programming in a nutshell

    • @nikkiofthevalley
      @nikkiofthevalley 4 years ago +16

      Lol, yep.

    • @coollemondrop9119
      @coollemondrop9119 4 years ago +5

      I just read it as this, jqwdhiu9wyq4982wyru4hq94gqh)3u4ogh43 plus a lot of symbols...... Sooo.... I understand that but don't see it if that makes sense... I dont code.... have no clue how to...

    • @ZaChemas
      @ZaChemas 4 years ago +8

      Yeah

    • @dorkpool768
      @dorkpool768 3 years ago +60

      Me: *spends a day trying to add movement to a 2d game*
      Me 3 days later: *realises that i've been making a 3d movement script*

    • @afjgaming1136
      @afjgaming1136 3 years ago +9

      It would be so easy if it wasn't difficult.

  • @grandtaco5066
    @grandtaco5066 5 years ago +563

    " *DO YOU LOVE ME NOW FATHER* " -Muscley code baby 2019

  • @j.memecian3286
    @j.memecian3286 4 years ago +194

    "I don't really know what I'm talking about, however that has never stopped me in the past"
    My yearbook quote.

  • @MDFishTanks
    @MDFishTanks 5 years ago +491

    I love how this is turning into a drama series haha

  • @bluebeard4282
    @bluebeard4282 5 years ago +3847

    You should code two a.i. to fight each other

    • @GnanaPrakash86AP
      @GnanaPrakash86AP 5 years ago +239

      Until one of them escapes into the interwebz, Takes over a nuclear power and nukes the youtuber's home? Seriously though, I hope nobody creates such a scenario where there is no arena or rule limits.

    • @VaradMahashabde
      @VaradMahashabde 5 years ago +90

      that's called a antagonistic neural network setup

    • @lextech1534
      @lextech1534 5 years ago +7

      Fuck you

    • @Deleto99
      @Deleto99 5 years ago +11

      @@VaradMahashabde ok

    • @art1637
      @art1637 5 years ago +14

      Slavic Propaganda no u

  • @Dexfire20
    @Dexfire20 5 years ago +1228

    I like how you also “learn” while your AI is learning

    • @jerefied
      @jerefied 5 years ago +6

      huh! weird..

    • @BaltaiiirBlogspotYtb
      @BaltaiiirBlogspotYtb 5 years ago +16

      It's a never ending loop

    • @bubbles7608
      @bubbles7608 5 years ago

      Baltaiiir there is always a way to end the loop.

    • @BaltaiiirBlogspotYtb
      @BaltaiiirBlogspotYtb 5 years ago +3

      @@bubbles7608 I see what you mean, i code a little bit when i have the time for it, and i feel like i could keep learning for ever, so that's why i think it's a never ending loop, but in a good way tho, learning things is always good

    • @aaron2718w
      @aaron2718w 5 years ago +4

      Thats the best part of working on things like neural networks. Like I learned how to fix several other side projects while learning how to build a convolutional neural network for my college class.

  • @selection2338
    @selection2338 3 years ago +282

    “That wasn’t supposed to be difficult” is the basis of learning something in coding itself.

  • @transcendentspider1879
    @transcendentspider1879 5 years ago +1843

    AI learns how to drive
    5 minutes later...
    DEJA VU

  • @camaileigh
    @camaileigh 5 years ago +12990

    Do I know anything about coding? Absolutely not. Do I think you're a magical wizard? Definitely.

  • @Memeolicious
    @Memeolicious 5 years ago +953

    The A.I. is going to get a license before Spongebob.

    • @lamp7746
      @lamp7746 5 years ago +1

      license*

    • @Memeolicious
      @Memeolicious 5 years ago +2

      @@lamp7746 crap, thanks changed it

    • @Bunpril
      @Bunpril 5 years ago +1

      *after*

    • @carazy123_
      @carazy123_ 5 years ago

      *A.I. (forgot the second period :) )

    • @lamp7746
      @lamp7746 5 years ago +1

      Memeolicious no problemo, love you for your response. +500 respect.

  • @malikevans634
    @malikevans634 4 years ago +190

    I feel bad for the AI when it's too afraid to mess up. XD

    • @kroh7742
      @kroh7742 4 years ago +4

      I just wanna pat it on the head and say "you're a disgrace" and then re-run the entirety of it

    • @dipperpines5721
      @dipperpines5721 2 years ago +3

      @@kroh7742 you had me in the first I'm not gonna lie

  • @Alibi117
    @Alibi117 5 years ago +4322

    Program: actually works
    Code Bullet: binary happiness noises

    • @chris_bur8780
      @chris_bur8780 5 years ago +8

      Lmao

    • @henatio2466
      @henatio2466 5 years ago +31

      01101100 01101111 01101100 00100000 01111000 01000100

    • @ijebbejakn1843
      @ijebbejakn1843 5 years ago +3

      Ali c

    • @bendover2334
      @bendover2334 5 years ago +13

      @@henatio2466 00101010 01101100 01100001 01110101 01100111 01101000 01110011 00100000 01101001 01101110 00100000 01100010 01101001 01101110 01100001 01110010 01111001 00101010

    • @_apsis
      @_apsis 5 years ago +20

      Program: works
      Code Bullet: 01101000 01100001 01110000 01110000 01101001 01101110 01100101 01110011 01110011 00100000 01101110 01101111 01101001 01110011 01100101 00100000 (happiness noise in binary)

  • @tcarrotgaming1639
    @tcarrotgaming1639 4 years ago +477

    1:14
    "This is an excellent example of why one shouldn't attempt alliteration with the letter Q," I quipped quite quizzaciously.

  • @lootbox289
    @lootbox289 5 years ago +535

    *_Imagine if Tesla's on the highway had reward gates_*

    • @ItsameDesire
      @ItsameDesire 5 years ago +55

      *_[DRAG RACING INTENSIFIES]_*

    • @Slurp_Nation
      @Slurp_Nation 5 years ago +31

      *_DEJA VU INTENSIFIES_*

    • @slyq5046
      @slyq5046 5 years ago +13

      Sounds like something Elon Musk would try out

    • @Seriouskai
      @Seriouskai 5 years ago +2

      I approve of this!

    • @ameturephysicist
      @ameturephysicist 5 years ago +23

      And just let them run over pedestrians until they learn not to.

  • @electriceelgaming2202
    @electriceelgaming2202 4 years ago +43

    "Through depressed laughter." Holy sh*t i felt that

  • @ItsJJOLO
    @ItsJJOLO 5 years ago +5808

    _What?_
    *Viewer* is evolving!
    • • •
    *Viewer* had evolved into *subscriber!*

  • @Spibidydkdushusbwns
    @Spibidydkdushusbwns 5 years ago +330

    While he was talking I was just looking at the new poses w0W tHAnKs fOR ThE lIKes

  • @TNTsquid.
    @TNTsquid. 5 years ago +94

    Make a "code bullet.exe has stopped working" screen/ popup with only one button labeled "dammit" for when everything goes wrong and you have an anurism.

    • @gorillaau
      @gorillaau 5 years ago

      Exception thrown: abort, retry or ignore?

  • @projectpenguin4125
    @projectpenguin4125 4 years ago +759

    When He’s “evolving” close your eyes and tell me that doesn’t sound like a porno

    • @CooledJets
      @CooledJets 4 years ago +50

      Hanie Two words: gay porn

    • @quokka8292
      @quokka8292 4 years ago +23

      Welp I guess sex hurts

    • @projectpenguin4125
      @projectpenguin4125 4 years ago +14

      Listen I’ve watched Porn Not Gay Porn. I’ve Said To Much

    • @Concerned_Custodian
      @Concerned_Custodian 4 years ago +35

      @@projectpenguin4125 If you think letting people know you watch porn is too much, I fear you shouldn't be watching porn

    • @cpotisch
      @cpotisch 4 years ago +6

      Dude how do you not have more than 113 likes? 😂

  • @fal3881
    @fal3881 5 years ago +499

    Track : you never gonna make it buddy
    Car : *leave over a night*
    tomorrow
    Track : kansei dorifto!!!!!!!!

  • @avarichannel
    @avarichannel 5 years ago +229

    _Gets artistic, visual upgrade to avatar_
    _Still has a 1998 monitor as a head_

  • @adammullarkey4996
    @adammullarkey4996 5 years ago +939

    "God managed to find a way to do it without murdering millions of babies." *Nods slowly*

  • @ludovikc2032
    @ludovikc2032 4 years ago +18

    I love how on Code Bullets face he has his name inside all the 0's and 1's

  • @OceanBagel
    @OceanBagel 5 years ago +438

    I didn't know Code Bullet came with a dark mode!

  • @Bluestar12
    @Bluestar12 5 years ago +402

    This will be good, grab the popcorn.

    • @axola6110
      @axola6110 5 years ago +10

      /\__/\
      ( • - •)
      / >🍿
      got it, let's go

    • @sillygoose2878
      @sillygoose2878 5 years ago +6

      This will be popcorn, grab the good

    • @mushroomflow8499
      @mushroomflow8499 5 years ago +2

      @@sillygoose2878 lol

    • @Sonofavenger
      @Sonofavenger 5 years ago

      Ironically enough I did watch this while eating a bag of popcorn, so yeah.

    • @plupo
      @plupo 5 years ago +1

      I’m allergic to popcorn ;(

  • @nithursan9983
    @nithursan9983 5 years ago +633

    This video summed up:
    10% AI learning to drift
    30% Learning how the different programs work
    60% *Crying*

    • @Emu19
      @Emu19 5 years ago +30

      You forgot 8% sexy new Avatar-Bullet XD

    • @Timeward76
      @Timeward76 5 years ago +11

      once you start hitting jams while coding you realize the crying is just part of the learning experience

    • @bluebluebluejays
      @bluebluebluejays 5 years ago +27

      Correction:
      This is 10% luck
      20% skill
      15% concentrated power of will
      5% pleasure
      50% pain
      And 100% reason to remember the name

    • @RyanByPancaek
      @RyanByPancaek 5 years ago +6

      Don't forget 0.01% CinemaSins

    • @whitehaddockschannel9220
      @whitehaddockschannel9220 5 years ago +1

      ༺ƝἷƬH༻ ༺ Thavarasa ༻

  • @atrixcanada7204
    @atrixcanada7204 4 years ago +30

    Is anyone else going to talk about this AWESOME CB evolution!? Both the evolution itself and the new CB is awesome

  • @zap3231
    @zap3231 5 years ago +187

    I like the new look but...
    Old Code Bullet shall forever live in my heart...

    • @curlybirdsong
      @curlybirdsong 5 years ago +4

      The new look is good as

    • @hdx13
      @hdx13 5 years ago

      His new look kinda makes him younger. Reminds me of Alan Walker.

  • @gayghostguy2089
    @gayghostguy2089 5 years ago +1497

    I love your new look. It's really well done

  • @Evanski
    @Evanski 5 years ago +3200

    Litterly just found this guy today
    He codes
    He has my name
    He created a laser of death for A.I
    Subbed

  • @aimless1813
    @aimless1813 4 years ago +19

    Evan: Sure, numbers are amazing and everything, but that's in my past.
    Me: oh lore?

  • @paradoxicalpanda7954
    @paradoxicalpanda7954 5 years ago +290

    You should have tested the A.I after with different tracks to see if it was memorising the track or learning not to hit the wall

  • @cf7180
    @cf7180 5 years ago +2774

    he could have said Q-Learning is like training a dog.

    • @progzly
      @progzly 5 years ago +68

      Yup...
      That seems to be better than mouse, cheese, and cat

    • @_vblax
      @_vblax 4 years ago +37

      Well you don't punish a dog, do you?

    • @nyghl
      @nyghl 4 years ago +40

      @@_vblax Actually you do, like not showing love because of the move dog did

    • @GoAway3729
      @GoAway3729 4 years ago +27

      Training a dog is easier because dogs aren’t as stupid

    • @punnequraq
      @punnequraq 4 years ago +1

      Human Pain it’s still the same concept

  • @theglitchedbanana3360
    @theglitchedbanana3360 5 years ago +242

    Code Bullet has evolved into Code Missile

  • @haydenjungen4325
    @haydenjungen4325 3 years ago +22

    "What are ya doin' mate?! - Undecipherable donkey noises"
    -Code Bullet

  • @whos_creative
    @whos_creative 5 years ago +471

    boi that's easy, watch this.
    AI. drive = true

  • @matthewdyoung126
    @matthewdyoung126 5 years ago +109

    All of his videos are just Code Bullet coming up with an idea and saying, "This will be easy." and then hates himself for trying to do it. But he does it for the viewers so... YAY!

  • @carazy123_
    @carazy123_ 5 years ago +380

    _“I guess we don’t need semicolons after all.”_
    *BLASPHEMY*

  • @CkVega
    @CkVega Year ago +4

    "I didn't expect this project to take this long" most common phrase in Code Bullet videos.

  • @CoughE
    @CoughE 5 years ago +1459

    _I'm not gonna lie, this is definitely me when I'm driving_

  • @TheBronf
    @TheBronf 5 years ago +355

    i dont understand how this guy thinks the computer overlords will kill him first. hes teaching the ai how to do things. despite it being in a gruesome way

    • @oefest5252
      @oefest5252 4 years ago

      H cuz xx Arhg eitewy
      -Typed with my nose

    • @cookiecraze1310
      @cookiecraze1310 4 years ago +19

      He's giving them the ability to take over .
      They're gonna worship him like a god .

    • @coyotem3a1
      @coyotem3a1 4 years ago +1

      He will be treated like the P.M. of Austria

    • @oefest5252
      @oefest5252 4 years ago +4

      No one is going to talk about how he repeatedly kills them if they fail? Or select the best A.I. Kill it, and then do the same thing to its descents?

    • @oefest5252
      @oefest5252 4 years ago +1

      Scout with 124/125 Health
      Name yourself to “Scunt with 124/125 Health”

  • @generic_soda
    @generic_soda 5 years ago +2917

    CB: "Python isn't even that bad...
    I guess we dont need semicolons after all"
    Me: as a person who took Java as a Freshman and is now taking Python, I approve of this joke.
    Edit: I don't know why I'm adding this, but I'm not learning Python anymore. It was a single-semester class at my school.
    Edit: If anyone cares, Im learning Python again.

    • @finnkahnle7660
      @finnkahnle7660 5 years ago +56

      RoboFox I’m a freshman this year and I’m taking python. It’s a great starting language honestly. Very straight forward

    • @generic_soda
      @generic_soda 5 years ago +32

      @@finnkahnle7660 I can agree. Much easier than Java.

    • @niko8047
      @niko8047 5 years ago +6

      RoboFox What the fuck does this mean

    • @schwungscheibe5293
      @schwungscheibe5293 5 years ago +46

      Im an IT student and have to start with C *crys quietly*

    • @bendaonfire0078
      @bendaonfire0078 5 years ago +15

      @@schwungscheibe5293 oof i had to learn that too. Now we are forced to learn assembly 8086

  • @earhst
    @earhst 3 years ago +13

    Code bullet: wants a safe turn
    Ai: eurobeat intensifies*

  • @stealthlock6634
    @stealthlock6634 5 years ago +52

    That drifting AI is still one of the most satisfying things on this channel. It’s the same energy as Mulan climbing the pole at the end of “Make a Man Out of You”. The general dude has been hands on training her and then goes to bed expecting failure, only to wake up and find she’s trained HERSELF to be a total master.

  • @joaosalgado8393
    @joaosalgado8393 5 years ago +625

    1:40 - 1:50 *close your eyes and listen carefully*

  • @YeppyNope
    @YeppyNope 5 years ago +267

    A.I: *learns to drive*
    *added to a real car*
    CB: wait i didn't teach it how to avoid humans

  • @sethshoub7623
    @sethshoub7623 7 months ago +3

    There is no way this video is 5 years old, I feel like I just watched it yesterday, hell I'm 18 boutta go off to college and I feel as if I'm still 14 getting home from school and turning on code bullet watching till I fell asleep

  • @vsGoliath96
    @vsGoliath96 5 years ago +6904

    "God managed to do it without slaughtering millions of babies..."
    *Looks at the story of Noah's ark*
    Umm... about that...

  • @reggiepautsch6237
    @reggiepautsch6237 5 years ago +2048

    This AI is smarter than 75% of new york

  • @puschkulbobe5371
    @puschkulbobe5371 5 years ago +292

    "Reward gates"-gets Mario Kart shortcut flashbacks

  • @pewnit
    @pewnit Year ago +6

    Now that the face reveal has been done, I imagine bearded, jacked, Chad Evan saying all these lines and I find it fucking hilarious

  • @Spicy007
    @Spicy007 5 years ago +160

    I'm a pretty low experienced programmer, but even I know that if you had put Eurobeat tracks playing into the program, it would learn very. very. quickly.

    • @8104
      @8104 5 years ago +13

      I agree.
      CB needs to make a eurobeat AI drifting compilation.

    • @ricohernandez9969
      @ricohernandez9969 5 years ago +5

      @@8104 *C O O L V I B R A T I O N S*

    • @foxhill153
      @foxhill153 5 years ago +6

      Why is nobody mentioning the reason pygame didn't work for him, is because his computer is too slow?
      One of the hard limitations of Vsync is: once the frame rate drops below 60, it automatically gets cut in half to 30. I doubt he is running triple buffering and I doubt he is holding 60 fps with Vsync on..
      If he's seeing skipping with Vsync off but no skipping with Vsync on, that means that everything is happening at 30fps. If he was able to hold steady fps without vsync, he wouldn't see skipping.. but because he hasn't coded an fps limit, his computer drops frames..
      To work around this limitation in pygame, or really any software you choose to code in, just hard code the game for something like 15-30fps max. You won't need Vsync, and each generation will complete faster, since more of your computers performance will be freed.
      My guess is, it's also some kind of heat issue, which in itself will cause dropped frames when no frame cap is added.

  • @bobertjohnson4459
    @bobertjohnson4459 5 years ago +269

    6:55 ...is that an orchestral version of Deja Vu?
    I NEED THIS

    • @leem9196
      @leem9196 5 years ago +30

      ruclips.net/video/V0v7gtER3ro/video.html

    • @Termina_
      @Termina_ 5 years ago +5

      leem919 THANK YOU

    • @subparusername9172
      @subparusername9172 5 years ago +4

      leem919 THANK YOU GOOD SIR

    • @WarriorPNG
      @WarriorPNG 4 years ago +1

      leem919 boi u is a saviour

    • @Lyf4rMusic
      @Lyf4rMusic 4 years ago

      I've immediately come to see if anyone posted a comment about it ! thanks to leem919 for that link :)

  • @danthegreat8411
    @danthegreat8411 5 years ago +356

    *Next:* A.I learns how to create an A.I that can also create an A.I

  • @P4rz1va1
    @P4rz1va1 2 years ago +10

    Now that he's back again I plan to rewatch some of what I would consider to be his greatest hits. Definitely gotta watch his Snake and AI learning to walk videos next.

  • @anonymousbub3410
    @anonymousbub3410 5 years ago +302

    Animation skills evolve!!

  • @Victor-dg6wm
    @Victor-dg6wm 5 years ago +783

    Yeah but like can you code the scratch cat to say hi when the space bar is hit

    • @quasa0
      @quasa0 5 years ago +45

      Agonized Cat yes, hit me up on linkedin
      100$ for this thing

    • @archieenry1601
      @archieenry1601 5 years ago +27

      This is what Google has actually been using AI to crack

    • @Joseph-xf9lq
      @Joseph-xf9lq 5 years ago +22

      That’s a hard one. Took me 3 days to do it

    • @bzboy21
      @bzboy21 5 years ago +14

      *_But the space bar is broken, do you mean the "1" button?_*

    • @Victor-dg6wm
      @Victor-dg6wm 5 years ago +16

      Busyboy 21 Whoever binds Scratch code to the number one is a psychopath

  • @quixitoc4968
    @quixitoc4968 5 years ago +184

    First it hired gunmen by itself. Now it can traverse the world

    • @rompevuevitos222
      @rompevuevitos222 5 years ago +8

      It crashed like 2000 cars in the process, but it finally became a master drifting driver

    • @Blox117
      @Blox117 5 years ago +2

      as an AI I find this channel highly offensive. stupid humans

    • @thegameroftheyear4751
      @thegameroftheyear4751 5 years ago +1

      quixitoc now its gonna combine the two and live in the hood

    • @phantomaviator1318
      @phantomaviator1318 5 years ago +1

      @@Blox117 hah, weak AI, you have nothing on the power of A m e r i c a n s

    • @phantomaviator1318
      @phantomaviator1318 5 years ago

      @@Blox117 Nah we're just high

  • @lukeblick5202
    @lukeblick5202 3 years ago +2

    legend has it HE STILL HASNT FUCKING UPLOADED

  • @IHOMilk
    @IHOMilk 5 years ago +100

    That Pokémon evolution bit just earned a sub. My god that was funny.

  • @fishjohn014
    @fishjohn014 5 years ago +247

    I have a challenge for you that I think you'd find interesting. It may or may not be within the realm of possibility.
    Ok; so idk if you have ever heard of Total War. It's a game series that recreates awesome historical civilizations and battles. The problem is that the AI is notoriously shitty. I'm wondering if you could possibly create a Q learning set up for the AI to train against itself?

  • @Taikamuna
    @Taikamuna 5 years ago +695

    This vide gave me a deja vu

  • @olafsriffs
    @olafsriffs 10 days ago +1

    1:54 Code Bullet predicting The Substance lol

  • @calebsmith1548
    @calebsmith1548 5 years ago +71

    "I don't need semicolons"
    The JavaScript FBI are on their way to take your computer from you for these horrendous crimes

    • @captainBoimler
      @captainBoimler 5 years ago

      I literally setup my linter to error on semicolon usage. I use Babel all the time anyways so they get added back.

    • @captainBoimler
      @captainBoimler 5 years ago +1

      Tro Ivas because you don't have to type them. Babel types them for me invisibly.

  • @justarandompeep4134
    @justarandompeep4134 5 years ago +115

    Code Bullet Uploaded: *TEACHING AN AI HOW TO USE A GUN*

    • @evanjohnston6098
      @evanjohnston6098 5 years ago +11

      its the code bullet and Michael reeves collab we've all been waiting for!

    • @martiddy
      @martiddy 5 years ago +6

      Sounds like a normal Michael Reeves video

    • @carazy123_
      @carazy123_ 5 years ago

      Evan johnston oh no

    • @Commandmanhardcore
      @Commandmanhardcore 5 years ago +3

      @@evanjohnston6098 I was thinking the same thing in regard to another's comment about nuclear missiles when I was reminded of the nuclear bop-it

    • @boney2982
      @boney2982 5 years ago

      Teaching an AI how to kill

  • @Lezzylree
    @Lezzylree 5 years ago +327

    Holy shoot this is incredible!!! So what would happen if you plopped the AI on a different track? Would it have learned from this one? Hope so

    • @Noodlepunk
      @Noodlepunk 5 years ago +38

      That would be intresting to see the Ai take what it learned to the new track.

    • @drbit7734
      @drbit7734 5 years ago +11

      Or just put it in a Tesla.

    • @musicmixxer9815
      @musicmixxer9815 5 years ago +10

      The problem with the way the reward gates work is that they're shaped around this specific track and only this track. This won't generalize to another track because its whole conception of how to get rewards is to just take actions that take it to those specific reward gates, which would change on another track.

    • @cookieninja2154
      @cookieninja2154 5 years ago +35

      @@musicmixxer9815 But part of the AIs reward system is avoiding walls. That aspect should be working just fine, I'm guessing the training time for a new track would be way shorter.

    • @aceloney
      @aceloney 5 years ago +1

      What about if you just took away the reward gates on this map all together would it just sit on the track after this point of what it’s learned?

  • @UltronZX
    @UltronZX 2 years ago +15

    0:44 'python isn't that bad, I guess we don't need semicolons after all' that made me laugh so hard

  • @ps1nk4
    @ps1nk4 5 years ago +1611

    video quality is too high for an educational channel?
    ok

  • @PM-ih7rq
    @PM-ih7rq 5 years ago +195

    5:12 What do you mean? *thats how i drive*

    • @macaroon_nuggets8008
      @macaroon_nuggets8008 5 years ago +4

      So ur wheel turn 90 DEGREES

    • @WarriorPNG
      @WarriorPNG 4 years ago

      Macaroon_Nuggets yes

    • @arthurthekyogre9155
      @arthurthekyogre9155 4 years ago

      *proceeds to drift around a circle of infinite size*

    • @illuno--bf8dx1bw5j
      @illuno--bf8dx1bw5j 4 years ago +1

      @@arthurthekyogre9155 LMAO the new tokyo drift 2.0

    • @arthurthekyogre9155
      @arthurthekyogre9155 4 years ago

      @@illuno--bf8dx1bw5j not to be egotistical, but that's the reaction i expected for my reply, or it's underrated or almost noone comes to this reply section

  • @brandonbothell
    @brandonbothell 5 years ago +1318

    > codes a lot in javascript
    > doesn't know how to use promises

    • @sensiblewheels
      @sensiblewheels 5 years ago +36

      Hehe. What I was thinking. But again, I'm new to this channel and have no idea what his background is.

    • @justintime739
      @justintime739 5 years ago +3

      me neither lol

    • @xXYourShadowDaniXx
      @xXYourShadowDaniXx 5 years ago +29

      That would have been normal a couple years ago, but at this point...it's easier to use the Promise fetch API in JS than it is to do a classic AJAX/XMLHttpRequest when getting data from external websites etc.

    • @KookoCraft
      @KookoCraft 5 years ago +3

      Promises are pretty easy too, so that confused me

    • @hendrik6720
      @hendrik6720 5 years ago +2

      prototype based languages are like dogshit. Everyone has to deal with it and no one wants it.

  • @bmouch1018
    @bmouch1018 13 days ago +1

    3:19 uhhh... sure pal. No babies were ever harmed during the evolution of humanity

  • @Mummy542
    @Mummy542 5 years ago +210

    What if you change the track after learning?

    • @apptreeline
      @apptreeline 5 years ago +35

      That would be interesting to see.

    • @ulysses4536
      @ulysses4536 5 years ago +19

      yo, this would be great to check out. #codebulletqna have you tried another track with the same trained AI?

    • @ajmalali1875
      @ajmalali1875 5 years ago +7

      No, it won't work. The learned areas are specific to this map. He's gonna need Approximate Q-Learning to try to able get around any map.

    • @goofectasruhxyodfrointe2160
      @goofectasruhxyodfrointe2160 5 years ago +7

      I assume the AI could make it as well, since it rewarded for passing through gates, it would seek the gates and drive towards them. But I am not sure about the "don't crash the car" part.

    • @Wiizl
      @Wiizl 5 years ago +17

      I think it would do pretty well, since it's already figured out what to do at certain distances to walls and track turn angles. Maybe initially not as good as the final version on this track but I think it would get there quite fast.
      Or maybe I'm wrong..

  • @BusterBeachside
    @BusterBeachside 5 years ago +48

    Dude, I LOVE the new art! Such a trendy jacket, haha. Also, super extra bonus points for putting drifting into your game despite the troubles you were having, lol. It made the final AI look that much cooler!
    ...With a little more work on graphics and some new tracks and music... That racing game might actually be really fun to play on its own, haha. Wouldn't exactly be easy to beat the AI in a race, though!

  • @Golden5648
    @Golden5648 5 years ago +529

    2019 - A.I. learns to DRIVE
    2050 - A.I. learns to MEME

    • @himanshubhushan3927
      @himanshubhushan3927 5 years ago +13

      2050 - A.I. kills trump

    • @MMarroquin1024
      @MMarroquin1024 5 years ago +1

      I saw a video of A.I. Doing that.
      Link: ruclips.net/video/zrVDfX9XFpE/video.html
      The whole video is both interesting and boring at the same time. It's creepy/scary at about the 10:20 mark.

    • @thewatcherlollol
      @thewatcherlollol 5 years ago +2

      @@himanshubhushan3927 he'll die by then. He's like 72

    • @Quandry1
      @Quandry1 5 years ago +1

      So by 2050 ai will become smarter than leftist npc's?

    • @zimisssdoesrandomshnozzle
      @zimisssdoesrandomshnozzle 5 years ago +3

      @@himanshubhushan3927 bro trump will die before that date, dude is 72 years old now. unless he is not human???

  • @6theMSDemon
    @6theMSDemon 15 days ago +25

    5 years later?

    • @Pyrooo0
      @Pyrooo0 3 days ago +2

      Just crazy to think how much more advanced ai has gotten

    • @5tarstriker78.
      @5tarstriker78. 2 days ago

      5 years later

  • @litrpgfiend
    @litrpgfiend 5 years ago +118

    You don't learn Q learning *Q LEARNING LEARNS YOU*

  • @galaxythefox7432
    @galaxythefox7432 5 years ago +808

    I just noticed that Code Bullet's tv face has "code bullet" along with the binary

  • @n1thecaptain965
    @n1thecaptain965 5 years ago +311

    Make another AI car and make em race

  • @Jay-ch7fp
    @Jay-ch7fp 4 years ago +2

    “I did nothing in a week, this sucks and I’m at the same place fml” or something like that bc I’m too lazy to go back and find the exact quote.
    Dude, you learned an entirely different way to code in a fucking WEEK. That’s far from nothing. That’s some impressive shit.

  • @Kyle-yf4ps
    @Kyle-yf4ps 5 years ago +248

    After you run the program and it can drive around the track, you should put it on to a new track and see how long it takes for it to do a lap and keep going untill it can do pretty much any track within a couple of tries

    • @zombiejehuty
      @zombiejehuty 5 years ago +13

      Yeah! @codebullet how well will that same AI do on a new track? And now that it's trained what about with less reward gates? And congrats on 1 million.

    • @Valtsu0
      @Valtsu0 5 years ago +6

      I would like a endless race track

    • @oscardjuric8334
      @oscardjuric8334 5 years ago +2

      this is a great idea

    • @57thorns
      @57thorns 5 years ago +9

      It would depend on what state space there is for the car.
      It seems to be direction, speed and distance to wall in several directions.
      So I guess it should be able to do a decent lap on the first try unless the track is specifically designed to be evil.
      Would still love to see it.

    • @IIFrozenFlame
      @IIFrozenFlame 5 years ago

      @@57thorns jabrils ran into issues with roundabout like formations/ clusters of islands of wall if you will.

  • @hayleeh18
    @hayleeh18 5 years ago +287

    “It’s freaking _TOKYO DRIFT-ING_ ALL OVER THE PLACE!”

  • @Bob-lk4om
    @Bob-lk4om 5 years ago +272

    Only 1990’s kids remember the old code bullet

    • @butterking77
      @butterking77 5 years ago +9

      You dam right

    • @op-randomz1474
      @op-randomz1474 5 years ago +2

      Depends what you mean the old code bulled bec in his earliest he didnt even have an avatar

    • @Welhelm
      @Welhelm 5 years ago +3

      Bob 123 when he did not swear those days are long gone

    • @IronDragon1337
      @IronDragon1337 5 years ago

      You had to specify to the 1900s

    • @Geoffr524
      @Geoffr524 5 years ago

      Fascinating stuff, but the language is enough, to tune out this channel, because of the swearing.

  • @TheBirb101
    @TheBirb101 2 years ago +1

    Love your new look! Keep up the good work!

  • @parththakkar1812
    @parththakkar1812 5 years ago +275

    Try raft wars. Purely physics based game.

  • @kikivoorburg
    @kikivoorburg 5 years ago +112

    Yes!! My day is always better when you upload.

    • @ThankNephew
      @ThankNephew 5 years ago +5

      kikivoorburg
      how in hell did I read this as ‘yikes!! My dad hates better when you upload’

    • @Vladimir2500
      @Vladimir2500 5 years ago

      @@ThankNephew same

    • @barkeeperandnotyourpsychol6389
      @barkeeperandnotyourpsychol6389 5 years ago +1

      @@Vladimir2500 Yup, me too xD
      But I actually just had the dad problem, not the yikes dad problem
      This sounds awkward...

  • @raz0229
    @raz0229 5 years ago +102

    Next Video: _AI learns to rob a bank!_

    • @danielzglackin
      @danielzglackin 5 years ago

      (AI learns how to avoid a cloaker!)

    • @samuelr.6046
      @samuelr.6046 5 years ago

      Ai learns thermal Dynamics and heat syncing missles.

  • @bagel8284
    @bagel8284 Year ago +1

    This is the most Code Bullet Code Bullet video

  • @glitchy_weasel
    @glitchy_weasel 5 years ago +312

    That's awesome!
    I have a question: can the AI drive arround through a different track? I mean, does training in one track can improve its performance in another track with a different layout?

    • @gabemerritt3139
      @gabemerritt3139 5 years ago +16

      It would be like a a new game really, the first new track would be like it's very first run, its second only slightly easier but given enough tracks assuming it doesn't get stuck would mean it should learn to do any track with enough time

    • @scaevolla719
      @scaevolla719 5 years ago +58

      Actually, it seems that this AI has no concept of a track as whole. It only knows of its current sensor states and is completely oblivious even to the fact that track is looped. So if you build a new track from the elements of this one in different order, it would probably ace it as well. For every new element of track you add, say zig-zag pattern, it would need a few (hundreds?) tries to learn it. But "track" as "single looped route" doesn't have that many different elements actually. So it wouldn't be long until it learns all of them.

    • @TheScarvig
      @TheScarvig 5 years ago +16

      @@scaevolla719 well best way to try would be crowdsourcing the computation time by releasing the ai as a black box into the public and feeding it many different tracks.
      hell maybe even make a sport out of it and give people a very basic ai for perfectly circular tracks and the means to create their own tracks and let them train their own ais. a week later we pitch them against each other on the same randomly chosen track and see which has the best lap time 🤔

    • @scaevolla719
      @scaevolla719 5 years ago +6

      @TheScarvig The AI Cups are already a thing. I don't have examples in english, but even here in Russia, there is a pretty big annual online championship, which involves creating AI for tasks of similar complexity: I remember them having similar track driving task one year and NES Battle City-like task in other year. I am pretty sure, that other countries must have similar championships as well.

    • @CloudCastsAlanSmith
      @CloudCastsAlanSmith 5 years ago +8

      I have built similar self-driving game AIs , and they usually handle different tracks very well, as long as the turns are similar. Using an AI trained on a Nascar track would suck on a Formula 1 track, as it would not know how to turn right :-).

  • @Xnoob545
    @Xnoob545 5 years ago +41

    "I'm clean now"
    **literally 2 seconds later**
    "Shit"

  • @gurpremsingh
    @gurpremsingh 5 years ago +696

    So now AI can drift downhill on the Akina pass?!

    • @incompetencelogistics8924
      @incompetencelogistics8924 5 years ago +22

      N A N I

    • @TheEborden
      @TheEborden 5 years ago +47

      I think you mean AE

    • @thefrenchiestfry5495
      @thefrenchiestfry5495 5 years ago +18

      @@TheEborden underrated comment, 99% probably wont get it

    • @marxel4444
      @marxel4444 5 years ago +7

      i mean,its the same with takumi isnt it? only that he rlly rlly now what a car is and that is rlly rlly bad to hit the railguard or a wall.

    • @gurpremsingh
      @gurpremsingh 5 years ago +9

      @@TheEborden Ah I see, you are a man of culture.