Greer Viau
In this project I built a neural network and trained it to play Snake using a genetic algorithm.
Thanks for watching! Subscribe if you enjoyed and Share if you know anyone who would be interested!
GitHub Repo: https://github.com/greerviau/SnakeAI
Twitter: https://twitter.com/greerviau
Support me on Patreon: https://www.patreon.com/greerviau
Thanks to Josh Cominelli for the music!
Soundcloud: https://soundcloud.com/josh-cominelli
Source
anyone knows the name of this song? I cannot find it
I don't even know what is that but it's interesting.
That's stupid, this is a simple game it should be possible for a computer to solve it
after 55 years of AI this is all we accomplished. shame on mankind
Actually did highscore than me playong snake all my life
It's like watching my son growing, so frustrating, but so fascinating that I felt proud for the snake.
But with the 30th generation I think it's time to make him stop playing videogames, they're ruining his brain, DAMNED CALL OF DUTY DON'T YOU SEE WHAT YOU'RE DOING TO MY BOY?
thanks for showing us
I would love to see your code for this!
Why the does ai look like it's constantly trying to flex on you the whole time 😂
Gen 30 looks like a normal player but gen 14 looks like a pro player bored and just messing around
00:51 Me when I should study.
2:26 I train my dog everyday and that's the best it can get
Ai think that if you have scored for score= socre + score/time it would have developed better solutions
I like how it developed a way of going diagonally
1:20 it’s easier not to die if you don’t eat anymore food 😏🤏
Generation 255548: Where is Sarah Connor?
Tell me how do I make one myself?
Humans: computers will take over the world and destroy us all
Computer: hehe line go zoom
Круто!
5:54 holy shit did you guys see that
oml what the fuck
Rick & morty season 4, episode 5
он всегда двигается в левый бок. там походу стартует)
Quarentine day 200, me:
did it ever win?
what are the 24 inputs?
That's good
Please explain more about ur learning and input vector of nn
tnx
This thing it so cute. I mean… it's literally just white squares but I would totally keep it as a pet with a window into it's brain.
Make video explan how this does work.
No one:
YouTube when my lil brother uses Wi-Fi 1:22
4:44 It feels like the reason that clockwise direction is orthodox instead of anticlockwise rotation is just because it comes from the natural selection?! Or would it be a coincidence?
Nice work bro
Un poco de todo?
UN POCO DE TODO?
Un poco de todo
like si vienes de UPDT
what are the inputs?
thx for the nice video
This is mind blowing!!
Great work @Greer Viau
One way it can avoid this kind of a death is if the locations of all the pixels of the snake are given as input to the neural network and not just the start and the end.
You can see that it learns that when the head is just above the tail (or above and diagonally left of the tail), then it has to go right to avoid eating itself. But, when it gets stuck in a loop of its own body, it does not know that it's body is there. So, it would become very difficult for it to learn that it should avoid its own body when the tail is far away.
What language did you use?
wich ide to run project
I love that if you said one of the middle generations was a human player, the viewer would just think they were showing off.
Skynet
can you please do a walktrough where you go over the code and explain what it deos? It would be awesome
that's cute actually
The snake hates leftists.
Why does it always rotates clockwise?
RudyGuliani.live.streaming.scanning.on.com
AndrewCuomo.live.streaming.scanning.on.com
What’s the algorithm tho
The snake fails because it can't see as much as we can. If it knew about spacial awareness it would work better, but that would require a very complicated network to be evolved.