AI learns Snake Part 2 || Snake Fusion

  Рет қаралды 1,346,828

Code Bullet

Code Bullet

6 жыл бұрын

Using the genetic algorithm and neural networks I trained up 5 snakes who will then fuse to become the ultimate snake...
Check out the source code
github.com/Code-Bullet/SnakeF...
Music:
EDM Detection Mode by Kevin MacLeod is licensed under a Creative Commons Attribution license (creativecommons.org/licenses/...)
Source: incompetech.com/music/royalty-...
Artist: incompetech.com/
Balzan Groove - Vadodara by Kevin MacLeod is licensed under a Creative Commons Attribution license (creativecommons.org/licenses/...)
Source: incompetech.com/music/royalty-...
Artist: incompetech.com/

Пікірлер: 1 200
@CodeBullet
@CodeBullet 6 жыл бұрын
Source code is up Sorry for the wait but I hope it answers some questions github.com/Code-Bullet/SnakeFusion
@maddybond007
@maddybond007 6 жыл бұрын
Thanks a lot...
@DanskerneFraDanmark
@DanskerneFraDanmark 6 жыл бұрын
Thx i have No ider how to use it But thx
@Uveryahi
@Uveryahi 6 жыл бұрын
Thanks a lot! I was really looking forward to it.
@claymore609
@claymore609 6 жыл бұрын
I'm reminded of futility and endurance, mainly boredom and child development, without the stimulus of variety stagnation sets in, try similar games and come back to it, even though you have not programed the game, it has limits that limit.
@elpred0
@elpred0 6 жыл бұрын
This pair of videos are ones of the best videos about machine learning I saw. Congrats!
@Kyle-fy1tb
@Kyle-fy1tb 6 жыл бұрын
god, I agree with that "why" at the end it was doing so well and then it was just done with life
@NetAndyCz
@NetAndyCz 6 жыл бұрын
I think it is the issue with the training, it is not used to long body, it never got that far into the game and the AI does not really understand the principle of the game it is using what worked best at the beginning but those strategies may not work with longer body. I am sure more training would help.
@Priestofgoddess
@Priestofgoddess 6 жыл бұрын
The AI could not cope with the fact, that it had to stall more time, so that it's body would give the way free again. It did not calculate how long its body would need to free space.
@gavi5150
@gavi5150 6 жыл бұрын
because they have no purpose, playing snakes or not, they knew at the end they di
@Spore809
@Spore809 6 жыл бұрын
So let's start to training with long body
@burbanpoison2494
@burbanpoison2494 6 жыл бұрын
There wasn't any path to the food because it was completely walled off by the tail. It didn't account for the fact that the tail would get out of the way if it just killed time for a second. without calculating when and where that was going to happen before picking a path, it was looking at a zero probability of reaching the food by any path. That's not the same kind of problem as when it's curled up and it just needs to navigate an already-existing but narrow path back out. It took the shortest path to a "no solution" output, or it just stopped making decisions when it determined that no decision would connect it to the food. Apparently it isn't aware of the passage of time.
@tenj00
@tenj00 6 жыл бұрын
At the end it realized that it was just a snake AI
@hairless2699
@hairless2699 6 жыл бұрын
tenj00 lol, thats not nice
@Subxenox15
@Subxenox15 6 жыл бұрын
It became self aware and realized life was futile, committed suicide, and deleted the folder it was stored in.
@moreplz
@moreplz 6 жыл бұрын
My theory is that in the end it gave control to the one snake that always left a one square path at the bottom. In the snakes program it assumed the bottom row would be safe but it was not.
@KvaGram
@KvaGram 6 жыл бұрын
"What is my purpose?" You eat dots and crash into yourself. "Ow my god!" *dies*
@RealCheesyBread
@RealCheesyBread 6 жыл бұрын
TheNethero you pass butter
@jimmyrebel2010
@jimmyrebel2010 6 жыл бұрын
It's shit like this that would make me uncomfortable letting autopilot drive me around in a Tesla - Right around the time I convince myself everything is going to be alright the car would start flashing blue and then white and launch me off a cliff.
@AdamCradamParkes
@AdamCradamParkes 6 жыл бұрын
humans aren't much better, we just trust them cause we are as flawed as the driver
@jimmyrebel2010
@jimmyrebel2010 6 жыл бұрын
True - to be perfectly honest I'm the only driver I trust to not launch me off a cliff ;)
@bbbbende
@bbbbende 6 жыл бұрын
This comment is beautifully ironic
@obremon2000
@obremon2000 5 жыл бұрын
My god, love this comment
@MikeMike-dv7iv
@MikeMike-dv7iv 5 жыл бұрын
And if there's no cliffs?
@vizardshinji7415
@vizardshinji7415 6 жыл бұрын
The moment you are giving AI names I liked steven tho. He got some really nice moves
@Verbindungsfehle
@Verbindungsfehle 6 жыл бұрын
But dang Sally has got some impressive self-dodging skills
@ColtHack
@ColtHack 6 жыл бұрын
Yeah I would go so far as to say that steven's zig-zags resulted in a majority of fusionsnake's deaths. They should have given skye the controls, with sally on co-pilot.
@TamTroll
@TamTroll 6 жыл бұрын
im a fan of skye. i love how she keeps her self orientated by always returning to the bottom right corner.
@markhamilton5978
@markhamilton5978 5 жыл бұрын
Lol
@AzazelOne
@AzazelOne 5 жыл бұрын
gotta have them s for snake
@want-diversecontent3887
@want-diversecontent3887 6 жыл бұрын
Steven likes diagonals. Sally uses no diagonals unless necessary to survive. Sammy can do quick U-turns. Skye goes to the bottom right corner before getting food. Simon is like Skye, but the top right corner instead.
@marceltelang7825
@marceltelang7825 3 жыл бұрын
Thanks
@john-pj5gs
@john-pj5gs 6 жыл бұрын
Its an ai with multiple identity disorder :)
@lukemagdalin6169
@lukemagdalin6169 6 жыл бұрын
lol
@SupLuiKir
@SupLuiKir 6 жыл бұрын
It isn't a disorder in this case. These AI snakes can only function as a collection of minds.
@VitaEmerald324
@VitaEmerald324 6 жыл бұрын
This is what we do with machines: we give them psychological disorders. The human race everybody!
@LEMxDx
@LEMxDx 6 жыл бұрын
ITS A HIVE MIND!!! EVERYBODY RUNNNN
@rijuchatterjee2590
@rijuchatterjee2590 6 жыл бұрын
It's kinda like the Sibyl system from psyco pass
@feynstein1004
@feynstein1004 6 жыл бұрын
Damn I want one of these snake babies. Anyway, when I noticed the snake freaking out when it kinda got boxed in, I realized that that's because unlike us, the snake can only see in the plane it's in, which is why it can't figure out that the situation isn't hopeless. If there were a way to make the snake see like we do, it'd quickly figure out that coiling would be the most successful way to survive and I think it would be pretty much unbeatable.
@Khonic23
@Khonic23 6 жыл бұрын
Feynstein 100 trust me, there are better more advanced learning AI that can fill the board pixel for pixel until they die because there is not more space on the board
@feynstein1004
@feynstein1004 6 жыл бұрын
+Khonic Oh wow. I'd love to watch that.
@Khonic23
@Khonic23 6 жыл бұрын
Feynstein 100 kzbin.info/www/bejne/jnqxcqGfhqibbrs
@feynstein1004
@feynstein1004 6 жыл бұрын
+Khonic Thanks for the video. While it was interesting, it wasn't performed by an AI, well, purely by an AI anyway. It seems to be a Tool Assisted Speedrun, meaning it was performed by the team of a human and an AI.
@Shiek200
@Shiek200 6 жыл бұрын
That video is just a program that plays snake, this is an ai that was thrown into a game of snake without knowing what it was and figuring out what to do with essentially only one real programmed thought, which was "if the game resets, I failed, and failing is bad, so I should do something different." Really interesting stuff.
@ahsanrehman1602
@ahsanrehman1602 6 жыл бұрын
Meet Simon, the robot who holds the Snake World Record.
@ximonium
@ximonium 6 жыл бұрын
I'm Simon
@trevorjamesconsideracion1982
@trevorjamesconsideracion1982 6 жыл бұрын
Antrikshy Productions sounds like a title from vox
@ahsanrehman1602
@ahsanrehman1602 6 жыл бұрын
Trevor James Consideracion Yeah it does!
@SK-by6qd
@SK-by6qd 6 жыл бұрын
Is it just me, or are the white snake parts really intense?
@badereric
@badereric 6 жыл бұрын
Lori Kirby they are supposed to be the most dangerous parts
@huonsmith
@huonsmith 6 жыл бұрын
Lori Kirby yes that is when the snake is like "oh shit" and so it tries to stall as long as possible to make the food available so it goes all over the place to stall
@allenqueen
@allenqueen 5 жыл бұрын
ikr.had me at the edge of my seat
@MrFlameRad
@MrFlameRad 6 жыл бұрын
Next time can you have it change color based on whose code it's running, with a key somewhere on the screen?
@want-diversecontent3887
@want-diversecontent3887 6 жыл бұрын
nayrad m Steven likes diagonals. Sally uses no diagonals unless necessary to survive. Sammy can do quick U-turns. Skye goes to the bottom right corner before getting food. Simon is like Skye, but the top right corner instead.
@zawarudo3582
@zawarudo3582 5 жыл бұрын
TheTruetGamingGuru wait what
@starfirei3356
@starfirei3356 2 жыл бұрын
@@want-diversecontent3887 Simon also tries to leave a one-square-wide path at the bottom.
@deros1658
@deros1658 5 жыл бұрын
Steven... Fusion... My first thought was Steven Universe
@natetso3307
@natetso3307 6 жыл бұрын
Damn, this is fascinating. Wish I knew how to do stuff like this. I’d make four or five snake personalities and put them all in a big arena with multiple food sources, while also trying to incorporate a hunger mechanic where the snakes die if they don’t get food after so many moves, and also a mechanic where a dead snake leaves food that the others can consume. Make it a genetic algorithm with each death beginning a new generation for that snake, and they’d eventually start evolving to hunt and hide from each other, like a digital ecosystem. Or at least, that’s how I fantasize it to be. I don’t know jack about this stuff so not sure if this is even possible lol.
@kaykmartins7335
@kaykmartins7335 6 жыл бұрын
It should be a little complex, but since theres some AI that act like humans and some who can code new AI's by themselves better than humans, thats totally possible
@cheeselord8153
@cheeselord8153 5 жыл бұрын
Sounds lots like a starving slither io game version
@BattleCarrot
@BattleCarrot 5 жыл бұрын
Here's something you might enjoy: kzbin.info/www/bejne/oHK0f5yCaNRoorc I'm not too familiar with this guy's project but I found it over a year ago. He uses selective breeding to evolve the neural networks, which is fairly common, but he's let it loose and has different species of AI in his little world environment. It's a very simple environment that he's made, it's some water, some land and food that grows over time. Obviously the AI that lives the longest is more likely to breed, and they do. But I think they can only breed with closely related AI hence he has different species.
@DogeDogeriffic
@DogeDogeriffic 5 жыл бұрын
Slither.io
@sanjaysalve4866
@sanjaysalve4866 5 жыл бұрын
It is not a real AI. It just works on an algorithm, like u gotta do 'this' when 'this' happens. A real AI can show evolution.
@Drumax0
@Drumax0 5 жыл бұрын
I literally yelled out WHY at the end then I laughed so hard when the text popped up lmfao
@coder0xff
@coder0xff 6 жыл бұрын
Now run a bunch of simulations to generate training data, build some new nets from it, evolve some more, do a new fusion, repeat.
@supersheets12
@supersheets12 6 жыл бұрын
make a snake god
@stefleisering8934
@stefleisering8934 6 жыл бұрын
i would love to see a video of it. get them to change colors based on personality it follows.
@av3365
@av3365 6 жыл бұрын
Kitty Nip yep defo
@kotzpenner
@kotzpenner 6 жыл бұрын
That's how Skynet started you monster
@the-uh2ur
@the-uh2ur 6 жыл бұрын
Snakenet
@naverilllang
@naverilllang 6 жыл бұрын
snake? Snake! *SNAAAAAKE!!!*
@ProdigyGamers
@ProdigyGamers 6 жыл бұрын
Nathan Lang mission failed we'll get em next time
@swordoman2158
@swordoman2158 5 жыл бұрын
F
@serenityrahn5656
@serenityrahn5656 5 жыл бұрын
i am so not tired of these damn snakes on a Cartesian plane! OK, i'll see myself out ...
@kwarlus
@kwarlus 5 жыл бұрын
TIME PARADOX
@raffimolero64
@raffimolero64 6 жыл бұрын
"ORTHOGONAL IS NOT THE ONLY DIRECTION" -Steven
@turitou19
@turitou19 6 жыл бұрын
This is better than a drama movie, the moment the fusion snake was trapped an came victorious out of its own jail i was on the verge of my seat! Really good stuff
@Bobstew68
@Bobstew68 5 жыл бұрын
I feel bad for the snake. :< Everytime it eats, it has a small "AAAAH I'M GONNA DIE" moment.
@MathewClips
@MathewClips 6 жыл бұрын
An AI with split personality disorder, with the capability to change personality at will in order to adapt to any situation. Yup skynets happening.
@iamzomb.
@iamzomb. 6 жыл бұрын
It's fun seeing the snake "personalities" change on the colored part
@aryore2411
@aryore2411 6 жыл бұрын
The colours don't indicate the personality, it indicates the overall frame of mind. You can tell which snake "personality" is in control by looking at the pattern they're moving in, they each have their own pattern.
@iamzomb.
@iamzomb. 6 жыл бұрын
Aryore entertaining nonetheless
@americancheese9103
@americancheese9103 6 жыл бұрын
Aryore I found the rick and morty fan
@OrangeC7
@OrangeC7 6 жыл бұрын
Finally, someone who shares my passion for giving names and personalities to things that are (probably) not capable of said ability.
@thenasiudk1337
@thenasiudk1337 6 жыл бұрын
The A.I was too clever Even he realized he was a A.I
@TheTransforcer
@TheTransforcer 6 жыл бұрын
Love how it flashes white right after it picks up another block, as it runs through the various commands figuring out its next path. Beautiful.
@PatrickHoodDaniel
@PatrickHoodDaniel 6 жыл бұрын
You have just put me down a serious rabbit hole. Been a programmer for 35 years, clicked on github link, determined programming language you used, watching tutorials, now I need to drop everything I WAS doing!! Thanks
@willbe_human
@willbe_human 6 жыл бұрын
Fusion is just a cheap tactic to make weak snakes stronger.
@minnarewers3573
@minnarewers3573 6 жыл бұрын
WillBe I KNEW THERE WOULD BE OTER SU FANS HERE! and one of them is named STEVEN
@willbe_human
@willbe_human 6 жыл бұрын
Minna Rewers Lmao hahah yeah, I am not a HUGE fan but it is a neat show and it was just so perfect
@filipeoliveiraladislau4533
@filipeoliveiraladislau4533 6 жыл бұрын
Say:"Fusion is just a cheap tactic to make weak snakes stronger." 5 minutes later say:"FUSE WITH ME!"
@ProdigyGamers
@ProdigyGamers 6 жыл бұрын
:)
@joejorn3622
@joejorn3622 6 жыл бұрын
Loooool Steven Universe
@spacex9999
@spacex9999 6 жыл бұрын
It became human at the end
@tehesprite502
@tehesprite502 5 жыл бұрын
Snake: Become Human.
@harsharamayanam7484
@harsharamayanam7484 4 жыл бұрын
And then it became beyond human
@Matthew.Morcos
@Matthew.Morcos 6 жыл бұрын
I love when It flashes white after it eats something because the food hasn’t loaded yet and it doesn’t know where to go.
@XaL47
@XaL47 6 жыл бұрын
This is so satisfying to watch (at some points) and so disappointing too see failures. But it's a learning progress. Keep it up!
@blimpslap2
@blimpslap2 6 жыл бұрын
Be nice to Steven! He is trying his best.
@viko207
@viko207 6 жыл бұрын
Keep those comming, also a video focused on the technical part of it will be really nice
@killerkid2028
@killerkid2028 6 жыл бұрын
These are amazing to watch please make more. I would watch these like crazy
@overlordex4943
@overlordex4943 6 жыл бұрын
This is really awesome and Cool!!! I don't know anything about programming but the fact that you can program this is just AWESOME. Thank you for making this video, it's really cool
@ajrzrj
@ajrzrj 6 жыл бұрын
rly good job dude! i will w8 to see part 3 :P
@trailmix818
@trailmix818 6 жыл бұрын
If you're hating on people's spelling then you should spell correctly. Hate* and were you unable to type a couple more letters to spell out the word "two".
@rodikooijmans5639
@rodikooijmans5639 5 жыл бұрын
@@trailmix818 you do realize that he was trying to say"i will wait to see part 3"
@trailmix818
@trailmix818 5 жыл бұрын
@@rodikooijmans5639 Correction, someone else had replied hating on his comment somehow someway and I guess they seemed the need to delete it so my comment looks like I'm replying to the original comment. sorry for the confusion chief
@jarod_baron
@jarod_baron 6 жыл бұрын
Just saw part one and part two was just released? My lucky day
@ximonium
@ximonium 6 жыл бұрын
SAME DUDE WTF
@TheMe26
@TheMe26 6 жыл бұрын
Jarod_BaroN lol same youtube knows the future
@MedallionHD
@MedallionHD 6 жыл бұрын
same
@Draktand01
@Draktand01 6 жыл бұрын
I love your videos man, keep em’ coming!
@Mona-kg6hy
@Mona-kg6hy 6 жыл бұрын
I'm in summer school rn, bored bc I've finished everything and we still have a week left and so I'm just watching this and it was so relaxing I passed out for a while after I finished watching, I'm not even sure how long. Did the whole dad falling asleep watching the game pose and everything. 10/10 coding and good nap enducing
@jjju3
@jjju3 6 жыл бұрын
An interesting thing I noticed is that the snakes have there own "personalitys" so to speak, sense each ai was trained on it's own, and learned differently they all take different approaches, I can't make most of them out but I did notice that Steven and sally like to do diagonals and alot and Sammy, sky, and Simon try to avoid them, that's all I could really pick up lmao, and a couple of times you can see it really get close to the body and weave away, which I assume is Sally In that mix, -i think there was another snake but I forgot about them- Oh and I noticed that Steven, Sammy, and sky like wide archs of movement (like thing, big open boxes) while Simon and Sally prefer to stay contained
@durdleduc8520
@durdleduc8520 6 жыл бұрын
What I noticed is that all of them except from Steven have a tendency to hug the sides of the game, its own body, etc, which I think is odd for an AI that learns that the body and the sides are lethal.
@blak4831
@blak4831 6 жыл бұрын
I wasn't paying super close attention, but I think some of them preferred clockwise motion and others preferred counter-clockwise motion.
@MikeMike-dv7iv
@MikeMike-dv7iv 5 жыл бұрын
They have their own personality? Wow its almost as if... The creator of this video kinda implied this...
@lizgayle14
@lizgayle14 5 жыл бұрын
@@durdleduc8520 from a coding perspective, it's because those actions take the absolute minimum amount of processing. Since hitting a wall or yourself is death, instead of having to figure out the best of 3 different moves every frame, you only have to figure out 2. You can't go backwards, and you can't turn into the wall or yourself, so your choices are more limited and easier to quickly go through.
@deadblue324
@deadblue324 6 жыл бұрын
I love ai stuff there always fun to watch
@franzschubert4480
@franzschubert4480 6 жыл бұрын
I've never seen "It's" spelled as "there" before. Thank you for this new experience.
@audrielcabanero4897
@audrielcabanero4897 6 жыл бұрын
Damn^^^
@kyraaa__
@kyraaa__ 6 жыл бұрын
Yeay that roast🔥🔥😂
@Composer_Piggy
@Composer_Piggy 6 жыл бұрын
I love what you’re doing! Keep making snakes!
@Franciscomp70
@Franciscomp70 6 жыл бұрын
Best recomended video that youtube has ever ever ever ever showed to me. Thanks.
@friend1308
@friend1308 5 жыл бұрын
Steven...? Fusion...? *_Steven Universe?_*
@1234567890storm
@1234567890storm 6 жыл бұрын
Im not a programmer so not sure if it's possible... But I noticed that the AI is not sure what to do when food is covered. It should have any command that allows it to extend (?) the line when the access to food is temporarily impossible.
@JordanKetterer
@JordanKetterer 6 жыл бұрын
I think what michal is saying, or a solution would be to purposfuly give it more training (invoke situations that) include targets that are unreachable, or when the snake is actually boxed in.
@packagemanager
@packagemanager 6 жыл бұрын
Correct me if I'm wrong, but I'm pretty sure he kept that in mind while making the code. It does learn by itself, after all
@hellNo116
@hellNo116 6 жыл бұрын
I think he didn't input any strategy except the basic don't eat yourself don't hit the world and try to get food. Anything else it does is the neural network being trained to be more efficient
@Daniel-yz6gs
@Daniel-yz6gs 6 жыл бұрын
put it to play dark souls, the AI surely learn a ton of new things
@liamjames-hendriks4895
@liamjames-hendriks4895 6 жыл бұрын
I might be wrong, but watching the first video I got the impression from the behavior of the early AIs that it simply had "don't die, get longer" as the instruction, because for a while it aimlessly moved around, hitting the walls, not getting the food and hitting it self. If it was programmed with these things, I feel that it would simply already know this. After several runs it figures out the walls and itself and the food. I might be wrong, I am no programmer or anything.
@thethunderbird4844
@thethunderbird4844 6 жыл бұрын
I don't know how i came across this video, but it's so cool! Please make more!
@elijahizere
@elijahizere 6 жыл бұрын
So keen for part 3!
@GruntyGame
@GruntyGame 6 жыл бұрын
Interesting how the AI prefer to go in an anti-clockwise loop.
@DonatCallens
@DonatCallens 6 жыл бұрын
I think these learning algorithms would improve in an even better way if efficiency and speed were also taken into account. Snakes that perform less movements should be rated higher and the time between two eats should be taken into account as well. The result would be more impressive from a human point of view and would make sense considering that efficient utilisation of resources is a driving force in nature.
@StarfoxHUN
@StarfoxHUN 6 жыл бұрын
"Why?" The biggest question for all programmers.
@sanctifyer1885
@sanctifyer1885 6 жыл бұрын
Keep making videos man! You have a unique and awesome thing going, you got thi!s!!
@TheGodEmperorOfMankind_
@TheGodEmperorOfMankind_ 6 жыл бұрын
Skye and Simon seem to avoid going diagonally, maybe they figured out that it's sub optimal.
@gearhead743
@gearhead743 5 жыл бұрын
I don't think it really is suboptimal for the ai, I mean, it doesn't use any extra energy doing it. For us humans, yes, it is suboptimal, but that is because it takes more movements of our fingers. On top of that, the snake doesn't really seem to lose speed when it does go diagonal.
@-Solidwater
@-Solidwater 3 жыл бұрын
@@gearhead743 Diagonal hurts ;-;
@Jmcgee1125
@Jmcgee1125 6 жыл бұрын
What happens if there are multiple snakes on the same map, seeing each other and not being able to touch, but using the same food?
@fxlixde3871
@fxlixde3871 5 жыл бұрын
Slither.io with ais basically?
@LordKirtash
@LordKirtash 6 жыл бұрын
I liked. I hope you keep uploading your progress.
@jayextarys8616
@jayextarys8616 5 жыл бұрын
I enjoy this way too much! Thanks!
@LittlePsycho
@LittlePsycho 6 жыл бұрын
This is amazing. You should program it to collect as much of its body in one location before going for the food to avoid collision
@bones7868
@bones7868 6 жыл бұрын
it's a neural net, he gives it the start parameters and it basically does the rest on its own
@KaitouKaiju
@KaitouKaiju 6 жыл бұрын
It will learn that on its own given enough runs.
@rodrikforrester6989
@rodrikforrester6989 6 жыл бұрын
Sammy, Skye... I think I know these names from somewhere. Rimworld?
@pyrus2814
@pyrus2814 6 жыл бұрын
If only they were nearly as competent as this snake...
@plink4861
@plink4861 6 жыл бұрын
I knew i recognised these
@Henrix1998
@Henrix1998 6 жыл бұрын
Sky(n)e(t), it was always a worm (snake)
@Dargon1o1
@Dargon1o1 6 жыл бұрын
You have a great sense of humor, I like it
@abrahamgamer8331
@abrahamgamer8331 6 жыл бұрын
I love watching stuff like this, you earned another subscriber (:
@vlaydin6263
@vlaydin6263 6 жыл бұрын
I feel like even in humans when we are born we stick stuff in our mouth to determine what it is? Is it safe? And wtf it is... like the snakes I see them always against the wall, they feel safe and connected but when closed off from one the the four walls they panic, like one does when claustrophobic, me... You want to connect, but you trapped your self and the AI it's scared because it's the growing mass in this box with one purpose of eating apples, it I assume learns that as it eats it will grow. Understanding this it continues to eat as it's the only changing variable and that when it does his body grows. Seen near the end the AI understands and I believe that they are reluctant to because it always to them is death because they never experienced success. Show someone wrong and they will always do wrong but show them right, they will want to understand. To the AI it is just a paradox
@majesticcactus2244
@majesticcactus2244 6 жыл бұрын
woah......that was deep
@vlaydin6263
@vlaydin6263 6 жыл бұрын
Ewan Penhale Thanks for reading😂 Take it easy man
@dLzzzgaming
@dLzzzgaming 6 жыл бұрын
You realize they don't "think" like us. They don't have these questions. "They", per se, don't even exist, it's just code being run, there's no personality, no questioning the why, not even the how... All these people getting way too attached to these blocks of code. Hey, I get man, we humans can project ourselves into many things, it's not difficult to do so on a system that makes choices that appear human-like, but please don't go thinking they have anything even close to life
@lizgayle14
@lizgayle14 5 жыл бұрын
That's... not how AI works in the slightest, no.
@lukemagdalin6169
@lukemagdalin6169 6 жыл бұрын
damn thought this was uploaded a year ago turns out it was today cant get source code BECAUSE UR IN BED i want this so i am just gonna leave this tab open
@grantm.9109
@grantm.9109 6 жыл бұрын
luke magdalin He has posted it now btw. :)
@lukemagdalin6169
@lukemagdalin6169 6 жыл бұрын
Grant M. Thank god
@diek_yt
@diek_yt 6 жыл бұрын
Brilliant commentary dude, and good video, I really enjoyed it
@thespaceace8164
@thespaceace8164 6 жыл бұрын
I think I'm just going to spend today watching all your videos back-to-back.
@kugelblitz5229
@kugelblitz5229 6 жыл бұрын
I must say, nerual networks are really intriguing. Though I'm not sure abotu where to learn more about them...
@formdusktilldeath
@formdusktilldeath 6 жыл бұрын
There's a youtuber called "3Blue1Brown" who has got a good series for the basics.
@fleecemaster
@fleecemaster 6 жыл бұрын
There's a guy called Sentdex who has really good tutorials, in depth but well explained.
@DJGazItaly
@DJGazItaly 6 жыл бұрын
maybe my new favorite youtube video, ur a genius mate.
@STR4nG3boy
@STR4nG3boy 6 жыл бұрын
Quite nice to see that a bunch of code can learn, evolve and play so freakin good. I hope that somedays this programmes don't do their own thing ^^ (Because neural network ai is used in far more complicated, scientific experiments)
@thefableparable215
@thefableparable215 6 жыл бұрын
fusion is just a cheap tatic to make weak snakes stronger *edit: spelling
@minnarewers3573
@minnarewers3573 6 жыл бұрын
idk heyy fellow su and ut fan
@thefableparable215
@thefableparable215 6 жыл бұрын
Minna Rewers heya, always great to meet people from multiple fandoms
@minnarewers3573
@minnarewers3573 6 жыл бұрын
idk yey
@patricks8430
@patricks8430 6 жыл бұрын
Waiting for the Sauce Code :P
@NtotheGMC
@NtotheGMC 6 жыл бұрын
same
@mustardthe2ndkingoffastfoo570
@mustardthe2ndkingoffastfoo570 6 жыл бұрын
Open the damn description
@terraclock
@terraclock 6 жыл бұрын
lol it isn't there
@arielsproul8811
@arielsproul8811 6 жыл бұрын
yet
@patricks8430
@patricks8430 6 жыл бұрын
call me atone230 "Open the damn description" imgur.com/a/BOuUg
@TyDie85
@TyDie85 6 жыл бұрын
Haha the "why" at the end Is EXACTLY what I said. Amazing how it can get out of crazy sticky situations, but then fail at the most odd times. AMAZING video :)
@jjvega1998
@jjvega1998 6 жыл бұрын
You've made ai snake videos entretaining. Respect.
@oguzkaanaybak
@oguzkaanaybak 6 жыл бұрын
Why do they all have a name that starts with an "S"
@confushisushi
@confushisushi 6 жыл бұрын
The world may never know...
@MrHelixGaming
@MrHelixGaming 6 жыл бұрын
Because they are Sssssssssssssssssssnakessssssss
@sesamtoast9431
@sesamtoast9431 6 жыл бұрын
Of course it is easy for a computer to play snake, because it can have every single pixel in his eye, without losing his concentration !! You should lower the input Pixel to like 100 or something and let the computer decide wich pixel he want to put a focus on!!!
@Llorx
@Llorx 6 жыл бұрын
Is not about a computer playing snake well. Is about an AI that learned to play snake by itself, without any logic programmed by a human that already knows how to play snake. Is pretty impressive.
@sesamtoast9431
@sesamtoast9431 6 жыл бұрын
Llorx - GamePlays variados :P Ur right, this is already impressive, I just gave him some ideas :D
@sesamtoast9431
@sesamtoast9431 6 жыл бұрын
Adrian Godoy Oh yes, right Dx
@benbooth2783
@benbooth2783 6 жыл бұрын
If you watch some of the other videos, the narrator explains that the AI's can see in 8 directions and can measure the distance to the food, the wall or the snakes own body.
@cuttheskit7905
@cuttheskit7905 6 жыл бұрын
+*SesamToast* If I understand it right, the AI can't see every pixel, it can only see in straight lines along the 8 columns, rows and diagonals from it's head (at least one of which is always filled by a piece of it's body). That's why it freaks out and loses when it starts spiralling. There's a way out, but it just can't see that and so it's basically a 50/50 as to whether it traps itself by going one direction or gets to freedom by going in the other. If it knew where every pixel of it's body was and could plan a route to freedom using that it might be pretty flawless. Given that the AI doesn't actually understand what it's doing (at least at the start), it's pretty impressive that it can do so well.
@ElicatrothTV
@ElicatrothTV 6 жыл бұрын
this was more fun than I expected to watch
@MrIzzy5466
@MrIzzy5466 6 жыл бұрын
I love how you can tell when Steven takes over. He's like "1 million turns in 1 second! GO!"
@flooreijkelboom1693
@flooreijkelboom1693 6 жыл бұрын
This is best thing I've seen in a long time
@cursh6898
@cursh6898 6 жыл бұрын
Amazing. Seeing the AI change its personality by its movement was awesome. This reminded me of the movie "Split".
@parkerweech3125
@parkerweech3125 6 жыл бұрын
Awesome videos. I’ll be following!
@CarlosHernandez-uj8vo
@CarlosHernandez-uj8vo 6 жыл бұрын
This is strangely beautiful in a way
@TheActualSsotyi
@TheActualSsotyi 6 жыл бұрын
I'm nothing into programing. I'm pretty much just an everyday guy. And man I AM AMAZED what you just did. I have no clue how big achivement is it in the programer community. But for me it's jaw dropping.
@thecommandblockuser6939
@thecommandblockuser6939 6 жыл бұрын
This video is brilliant. You are so smart. Great job 👍.
@rage8010
@rage8010 6 жыл бұрын
omg...this is awesome... LOL Please do more!
@iamseamonkey6688
@iamseamonkey6688 6 жыл бұрын
think that this channel just popped up out of nowhere at the beginning of 2018 (this year if reading in 2018) and since then has gained 156K subs! IN 6 MONTHS!!! this proves how much people love AI's
@tazerrtot2095
@tazerrtot2095 6 жыл бұрын
right at the end there I was like "why?" and then you said the same thing right after. Made me laugh
@gallmatr
@gallmatr 5 жыл бұрын
I love how it has the momentary "I'm gonna die" flash of white after reach time it gets food.
@greggydude
@greggydude 6 жыл бұрын
What an excellent video!
@mazda9624
@mazda9624 6 жыл бұрын
8:08 broke my heart. It was doing so well and then just gave up
@alankusparmakov9330
@alankusparmakov9330 6 жыл бұрын
Snake: "What is the purpose of my existence?" Creator: "You're a program that exists only to play a simple two dimensional game of eating squares, and I created you for my own entertainment" *snake kills self*
@ShinoSarna
@ShinoSarna 5 жыл бұрын
The whole 'mind fusion' is so cool, honestly. The idea of several AIs fusing their networks into a single superior one is something straight out of a cyberpunk novel (in fact, it's a plot point both in the original Ghost in the Shell and Neuromancer) - but here it is, in the actual reality. Amazing.
@ooberholzer
@ooberholzer 6 жыл бұрын
Dude.... That's amazing!!!!
@starfirei3356
@starfirei3356 2 жыл бұрын
Somehow the music fits perfectly with the changing colors, and ended the section on the last run right when the snake died.
@quitsdrop6995
@quitsdrop6995 6 жыл бұрын
I was waiting for this :D
@sixty502
@sixty502 6 жыл бұрын
I have been subbed since part one I know that's not that long ago but i loved your vids
@KaletheQuick
@KaletheQuick 5 жыл бұрын
You should do another fusion AI video. This was so awesome!
@johnsontheguy5177
@johnsontheguy5177 6 жыл бұрын
Oh, I just found out this was posted on my birthday. Nice
@alexandrerdnaxela
@alexandrerdnaxela 6 жыл бұрын
Really amzing to see that AI can have sort of personnality and that some are better than other
@Uveryahi
@Uveryahi 6 жыл бұрын
I was entranced and then at 2:00 that flippin' sound in the music almost stopped my heart x)
@cortster12
@cortster12 6 жыл бұрын
"She is also very good at avoiding her own body." Priests would be proud of her.
@accidentalgencide7492
@accidentalgencide7492 6 жыл бұрын
Can’t wait for a pt3
@AllFlimmits
@AllFlimmits 6 жыл бұрын
Nice syncing of the snakes getting the red dots with the beat of the music.
@erikaadvisser
@erikaadvisser 5 жыл бұрын
Nice! I like this experiment. And also that you publish your code! As a random side effect I now understand why Arduino programs are called sketches :)
@claytorpedo
@claytorpedo 6 жыл бұрын
Neat project! Looks fun, I might try something like it.
@over-analyzing-anime
@over-analyzing-anime 6 жыл бұрын
cant wait for part 3
@jayd777
@jayd777 5 жыл бұрын
I love how the music almost matches in tune with the snake's movements! Especially with Skye at 1:41!
A.I. LEARNS to Play Hill Climb Racing
20:07
Code Bullet
Рет қаралды 7 МЛН
How to Win Snake: The UNKILLABLE Snake AI
17:05
AlphaPhoenix
Рет қаралды 2,2 МЛН
IS THIS REAL FOOD OR NOT?🤔 PIKACHU AND SONIC CONFUSE THE CAT! 😺🍫
00:41
Whyyyy? 😭 #shorts by Leisi Crazy
00:16
Leisi Crazy
Рет қаралды 20 МЛН
Китайка и Пчелка 4 серия😂😆
00:19
KITAYKA
Рет қаралды 3,7 МЛН
AI Learns to Play Tag (and breaks the game)
10:29
AI Warehouse
Рет қаралды 1,4 МЛН
A.I. Learns to play Flappy Bird
7:46
Code Bullet
Рет қаралды 14 МЛН
I Made a Neural Network with just Redstone!
17:23
mattbatwings
Рет қаралды 592 М.
Computer evolves to generate baroque music!
18:13
carykh
Рет қаралды 2,4 МЛН
Neural Network Learns to Play Snake
7:14
Greer Viau
Рет қаралды 4,5 МЛН
AI Learns to play the Worlds Hardest Game
6:54
Code Bullet
Рет қаралды 6 МЛН
Can AI play a track it's never seen before? | Mario Kart Wii
10:06
AI Learns to play Snake!
9:28
Chrispresso
Рет қаралды 109 М.
Multi-Agent Hide and Seek
2:58
OpenAI
Рет қаралды 10 МЛН
Minesweeper Opening Strategy: Breaking 50/50s
7:59
Mine Buoy
Рет қаралды 406 М.
IS THIS REAL FOOD OR NOT?🤔 PIKACHU AND SONIC CONFUSE THE CAT! 😺🍫
00:41