A.I. Learns to play Snake using Deep Q Learning

Can an AI learn to play the perfect game of Snake?
Huge thanks to Brilliant.org for supporting this channel, check them out: www.brilliant.org/CodeBullet
Twitter: / code_bullet
Patreon: / codebullet
Discord: / discord
Art created by @Dachi.art / dachi.art

Пікірлер: 9 400

  • @cameronschiralli3569
    @cameronschiralli35694 жыл бұрын

    "It'll not take 3 months" Top 10 anime betrayals

  • @Choro3160

    @Choro3160

    4 жыл бұрын

    And thats a fact

  • @falontani

    @falontani

    4 жыл бұрын

    Oof

  • @karaal-buwaiqi8132

    @karaal-buwaiqi8132

    4 жыл бұрын

    Sadly it's TRUE

  • @jakerhodes2105

    @jakerhodes2105

    4 жыл бұрын

    cameron schiralli probably a new season of Brooklyn 9-9

  • @andykilpa

    @andykilpa

    4 жыл бұрын

    Only if it was four months

  • @ffttossenz
    @ffttossenz4 жыл бұрын

    2:30 CB: hey artist can u draw my avatar for coding videos Artist: sure what poses do u need? CB: punching Artist: why would u need that for a programming video CB: with both hands

  • @puffel8145

    @puffel8145

    4 жыл бұрын

    @@firestar9650 how could this be a nazi Joke?

  • @P.cookie

    @P.cookie

    4 жыл бұрын

    CB: Oh! And one with a pistol. Artist: hoW IS THAT CODING RELATED???

  • @puffel8145

    @puffel8145

    4 жыл бұрын

    @@P.cookie CB: IT'S FOR PUNISHING MY AI!!!!! Artist:......o....ok...

  • @tlkfanrwbyfan8716

    @tlkfanrwbyfan8716

    4 жыл бұрын

    Am I going to hit you with my left or my right fist? All of I could think of

  • @nickthecherryking682

    @nickthecherryking682

    4 жыл бұрын

    @Firestar how do you even pull goddamn *Nazis* from "draw my guy punching for programming videos"? it's a joke about the artist being concerned why someone needs to punch for programming videos, it's not that hard

  • @Chocice75
    @Chocice754 жыл бұрын

    "It will not take three months." Four months later...

  • @marekmiarka8550

    @marekmiarka8550

    4 жыл бұрын

    Wow, 21 likes in one day. There must be a lot of people waiting for him to make a new video

  • @lithuanianinbound589

    @lithuanianinbound589

    4 жыл бұрын

    @@marekmiarka8550 and youre one of them.

  • @axmoylotl

    @axmoylotl

    4 жыл бұрын

    @@lithuanianinbound589 we all are one of them on this blessed day

  • @tylerchew3732

    @tylerchew3732

    4 жыл бұрын

    Technically it hasn’t been 3 months (but 4)?

  • @SwBruh

    @SwBruh

    4 жыл бұрын

    Code bullet is pulling a ceeday

  • @pyren4931
    @pyren49314 жыл бұрын

    Code bullet 3 months ago: "it will not take 3 months" Me after 3 months: "lmfao"

  • @redion8575

    @redion8575

    4 жыл бұрын

    Pyren 4 months

  • @owenlok2325

    @owenlok2325

    4 жыл бұрын

    Sure bud.

  • @chris86simon

    @chris86simon

    4 жыл бұрын

    I need to change my bank.

  • @guicky_

    @guicky_

    4 жыл бұрын

    i mean... he wasnt wrong, it took 5 months...

  • @chengaming8120
    @chengaming81204 жыл бұрын

    "It wont take 3 months, Im thinking a couple of weeks max" - Code bullet before not uploading for 3 months

  • @lithuanianinbound589

    @lithuanianinbound589

    4 жыл бұрын

    @@samuelbowling9530🤨 I was searching aswell what a coincidence🤨

  • @carlsonproductions1811

    @carlsonproductions1811

    4 жыл бұрын

    wowwwwww

  • @sychoecho9497

    @sychoecho9497

    4 жыл бұрын

    Can you make a AI that can make more AI videos than you

  • @Melinstri

    @Melinstri

    4 жыл бұрын

    Only 2 months!! In oktober its gonna be 3 months!! So in 5 days xD

  • @lithuanianinbound589

    @lithuanianinbound589

    4 жыл бұрын

    @@sychoecho9497 that a great idea!

  • @danibuchanan3978
    @danibuchanan39784 жыл бұрын

    Somewhere, Code realizes he could've just made the head green.

  • @thebestnerd4444

    @thebestnerd4444

    4 жыл бұрын

    I already suggested that. like 4 months ago

  • @kevinwells9751

    @kevinwells9751

    4 жыл бұрын

    That was my first idea, and yet here we are with this shitshow of an AI lol

  • @marventhedepressedrobot4656

    @marventhedepressedrobot4656

    4 жыл бұрын

    Four months ago

  • @davidparker7974

    @davidparker7974

    4 жыл бұрын

    Sounds like that would be.............. For pussies

  • @exa4564

    @exa4564

    4 жыл бұрын

    @@kevinwells9751 if you say, the thing he did is a shitshow, then make an AI yourself and programm the game, let it learn...... i am waiting for you to upload such a video, where you make it bether than him ;)

  • @thomasbrennan1881
    @thomasbrennan18814 жыл бұрын

    He’s right it didn’t take 3 months. We’re on 4.

  • @Qazsnivy

    @Qazsnivy

    4 жыл бұрын

    Next is 1 year

  • @tastychunks

    @tastychunks

    2 жыл бұрын

    @@Qazsnivy You have no idea how right you were

  • @dominicward4723
    @dominicward47234 жыл бұрын

    What if he actually died and we’re just sitting here making fun of him for not being able to upload within three months

  • @romanobaumann7158

    @romanobaumann7158

    4 жыл бұрын

    holy fuck dont fukcking scare me

  • @eeeeee8762

    @eeeeee8762

    4 жыл бұрын

    Would be funny

  • @money_fiery444

    @money_fiery444

    4 жыл бұрын

    He was in uni so he couldn’t upload but it’s done now and he’s editing a video

  • @tiffanyjaworski2942

    @tiffanyjaworski2942

    4 жыл бұрын

    Dominic Ward I thought the same thing

  • @elin9217

    @elin9217

    4 жыл бұрын

    It was the fbi this is his clone making this vid

  • @matthewmcwane9569
    @matthewmcwane95694 жыл бұрын

    “I’m as stubborn as I am lazy” ~ Code Bullet Relatable

  • @mayomonkey7822

    @mayomonkey7822

    4 жыл бұрын

    very stubborn.

  • @yinyang1217

    @yinyang1217

    4 жыл бұрын

    very lazy.

  • @lunalyzi

    @lunalyzi

    4 жыл бұрын

    Slazy

  • @Azuuulaaaa

    @Azuuulaaaa

    4 жыл бұрын

    @Daedric Skyrim Same omggg

  • @ILikeEatingChicken

    @ILikeEatingChicken

    4 жыл бұрын

    *Relatable* How i did it: * Relatable * *Relatable*

  • @dylbanyeah
    @dylbanyeah4 жыл бұрын

    This ended up being a snake version of a dvd screensaver hitting the corner

  • @hashirama1507

    @hashirama1507

    4 жыл бұрын

    RavenCrow only reply

  • @crimsonclaw6337

    @crimsonclaw6337

    4 жыл бұрын

    @@hashirama1507 that's not treu

  • @hashirama1507

    @hashirama1507

    4 жыл бұрын

    :((((

  • @danielstein3659

    @danielstein3659

    4 жыл бұрын

    enjoyed all 5 myself :))))) @Andres Lorenzo

  • @stylis666

    @stylis666

    4 жыл бұрын

    @@danielstein3659 I didn't, but I'm also not 12 years old anymore so I suppose I'm old and bitter.

  • @raiynen
    @raiynen4 жыл бұрын

    "What is my purpose" You play snake.

  • @rhys1084

    @rhys1084

    4 жыл бұрын

    Oh my god

  • @bals1632

    @bals1632

    4 жыл бұрын

    Welcome to the club, pal.

  • @gidothings8256

    @gidothings8256

    3 жыл бұрын

    Rick and Morty very nice

  • @FatedHandJonathon
    @FatedHandJonathon2 жыл бұрын

    If you rotate the frame you feed the machine so that the snake is always facing upwards, you effectively quadruple your training data by allowing the snake to treat isomorphic game states as identical. It'd take a little work to correctly rotate it, then rotate the output, but the savings in training time would probably be worth it.

  • @Sanguine-Tenshi
    @Sanguine-Tenshi4 жыл бұрын

    "I'm as stubborn as I am lazy." uf, i felt that, i felt that on a spiritual level

  • @Nomadic_Inquisitor

    @Nomadic_Inquisitor

    4 жыл бұрын

    Not a #MeToo but me too :3

  • @fraupfefferschote3663

    @fraupfefferschote3663

    4 жыл бұрын

    Yap, me too...

  • @bhk6091
    @bhk60914 жыл бұрын

    I have an idea You should put a time limit for the snake to find the apple So it can find the most efficient way to find the apple and to prevent it from doing shit over and over again without finding the apple

  • @kyraaa__

    @kyraaa__

    4 жыл бұрын

    Good idea!

  • @theboman4816

    @theboman4816

    4 жыл бұрын

    Not gonna work i guess. if the snake is to long this will kill him most of the time lmao

  • @jessenxxx

    @jessenxxx

    4 жыл бұрын

    @@theboman4816 i mean u can extend the time by how long he is aka each block give it 5 more seconds or something but in end even then time scaling a need to be adjusted muply times or b it probbaly wont work

  • @theboman4816

    @theboman4816

    4 жыл бұрын

    @BlazePlayz YT yea but in the end there are still chance it will kill itself :D

  • @skncl9859

    @skncl9859

    4 жыл бұрын

    @@jessenxxx floor(8 + 0.2b)? I can't remember what length the snake starts, should give 8s to find the apple to begin

  • @Evelaraevia
    @Evelaraevia4 жыл бұрын

    "Won't take 3 months" 9 days before it hits the 4 month marks.

  • @eicikle1809

    @eicikle1809

    4 жыл бұрын

    He never said that it wouldn't take longer than 3 months though, so technically he's still right

  • @Rotrokas
    @Rotrokas4 жыл бұрын

    Why not giving him a reward base on the time between eating apples?.

  • @nightniro131

    @nightniro131

    4 жыл бұрын

    It's been 4 months... RIP

  • @athousandyearoldfossil5059

    @athousandyearoldfossil5059

    4 жыл бұрын

    Because if you go straight into the apples you could accidentally run into itself because it's trying to get there as fast as possible and won't realize where it's body is until it hits it because it's not focusing on that.

  • @yourmomgayyourdadlesbian9051

    @yourmomgayyourdadlesbian9051

    4 жыл бұрын

    A Thousand Year Old Fossil negative punishment

  • @DawnAfternoon

    @DawnAfternoon

    2 жыл бұрын

    A far enough game encourages you to take the longest time/route possible to get to the Apple, that is, to fill up the whole screen with their body before going for the Apple A time-based reward would be very counterintuitive to that

  • @EngineScypex

    @EngineScypex

    2 жыл бұрын

    @@DawnAfternoon That highly depends. I'd say the key is to store some values and modify them constantly. As for the video the AI doesn't have any memory. But it needs some memory values to adopt it's strategies better. Example: You can count the amount of apples the AI got. Just decrease the time-reward every few apples and the AI will be more aggressive at start and more careful later.

  • @someauzzie9139
    @someauzzie91394 жыл бұрын

    "It will take a couple of weeks." Another 3 months later.

  • @theaureliasys6362
    @theaureliasys63624 жыл бұрын

    1. Punish for going too long without an apple. 2. Recurring. Yes. I dared saying that.

  • @potato_hoarder

    @potato_hoarder

    4 жыл бұрын

    like a -1 punishment for every move, + 99 when he gets the apple.

  • @niezbo

    @niezbo

    4 жыл бұрын

    @@potato_hoarder I ifnd it problematic. If snake, at some point, will have to travel more than 100 blocks, wouldn't it lose points therefore perform worse?

  • @jhonnythejeccer6022

    @jhonnythejeccer6022

    4 жыл бұрын

    Niezbo yea, maybe calculate how many blocks a snake in average would need to travel to hit an apple And if its over 1.5 or 2 times this average (bc ai are dumb) let it loose points

  • @theaureliasys6362

    @theaureliasys6362

    4 жыл бұрын

    @@niezbo it would still be better than continually wandering around without getting the apple: remember it has no other choice but to move.

  • @mpradeepnair

    @mpradeepnair

    4 жыл бұрын

    What do you mean by 'Recurring'?

  • @wrillwastaken
    @wrillwastaken4 жыл бұрын

    "I won't die for 3 months" Dies for 4 months.

  • @Botpointo
    @Botpointo4 жыл бұрын

    A Day in The Life of Code Bullet: Wake Up Coffee Crying Doritos Coffee Working on his number addiction Doritos More Coffee Coding Doritos Even More Coffee Sleep

  • @SquooshyCatboy

    @SquooshyCatboy

    3 жыл бұрын

    Sounds like hes more of a coffee addict honestly

  • @duncannonnn4259

    @duncannonnn4259

    3 жыл бұрын

    The last one is wrong he doesn’t sleep

  • @DoubleE5135

    @DoubleE5135

    3 жыл бұрын

    @@duncannonnn4259 Yeah he’s a uni student he has no clue what sleep is

  • @jvpro2076

    @jvpro2076

    3 жыл бұрын

    make a game of this

  • @wolfy9011

    @wolfy9011

    3 жыл бұрын

    K

  • @KatKitKay
    @KatKitKay4 жыл бұрын

    I love how the snake just randomly decides to be a squiggly boi sometimes

  • @TheTallOne890

    @TheTallOne890

    4 жыл бұрын

    No your not your just a squiggly boy

  • @sleepydevilz

    @sleepydevilz

    4 жыл бұрын

    he squiggle he squirm he a big fat worm

  • @pUteRIsms_

    @pUteRIsms_

    4 жыл бұрын

    Mcdoggo In cape SAME

  • @masternobody1896

    @masternobody1896

    4 жыл бұрын

    Can you make a game easy and bug free

  • @masternobody1896

    @masternobody1896

    4 жыл бұрын

    Make a fortnite ai smart

  • @oliverganski3509
    @oliverganski35094 жыл бұрын

    AI:what is my purpose CB: you eat apples AI: oh my god

  • @yeetyeet-jb6nc

    @yeetyeet-jb6nc

    4 жыл бұрын

    Ywuhhly ywuhhly ywoh Ywoh nottt jwoooh you lithuaniaaaan speeekaeeeerre

  • @oliverganski3509

    @oliverganski3509

    4 жыл бұрын

    yeet yeet can you translate this to English

  • @yeetyeet-jb6nc

    @yeetyeet-jb6nc

    4 жыл бұрын

    I just wrote how your name is pronounced in the international phonetic alphabet

  • @oliverganski3509

    @oliverganski3509

    4 жыл бұрын

    yeet yeet ok, but if I do wanna read it right, flip ur head upside dowb

  • @oliverganski3509

    @oliverganski3509

    4 жыл бұрын

    yeet yeet also, do you get my Rick and morty reference

  • @JambaYCS
    @JambaYCS4 жыл бұрын

    "it definitely won't be 3 months" Me 3 months later: bruh

  • @breawen

    @breawen

    4 жыл бұрын

    Heyy

  • @CrabOnABeach

    @CrabOnABeach

    4 жыл бұрын

    4...

  • @oswaldii3258

    @oswaldii3258

    4 жыл бұрын

    its ok he just needed to grab some milk

  • @archanamotagi1675
    @archanamotagi16754 жыл бұрын

    "It will definitely not take 3 months" -- *Code Bullet 4 months ago*

  • @mitchelljulius5875
    @mitchelljulius58754 жыл бұрын

    Me: "Oh he's still alive." CB: "Yeah, I'm still alive." Lmao

  • @jamesgockel854

    @jamesgockel854

    4 жыл бұрын

    He's going to create an AI that ends up killing him. I just know it, not that I want that to happen.

  • @echelon5162

    @echelon5162

    4 жыл бұрын

    @@jamesgockel854 Shh... don't tell him.

  • @Bobbingtonn

    @Bobbingtonn

    4 жыл бұрын

    I had to double check i wasn't seeing things

  • @cyclus_gaming

    @cyclus_gaming

    4 жыл бұрын

    James Gockel why are you checked??

  • @Wunderboy08

    @Wunderboy08

    4 жыл бұрын

    @@cyclus_gaming he's verified I think

  • @cerealenjoyer3000
    @cerealenjoyer30004 жыл бұрын

    idea: punish it whenever it takes more than 20 seconds to find the apple

  • @CyseRev

    @CyseRev

    4 жыл бұрын

    @Notabotatall _ 27 Correct

  • @jamesshiervlogs2613

    @jamesshiervlogs2613

    4 жыл бұрын

    That’s the idea I had it would make it have a way better way of searching

  • @ambitsamb

    @ambitsamb

    4 жыл бұрын

    Or just make it to where the apple is always in it's vision? Like if the apple is out of the snake's field of view, make a separate field for the apple?

  • @zeebzeebo

    @zeebzeebo

    4 жыл бұрын

    @Notabotatall _ 27 WTF is "ceying" ?!

  • @corosso8820
    @corosso88204 жыл бұрын

    I can’t believe you’re still SO underrated after all these years

  • @BarioIDL

    @BarioIDL

    2 жыл бұрын

    *that's what she said*

  • @chknnuggies
    @chknnuggies4 жыл бұрын

    This guy is really out her taking something mind-boggling boring to watch (I.e. coding) and making it entertaining, somewhat educational, and funny. Definitely worth a sub

  • @vincentnicholson3946
    @vincentnicholson39464 жыл бұрын

    “There’s no way it could take me 3 months” - Codebullet, 3 months ago.

  • @peracality7648

    @peracality7648

    4 жыл бұрын

    "Theres no way it could take me 3 months" - Codebullet *1 year ago*

  • @shireenakter4409

    @shireenakter4409

    4 жыл бұрын

    I mean, he died in the accident, so it makes sense

  • @pentabitsmusic

    @pentabitsmusic

    4 жыл бұрын

    4 months ago

  • @danke8945
    @danke89454 жыл бұрын

    “How long has it been?” “THREE MONTHS?!?” Who else thinks this is just going to be his intro for the next video

  • @spino1526

    @spino1526

    4 жыл бұрын

    It has been 3 months -.- so yeh kinda annoying 4 no vids

  • @redion8575

    @redion8575

    4 жыл бұрын

    It's 4 months

  • @modle4108

    @modle4108

    4 жыл бұрын

    Caden Allison what are you wooooshing?

  • @K4LxMaddog

    @K4LxMaddog

    4 жыл бұрын

    @@opponentbacon R/YouAreStupid

  • @scoliosis8264

    @scoliosis8264

    4 жыл бұрын

    Well guess who is right...

  • @BountyHunterLetsPlaysOnGoogle
    @BountyHunterLetsPlaysOnGoogle4 жыл бұрын

    "It definitely wont take three months, you can bank on that." My house would have been foreclosed by now then.

  • @fredb5626
    @fredb56263 жыл бұрын

    honestly bro - Ive been watching your channel for a while, and it makes me laugh so much - Its a wonder break for me from my own code

  • @oliversmith9966
    @oliversmith99664 жыл бұрын

    well programming + animations just screams out long video release dates so you dont need to apologize, we know what we subscribed to edit: also code bullet, why dont you make the head of the snake a different color so the bot will know where the head is and you can make it see the hole screen!

  • @weblure

    @weblure

    4 жыл бұрын

    What animations? These are premade images being swapped out and, at most, being manipulated with basic 2D transforms on whatever editor he uses.

  • @klcompany7303

    @klcompany7303

    4 жыл бұрын

    Weblure Joltik still has too draw

  • @edselcervantes6229

    @edselcervantes6229

    4 жыл бұрын

    @@weblure still counts as animating

  • @frick3256

    @frick3256

    4 жыл бұрын

    They’re premade and not by him

  • @weblure

    @weblure

    4 жыл бұрын

    @@klcompany7303 No; he did not draw them.

  • @jaloveast1k
    @jaloveast1k4 жыл бұрын

    It feels like the natural selection algorithm should have taken in account time, if snake doesn't find next apple in X * 3 + 50 (just an example) steps.. then it "dies", where the X is the current length of snake, since longer the snake harder it is to navigate on the board. In your case, where time is "infinite" you just ended up with a safe snake that doesn't focus on searching, only avoiding obstacles and occasionally picking up these goddam apples. This also would have improved the learning speed, with all the procrastination snakes getting killed right away ¯\_(ツ)_/¯

  • @blueraspberrylemonade32

    @blueraspberrylemonade32

    4 жыл бұрын

    Justice and honor glad I'm not the only one

  • @rileyzanatta7664

    @rileyzanatta7664

    4 жыл бұрын

    it's not a natural selection algorithm, it's q learning.

  • @derrilazkia1002

    @derrilazkia1002

    4 жыл бұрын

    When the snake is too long, it needs to kinda "fold" or "sort" itself before eating apple to avoid collision with its body right? Maybe the time will need to be extended as the snake goes longer ?

  • @rb1471

    @rb1471

    4 жыл бұрын

    Yes he should add time. You can just add time to the feedback (reinforcement learning) of Q-learning. EX) The snake get's the apple in X steps. 2. If X > 10, punish the AI by some function of X points. 3. If it dies, punish it. 4. If it gets the apple, give it a reward. The snake would be incentivized to get the apple in a timely manner since it gets punished depending on the amount of time wasted. Here 10 is just the number of steps before we consider it to be wasting time. Here you would need to balance how much punishment it gets on death vs wasted time. --------- Other ways to improve learning is to give the snake a better sense of its surroundings. Both the boxed region and the simplified region force the snakes vision down significantly. How to fix this: 1. -> One way would be to feed the whole screen to the snake and call it a day. This is slow (as we found out) so not really realistic. You can improve this by using a CNN. This would use a "window" and scan it along all the positions. In other words, instead of feeding all w*h inputs, we can scan 7x7 windows along the board with the same "network". Since it's the same network scanning, we just need to build a network for 42 inputs rather than w*h inputs. This would allow for a much smaller network size and significantly speed up training. 2. -> Another way without using complex networks would be to feed the network with "interesting" points. All the unused space is really not needed. So we can feed the network a few things: The apple, the borders of the game and finally the snake body. You can actually do better than this and get rid of more useless information. For example we can reduce the border to 4 corners (we don't need all the squares connecting the borders). Even better than this, just provide the height / width of the game (no need to give (0, 0), (h, w), (h, 0), (0, w) when we just need h and w). On top of that, we don't need to give the entire snake body to the AI. We just need the head position, tail position, and all the positions of "bends" in the snake from previous turns. The rest of the snake can be assumed by the AI. The only problem now is that the snake size is dynamic (can be 3 bends, or 150 bends). The network cannot change the number of inputs without more complex code (such as an RNN). So we can fix this by assuming a max number of "bends" like 50. This way we fill in the bends as inputs to the network and put 0's for the unused portions. We can have the code kill the snake if it surpass the max number of bends and use that as another reinforcement punishment for the AI, basically teaching it to limit the number of turns it makes. Now the number of inputs are 1 apple + 2 for borders + 50 bends + 1 head + 1 tail = 55 inputs. We also have feedback on getting the apple, getting the apple in time, death, and the overall efficiency (number of turns made, which was maxed out at 50). Training should go by much much faster with a lot more improvement given the different feedback and FULL visibility. We can even expand the network to a much larger size to really learn some techniques.

  • @Cacoiaaa

    @Cacoiaaa

    4 жыл бұрын

    I'm no coder, but wouldn't that be pretty ineffective, since the apple begins in different places. It would try to go in the direction of the first trial's apple, but it wouldn't be able to find randomized apples

  • @mrmunch5615
    @mrmunch56154 жыл бұрын

    “I’m still alive!” Three months later… Bruh 😂

  • @nightniro131

    @nightniro131

    4 жыл бұрын

    All comments are how he has taken more than 3 months

  • @nightniro131

    @nightniro131

    4 жыл бұрын

    You have no videos or 10k subs I've been duped

  • @MystearicaClaws
    @MystearicaClaws2 жыл бұрын

    I love binging your stuff because you go from polite and funny text to being the mostile hilariously hostile creative in a snap XD

  • @Wizzkidwas
    @Wizzkidwas4 жыл бұрын

    7:43 "You'd either call a doctor, or an exorcist" had me dying laughing

  • @Wizzkidwas

    @Wizzkidwas

    4 жыл бұрын

    oh whoops, fixing that typo

  • @NecromancerHD
    @NecromancerHD4 жыл бұрын

    *_Who else would legitamitely love a Livestream of Adrian's training?_*

  • @rumfordc

    @rumfordc

    4 жыл бұрын

    who is adrian?

  • @rumfordc

    @rumfordc

    4 жыл бұрын

    @@marley7776 oh my b

  • @Eliswap

    @Eliswap

    4 жыл бұрын

    YES

  • @bastion212

    @bastion212

    4 жыл бұрын

    I'm Adrian

  • @TheVexCortex

    @TheVexCortex

    4 жыл бұрын

    @@bastion212 But can you play 20,000 games of snake in a row with no breaks?

  • @AshtonianGaming
    @AshtonianGaming4 жыл бұрын

    could you just not have made the head of the snake a different color? like, purple, or something?

  • @mega-nuke1587
    @mega-nuke15874 жыл бұрын

    I love his pure joy and enthusiasm when making this video it was brilliant

  • @NathanTheMan
    @NathanTheMan4 жыл бұрын

    I named him Adrian **2 seconds later** ADRIAN WHAT THE F

  • @903strikerunit

    @903strikerunit

    4 жыл бұрын

    09:00

  • @JorgetePanete

    @JorgetePanete

    4 жыл бұрын

    You forgot the question mark.

  • @adrianradu8428

    @adrianradu8428

    4 жыл бұрын

    DID A BROTHER CALL MY NAME, FOR THE EMPEROR

  • @yinyang1217

    @yinyang1217

    4 жыл бұрын

    @@adrianradu8428 yesh

  • @Webton462

    @Webton462

    4 жыл бұрын

    Adrian Radu I AM HERE TOO BROTHET

  • @psychopiper8224
    @psychopiper82244 жыл бұрын

    things that make you go hmmmmm: "won't take three months"

  • @Tytoalba777

    @Tytoalba777

    4 жыл бұрын

    Nah mate, it'll take four months

  • @weaponmaster4157

    @weaponmaster4157

    4 жыл бұрын

    @@Tytoalba777 my bet's on 5

  • @sergiogaming1191

    @sergiogaming1191

    4 жыл бұрын

    Na i think It'll be 1 years

  • @_jakeng_1086

    @_jakeng_1086

    4 жыл бұрын

    Nah my bet is never

  • @zom6046

    @zom6046

    4 жыл бұрын

    He'll be back, he always comes back.

  • @pewdular
    @pewdular3 жыл бұрын

    youtube recommended me this exactly a year after it was made

  • @PsionicNoMad
    @PsionicNoMad4 жыл бұрын

    How have I never seen your stuff yet. This is amazing :D

  • @specyboy9054
    @specyboy90544 жыл бұрын

    Next you should try and do: AI CREATES REGULAR UPLOADING SCHEDULE!!!

  • @sebastianrogowski9935

    @sebastianrogowski9935

    4 жыл бұрын

    Yeah, we're all waiting!

  • @jorandebraekeleer7557

    @jorandebraekeleer7557

    4 жыл бұрын

    Spicy

  • @Nomadic_Inquisitor

    @Nomadic_Inquisitor

    4 жыл бұрын

    Lol

  • @weirdlonelyguy3430

    @weirdlonelyguy3430

    4 жыл бұрын

    1 vid every leap day lmao

  • @waypastcool5788

    @waypastcool5788

    4 жыл бұрын

    I don't think we should give him shit, i mean, these videos are pretty hard to make. Have YOU ever coded a game from scratch with the pressure of the expectation from millions of people?

  • @archanamotagi1675
    @archanamotagi16754 жыл бұрын

    Theory: Code bullet is taking so long because he's still secretly working on the Enigma decoder

  • @HDTomo

    @HDTomo

    3 жыл бұрын

    Yes

  • @pug8714

    @pug8714

    2 жыл бұрын

    Dancing animations are more important

  • @sontath7102
    @sontath71024 жыл бұрын

    been about 3 months, must mean that mr. code bullet must be starting on his next project. HYPE!

  • @brennanchapman2384
    @brennanchapman23844 жыл бұрын

    Code bullet: “it will not take 3 months” Me after four months: so that was a f*cking lie

  • @satka9481

    @satka9481

    4 жыл бұрын

    No it isn't. I didn't take 3 months. It's taking more

  • @Ronald_McAura

    @Ronald_McAura

    4 жыл бұрын

    *AC Unity flashbacks*

  • @owenmclaughlin280
    @owenmclaughlin2804 жыл бұрын

    As a suggestion, maybe punish him if he goes to long without finding food. So he can't get caught in a loop. Edit: oh wow, this blew up a bit more than I expected. @skeletalZ @Alex.Doan @Ian and @Jonathan.Yang have my favorite suggestions. I feel like a mix between my suggestion, @skeletalZ 's suggestion, and @Alex.Doan 's suggestion could work really well. But at the same time, a mix of @Ian 's suggestion and @Jonathan.Yang 's should work really well too.

  • @evanjames575

    @evanjames575

    4 жыл бұрын

    Owen McLaughlin issue with that is if the snake is too dumb to find the food, it doesn’t have any other option. So punishing it won’t result in anything.

  • @jeffvader811

    @jeffvader811

    4 жыл бұрын

    That would be against his animal rights >:(

  • @jonathanyang1423

    @jonathanyang1423

    4 жыл бұрын

    This can be done with the use of a discount factor

  • @robertodelier9999

    @robertodelier9999

    4 жыл бұрын

    Hmm Maybe a timer based on the snake size

  • @cadmallard

    @cadmallard

    4 жыл бұрын

    Owen McLaughlin and a reward for finding the food in that time limit

  • @NorseGraphic
    @NorseGraphic4 жыл бұрын

    "I'm as stubborn as I'm lazy....." -Code Bullet 2019

  • @variantfromadistantplace5636

    @variantfromadistantplace5636

    4 жыл бұрын

    Skeptisk so Stubbornly lazy

  • @hooodini3322

    @hooodini3322

    4 жыл бұрын

    same

  • @nk361
    @nk3614 жыл бұрын

    The video and idea is all great! I just wanted to give a little input that may help. Give the snake the coordinates to the apple and let it figure out the direction to move and such since that's sorta what we determine with our eyes. Also, training the snake wise you might want to train it to play mostly when it has a long tail since that is when the game is hardest and needs a specific behavior of planning not to run into itself. Hope that helps a bit! Oh and for the direction the snake is going, you could maybe cheat and make the head a different color for it then later on change it back to white and have it train more on the existing weights.

  • @glo8516
    @glo85164 жыл бұрын

    Wow thanks for not taking 3 months! *IT'S TAKING MORE*

  • @superspol
    @superspol4 жыл бұрын

    As a fellow Adrian speaking, he did better at snake than I ever could.

  • @adrianremo1988

    @adrianremo1988

    4 жыл бұрын

    Fellow Adrian here to humbly agree.

  • @bastion212

    @bastion212

    4 жыл бұрын

    Fellow adrian is calling bs

  • @buckiez

    @buckiez

    4 жыл бұрын

    Not Adrian here to ruin the Adrian reply chain

  • @gregoryderpwrld111

    @gregoryderpwrld111

    4 жыл бұрын

    MrCinch ok Shepard

  • @adrianremo1988

    @adrianremo1988

    4 жыл бұрын

    @@buckiez Other Adrian to complain about the sudden loss in the Adrian snake chain. How are we gonna succeed in the snake game and appease the Q Gods if you cut the Adrian snake off like this?

  • @beauvoirferril
    @beauvoirferril4 жыл бұрын

    Looks like he found a way to clone himself. If he can do that, he can definitely do this.

  • @Sleepy_Cabbage

    @Sleepy_Cabbage

    4 жыл бұрын

    @5dope ayy

  • @Oxmond
    @Oxmond4 жыл бұрын

    Q: What do you call a snake that only eats desert? A: A pie-thon! 😂🤣

  • @vexiity9115

    @vexiity9115

    3 жыл бұрын

    *GET OFF THE STAGE*

  • @elzar5987

    @elzar5987

    3 жыл бұрын

    Chicken pie. gotem

  • @australiankappa8123

    @australiankappa8123

    3 жыл бұрын

    that's just not funny.. and the emojis make it even worse..

  • @lividman2372

    @lividman2372

    3 жыл бұрын

    Booo! Oh brother this guy STINKS!

  • @vexiity9115

    @vexiity9115

    3 жыл бұрын

    @@lividman2372 hehe thx for finishing my meme

  • @badyoutuberadrian5724
    @badyoutuberadrian57244 жыл бұрын

    When he said the name Adrian I'm like HOW DID HE KNOW MY NAME then he's like I named it that and now every time I hear Adrian I'm like wassup

  • @urban_ghost_5226
    @urban_ghost_52264 жыл бұрын

    Change the color of the head - Everyone in the comment, 2019

  • @creeperlamoureux

    @creeperlamoureux

    4 жыл бұрын

    Lol

  • @AnnihilatedBrainsample

    @AnnihilatedBrainsample

    4 жыл бұрын

    My idea too. Give it a head, and now the AI knows which way the snake is facing. And now it could see the whole screen.

  • @MrRolnicek

    @MrRolnicek

    4 жыл бұрын

    "How can the AI know where the head of the snake is" Me: "Tell it" CB: "Shit ... my solution is way more complicated"

  • @weblure

    @weblure

    4 жыл бұрын

    The head was only a minor problem. The bigger problem was that the AI had too many inputs, which is why he shrank its vision range. This just happened to solve the problem of knowing where the head was, which was a bonus.

  • @nils2711

    @nils2711

    4 жыл бұрын

    not a different color, give him a cute face :D

  • @ItIsJum
    @ItIsJum4 жыл бұрын

    KZread: is that a gun KZread: DEMONITIZED

  • @yinyang1217

    @yinyang1217

    4 жыл бұрын

    domonetized*

  • @GrandElderTurtle

    @GrandElderTurtle

    4 жыл бұрын

    He's 1 step closer to making scp-079

  • @coopb0751

    @coopb0751

    4 жыл бұрын

    Yin Yang ?

  • @kimbisdoes115
    @kimbisdoes1152 жыл бұрын

    3 months? Try 13

  • @fierylion3434

    @fierylion3434

    28 күн бұрын

    And so he did

  • @kevinsantos5050
    @kevinsantos50504 жыл бұрын

    So I'm new to the channel and I like the idea of using the whola map for the snake to see. What I notice is that after snake is bigger that the "sight" box it will have high chance to eat itself cuz it doesn't remember the position of his body and will box itself. What I would suggest is to use the whole map as you intended but you couls change the color of the head like so it knows where the head is(sometimes the simplest solution are the right ones ;) You could also try putting a starvation timer to motivate the snake to go eat. I'll look forward to your next video

  • @Gemini-Lion
    @Gemini-Lion4 жыл бұрын

    I was think this for the problem of where the head is: Make the head a different color than the apples and rest of the body. Maybe like a blue or something?

  • @philiphunt-bull5817

    @philiphunt-bull5817

    4 жыл бұрын

    Yeah, that was the most obvious solution.

  • @mattsekira5536

    @mattsekira5536

    4 жыл бұрын

    I was thinking of that as well and waiting to see it implemented. It can see the whole screen so it always knows where the apple is, it knows where it’s head is, and it does that all with one frame of 1600 pixels.

  • @LemonChieff

    @LemonChieff

    4 жыл бұрын

    It’s actually way less efficient. You’d need to check all the sample until you find the head and only then look at the 4 adjacent pixels to know the direction. With his method you skip the looking for the head part, it’s always in the same place

  • @adammullarkey4996

    @adammullarkey4996

    4 жыл бұрын

    Make it the same colour as the apples. Then you get point every frame!

  • @ZaHandle

    @ZaHandle

    4 жыл бұрын

    Adam Mullarkey color and function is a different thing

  • @xavier.ashkar
    @xavier.ashkar4 жыл бұрын

    1:00 flips the avatar but name on shirt is backwards and too lazy so just writes cb in arial white font lol

  • @TechSupportDave

    @TechSupportDave

    4 жыл бұрын

    that cracked me up. It's the funniest when these "top-quality content" channels do it too.

  • @jujuyee2534

    @jujuyee2534

    4 жыл бұрын

    It is a top quality channel what do you mean?

  • @capncantread2985

    @capncantread2985

    4 жыл бұрын

    69 likes

  • @moex1713

    @moex1713

    4 жыл бұрын

    Yeh we saw that u don't have to say it again

  • @RAFMnBgaming

    @RAFMnBgaming

    4 жыл бұрын

    CB: Creative Bibliography.

  • @alexfisher4207
    @alexfisher42074 жыл бұрын

    I love consistent upload schedules

  • @jesseboy7951
    @jesseboy79514 жыл бұрын

    Man, u r amazing! Both smart and hilariously funny, we don't get a lot of those recently...

  • @MRtecno98
    @MRtecno984 жыл бұрын

    Every vaguely science-related channel: **Exists** Brilliant: _allow us to introduce ourselves_

  • @jacksonstein809
    @jacksonstein8094 жыл бұрын

    You at least upload more often than cgp grey and oversimplified combined!

  • @dhuill8900

    @dhuill8900

    4 жыл бұрын

    The holy Trinity

  • @ruanvisser7592

    @ruanvisser7592

    4 жыл бұрын

    FANKIEonPC rip

  • @midgetwars1

    @midgetwars1

    4 жыл бұрын

    Cgp grey is a live streamer and podcaster though

  • @ThatExplo

    @ThatExplo

    4 жыл бұрын

    @@dhuill8900 rip the bois

  • @powderedwater4742

    @powderedwater4742

    4 жыл бұрын

    you would watch them wouldn't you

  • @fincourtier4666
    @fincourtier46663 жыл бұрын

    This guy is genuinely so funny unintentionally 😂

  • @commandblockv1
    @commandblockv14 жыл бұрын

    For Christmas I want a new video from code bullet

  • @zidanez21
    @zidanez214 жыл бұрын

    I want "Adrian wtf" merch cause I think that was everyone's reaction to him

  • @SuperNova-nl5eb
    @SuperNova-nl5eb4 жыл бұрын

    "it will not take 3 months" 3 months later: nothing

  • @Melinstri

    @Melinstri

    4 жыл бұрын

    Pschhh its gonna be 3 months ! In 5 days so it was only 2 months when you wrote the comment 😂😂

  • @carlosesparza5225

    @carlosesparza5225

    4 жыл бұрын

    @@Melinstri Ok Ok now its 3 months+

  • @RedRingOfDead
    @RedRingOfDead4 жыл бұрын

    When you get back. We miss your video's. We love them.

  • @michealwarren6681
    @michealwarren66814 жыл бұрын

    Right bruv just take your time you do what's necessary in your life you amazing human being Love your videos you glorious nut job! Rock on! Code on!

  • @rufioh
    @rufioh4 жыл бұрын

    what about colouring the snakes head FEFEFE and the body FFFFFF so it looks the same to humans, but it can see it's own head cos it's a different colour

  • @mmmmm49513

    @mmmmm49513

    4 жыл бұрын

    Literally the first thing I thought he’d do. Talk about overkill

  • @shiinondogewalker2809

    @shiinondogewalker2809

    4 жыл бұрын

    you don't have to color it differently, just give it a different value to the ai and keep the color the same

  • @seanl.5181

    @seanl.5181

    4 жыл бұрын

    @@shiinondogewalker2809 further on this, why not just give he ai a version of the screen where each block is a single value in a 2d array (0-3 could be empty, body, head, food) . This would be incredibly small and really the bare minimum without losing any data

  • @fiendfi7119

    @fiendfi7119

    4 жыл бұрын

    Nerds be watching nerds code AI

  • @janhetjoch

    @janhetjoch

    4 жыл бұрын

    @LintyCarcass that was showing 2 pictures

  • @lootbox289
    @lootbox2894 жыл бұрын

    Code Bullet: going to milk snake for a fourth video Adrian: (chuckles) I'm in danger

  • @aleam7203
    @aleam72034 жыл бұрын

    The fact that I could forget about this channel and then remember about it again months later and still not have another upload says something I think 🤔

  • @AlexAuHoShun
    @AlexAuHoShun2 жыл бұрын

    Two years and it still brings back memories

  • @sfdfsc2483
    @sfdfsc24834 жыл бұрын

    “Milking snake” Code bullet - 2019

  • @Skeleton-bs7zy
    @Skeleton-bs7zy4 жыл бұрын

    Why not make the head a different color and feed blurred pixels from outside the vision

  • @williebrort

    @williebrort

    4 жыл бұрын

    That's a great idea.

  • @archangelgaming2463

    @archangelgaming2463

    4 жыл бұрын

    And does it need to see all the empty squares? If you just give it the information of the Apple, the head, and the body couldn’t it extrapolate all the empty space?

  • @IamCoalfoot

    @IamCoalfoot

    4 жыл бұрын

    Or perhaps keep the nearby vision, but give the snake which quadrant of the game board the apple is in, so it at least knows where to look.

  • @vex3488

    @vex3488

    4 жыл бұрын

    I fell like the head part might be kinda cheating but love the idea of blurring the outside so that like every 4 pixels is condensed and if theres a apple its red. Great idea!

  • @finikksu

    @finikksu

    4 жыл бұрын

    I was thinking the same. If the initial problem is it can't see where the head it, can't the head be a different color and feed it the whole map at once? Maybe like that it will work and build and strategy based on where the whole body is at the time and where the apple is

  • @Benmf
    @Benmf4 жыл бұрын

    You are such a great youtube coder. PLEASE UPLOAD I MISS YOU SO MUCH YOUR FUCKING COMEDY Its so fucking good

  • @Robotron56
    @Robotron564 жыл бұрын

    10:50 HOW IS THAT NOT A THUMBS UP

  • @trazh
    @trazh4 жыл бұрын

    Had you made it 4 months we would’ve had a problem

  • @arakewithinternetaccess4378

    @arakewithinternetaccess4378

    4 жыл бұрын

    AH FUCKING SEE THAT JOKE SJNAHDHDH

  • @miguelgarcialeiva3324

    @miguelgarcialeiva3324

    4 жыл бұрын

    Dont give him any ideas

  • @philiplee8834

    @philiplee8834

    4 жыл бұрын

    Mista in 15 years it is possible for the date to be 4/4/44

  • @strebicux6174

    @strebicux6174

    4 жыл бұрын

    @@philiplee8834 in 2 years we will have 2/2/22

  • @mihaiioc.3809

    @mihaiioc.3809

    4 жыл бұрын

    oh no wait that was a 4 letter sentence

  • @harryvpn1462
    @harryvpn14624 жыл бұрын

    Ok you made a Snake ai, but does it know how to abuse his Up-Tilt?

  • @raghavpant3251

    @raghavpant3251

    4 жыл бұрын

    Nikita intensifies.

  • @oldmeme4474

    @oldmeme4474

    4 жыл бұрын

    Raghav Pant beep beep

  • @andrewpereira888

    @andrewpereira888

    4 жыл бұрын

    All snakes need to know is to press b

  • @harryvpn1462

    @harryvpn1462

    4 жыл бұрын

    @@andrewpereira888 and thats a fact

  • @matthewthemechanic6680

    @matthewthemechanic6680

    4 жыл бұрын

    What do you mean?

  • @Lskdodod
    @Lskdodod4 жыл бұрын

    Thx for all the training mate - Adrian

  • @slooowz8746
    @slooowz87463 жыл бұрын

    "Can a 2000 degree knife cut through my crippling uni debt" I love it, I'm first year and already crying when I see my uni debt.

  • @VulsikDoSurilim

    @VulsikDoSurilim

    2 жыл бұрын

    Well at least it might be possible for it to cut through a crippled uni *dept* building. 🤷🤷🤷

  • @FacterinoCommenterino
    @FacterinoCommenterino4 жыл бұрын

    Today's fact: Alligators will give manatees the right of way if they are swimming near each other.

  • @godlyhax4172

    @godlyhax4172

    4 жыл бұрын

    wut

  • @ZippyMagician

    @ZippyMagician

    4 жыл бұрын

    Facterino Commenterino go back to hearthstone lmao

  • @poke_1879

    @poke_1879

    4 жыл бұрын

    Damn thats weird, do you know why tho?

  • @eat_you_beans5252

    @eat_you_beans5252

    4 жыл бұрын

    Wait really that is weird the alligator can just attack it and win

  • @cheese0261

    @cheese0261

    4 жыл бұрын

    The right of way right into there mouth

  • @XIIchiron78
    @XIIchiron784 жыл бұрын

    What if you add a penalty for wasting time? For going x amount of time without eating for example.

  • @underrated1524

    @underrated1524

    4 жыл бұрын

    This is a reasonable thing to do, and in fact is pretty commonly done with Q-learning algorithms. It might come with some downsides in the case of snake (getting so greedy for food that you corner yourself) but that seems like a fair price to pay. Come to think of it, I wonder if Code Bullet simply chose not to discuss that possibility because the video was already tangential and long-winded as is.

  • @seagullskunk

    @seagullskunk

    4 жыл бұрын

    this was my idea too. Because otherwise the only thing the snake has to do is survive long enuogh so that it has almost unlimkited time to grow slowly

  • @connorkruger

    @connorkruger

    4 жыл бұрын

    Yeah you could give it like a hunger value. If (hunger == 0) { snakeHitpoints = 0; }

  • @connorkruger

    @connorkruger

    4 жыл бұрын

    Sorry for the Java example 😂

  • @Adrobiel

    @Adrobiel

    4 жыл бұрын

    This was something I was considering while watching as well. It might help to create a different behavior than its pong like behavior while searching for food.

  • @andrewmanchiraju8005
    @andrewmanchiraju80052 жыл бұрын

    Man, I wish code bullet went with idea 3. That sounds like it would make an amazing video that could instantly become his most popular video ever.

  • @AhmedRw
    @AhmedRw4 жыл бұрын

    I have an idea to prevent the snake from killing itself by going in a hole inside his body with no way out : U tell it that always take a route that you can comeback to a WALL, it's like having 4 hidden lines from the walls to the head of snake , and the snakes goal would be not snapping all 4 lines by keeping at least 1 connect in that way most of the time it'll have a way back

  • @ILikeCHEEZ9
    @ILikeCHEEZ94 жыл бұрын

    Adrian: Papa look, are you proud of me? *spins in circles* Code Bullet: Dammit Adrian....

  • @Webton462

    @Webton462

    4 жыл бұрын

    ILikeCHEEZ9 I am proud of myself

  • @justynpryce
    @justynpryce4 жыл бұрын

    Welcome back, thank god Banner snapped his fingers. Thought you were going to stay dusted

  • @jacksonstein809

    @jacksonstein809

    4 жыл бұрын

    NotTheRealDeadpool Only took five years!

  • @TheYargonaut
    @TheYargonaut4 жыл бұрын

    Q-learning works on Markov Decision Processes. In order to avoid any memory in the neural network, the input feature vector needs to encode all the information about the state. If it doesn't, you have created a Partially Hidden Markov Decision Process, and need to add memory for your NN to manage, making it some form of RNN. There are efficient ways to decrease the number of input features quickly in your neural net without manually throwing out potentially-necessary information: attention-based neural networks, which, happily, outperform RNNs on the types of sequence tasks where you would normally have this problem. I am surprised the 2-frames method was too large an input vector, given that the original paper used 4 frames of an Atari game at a time as the input vector. Impressive results though. Came here from the next video to learn the rules you imposed, so let's hope you found these ideas in the interim :)

  • @aidancollins8174
    @aidancollins81744 жыл бұрын

    CONGRATS ON 1.69 SUBSSSS

  • @SC19_ow
    @SC19_ow4 жыл бұрын

    So Adrian is basically looking for the apple randomly, but any human player knows where the apple is all the time, so why not just tell him where it is, either with or instead of the 20x20 fov

  • @kasonnara

    @kasonnara

    4 жыл бұрын

    How do you tell it where it is? 2 solutions: 1) giving the full grid with 0 when there is nothing 1 when there is the apple, this is the solution used here and often used beause by experience AI perform well with that form, but it require a lots of inputs 2) Giving it coordinates, so 2 inputs, one for each the horizontal and vertical axis: So less inputs so far so good. The problem is that AI often struggle to understand this kind of informations, because they need to learn more complicated task to understand that sometimes a x=10 mean go up and some times it will mean go down, it need to learn some tasks like making substraction... Not as easy as it looks for an AI that learn by itself.

  • @robh5246

    @robh5246

    4 жыл бұрын

    @@kasonnara Maybe you could give the coordinates relative to the head. So negative/positive numbers would always mean the same direction and it would become a minimization problem.

  • @sporkator4632
    @sporkator46324 жыл бұрын

    Your Snake's Name is Adrian, mine too. You loaded this video up at the 13.07. which is my birthday. Thx

  • @EveryTipeOfVideo

    @EveryTipeOfVideo

    4 жыл бұрын

    My name to!!

  • @spencerpowell9289

    @spencerpowell9289

    4 жыл бұрын

    I thought you had a snake named Adrian at first then I looked at your screen name lol

  • @daladari3469

    @daladari3469

    4 жыл бұрын

    July 13th is my birthday too. Merry birthmas.

  • @justadrian3890

    @justadrian3890

    4 жыл бұрын

    Same name!

  • @benjaminhackett8896
    @benjaminhackett88964 жыл бұрын

    “No way it could take three months.” Sounds like me. I *always* think it's gonna take less time to do something than it does.

  • @Houdm
    @Houdm3 жыл бұрын

    R.I.P. Code Bullet. He was taken from us to early. I hope his family and friends are doing fine. He will be missed

  • @bennievaneeden2720
    @bennievaneeden27204 жыл бұрын

    1. Just tell it where its head is. BAM. You only have 1601 data points. 2. Reduce the image data by passing it through a CNN.

  • @JorgetePanete

    @JorgetePanete

    4 жыл бұрын

    its*

  • @CashIReality

    @CashIReality

    4 жыл бұрын

    A News Channel?

  • @joshburpee9603

    @joshburpee9603

    4 жыл бұрын

    @@JorgetePanete Why don't you design the next wave in autocorrect that differentiates between its and it's? You could probably make millions instead of wasting 8-10 hours a day on KZread correcting people's mistakes.

  • @wormsblink2887

    @wormsblink2887

    4 жыл бұрын

    Convolutional neural network.

  • @queijoman999
    @queijoman9994 жыл бұрын

    ... Why didn't you just, you know, gave the snake a head? Like Slightly different color pixel for example Then you can make it see the whole screen

  • @tankofnova9022

    @tankofnova9022

    4 жыл бұрын

    We would know that the different color is the head but the AI wouldn't.

  • @MitchellD249

    @MitchellD249

    4 жыл бұрын

    I still don't understand why he was trying to find the head originally, since he eventually seemed to just have that information and could center the square of invisibility around it. But the problem with it seeing the whole screen is that's too many pixels for it to have scan, so it just takes absolutely forever to train. It doesn't matter how easy it would be to find the head with that scan, you just don't want to scan the whole screen for any reason or it's going to be too slow.

  • @DropkickedBarracuda

    @DropkickedBarracuda

    4 жыл бұрын

    @@MitchellD249 its not that he couldn't find it, the ai couldn't because it only saw individual still frames, and had no memory. Either end could be the head from that information.

  • @onursahin4387

    @onursahin4387

    4 жыл бұрын

    Why does it have to be pixels tho? Why not just give it bounds, tail, head, apple coordinates and the direction? The rest is void anyway.

  • @MitchellD249

    @MitchellD249

    4 жыл бұрын

    @@DropkickedBarracuda So how did the AI find it in the end?

  • @basicgreg612
    @basicgreg6124 жыл бұрын

    Love the attitude 💯💯

  • @nightmare3711
    @nightmare37112 жыл бұрын

    8:59 Adrian: I'll try spinning, that's a good trick!