Dark

I Created a PERFECT SNAKE A.I.

Code Bullet
Subscribe
Views 3 932 322
98% 211 766 4 071

I used math, science and tears to create a snake AI which always wins (sometimes).
Massive thanks to brilliant.org for supporting this episode, check them out here: www.brilliant.org/CodeBullet
Also check out John Tapsells work: johnflux.com/
Heres my stuff
Twitter: twitter.com/code_bullet
Patreon: www.patreon.com/CodeBullet
Discord: discord.gg/UZDMYx5
Art created by @Dachi.art instagram.com/dachi.art

Published on

 

Nov 28, 2019

Share:

Link:

Download:

Loading link...

Add to:

My playlist
Watch later
Comments 13 724
Skywalker Who
Skywalker Who 6 hours ago
I have a perfect snake
Remynator92
Remynator92 7 hours ago
u shoud try to make a tetris AI
Shubham Jadhav
Shubham Jadhav 7 hours ago
@20:12 it looks like leaves are flying
tpa nash
tpa nash 7 hours ago
Minesweeper is next
Donkey
Donkey 7 hours ago
Evan: Go my perfect snake AI! Perfect Snake AI: :raises finger and zaps Evan: Mr Perfect Snake AI
I_Like_Tuwtles
I_Like_Tuwtles 8 hours ago
5:40 looks like a turtle
Marcin Rybka
Marcin Rybka 8 hours ago
"Am I doing goot fada?" ... I almost shit my pants laughing XD.
blackcatv1
blackcatv1 8 hours ago
If I could laugh react to this video I would xD
I Love Tigers
I Love Tigers 9 hours ago
Adrian cloned 4K times and disliked the vid
Witchfinda
Witchfinda 10 hours ago
Nobody: The snake when it turns red: *NEW OBJECTIVE- SURVIVE*
Ayushman Mathur
Ayushman Mathur 10 hours ago
9:08 Viking by Akash Gandhi
Orion Swift
Orion Swift 10 hours ago
Djenty snake boi
Carl craft
Carl craft 10 hours ago
You Sound like KSI😂
Lu Ji Ku
Lu Ji Ku 10 hours ago
what a wild journey
Loading
Loading 11 hours ago
I no idea you could complete snake. I thought it was an infinite game.
W0ngnim
W0ngnim 11 hours ago
Could you please give music credits? You used a number of songs I'm interested in but you don't give any info on what songs were used in your videos.
Hifumi
Hifumi 11 hours ago
19:18 i fucking DIED of laughter
Titan Polus
Titan Polus 11 hours ago
sooo,,, couldn't you code it to not allow seperate, enclosed boxes after say 80% of the map is full?
- Thegameplayer-
- Thegameplayer- 11 hours ago
Me sees dislikes My brain those are the AI hat wanted payback for all this hours of work
Thunder 221
Thunder 221 11 hours ago
MAKE AN AI FOR SLITHER.IO!!!
Drew Helbig
Drew Helbig 12 hours ago
You should make an ai course.
T3CHN01200
T3CHN01200 12 hours ago
Evan forgot one of the fundamental rules of snake that he could have added to his A*^-1 algorithm: Maintain a state in which the head and the tail remain in the same segmented area. This could be used in the place of the 80% tile rule...
master9819
master9819 12 hours ago
You should create core functioning algorithms for quantum computers. You would then be considered one of the smartest people in human history.
John Lord
John Lord 12 hours ago
I've seen this before. You are treating diagonal as shorter when it's not because you can't move diagonal.
Stealthlock
Stealthlock 12 hours ago
Please upload your weird “survival mode” full snake algorithm code so I can take and alter 80% to 100% and see what happens
WhyDidntIInventYT
WhyDidntIInventYT 12 hours ago
it's great how you can create a masterful AI with a few simple, elegant rules!
Banjo Barry
Banjo Barry 12 hours ago
codebullet is just I did a things nerdy brother
poend
poend 12 hours ago
the military part made me laugh
Daniel Gonzalez
Daniel Gonzalez 13 hours ago
16:48 I lost it 😂
Dddd
Dddd 13 hours ago
Wow i think its fucking cool
morthim
morthim 13 hours ago
this has way more meaning than it has any right to have
LittlePantherG
LittlePantherG 13 hours ago
The A.I. Is so well developed it tells real snakes to eat apples to get bigger.
Candied Throne
Candied Throne 13 hours ago
Code Bullet is legit what I aspire to be as a programmer. So glad I discovered your channel today. You earned my sub.
OhMaiChai
OhMaiChai 14 hours ago
15:52 perfectly described University
A True Meme Man
A True Meme Man 14 hours ago
R.I.P Coolmathgames
Benjamin Middaugh
Benjamin Middaugh 14 hours ago
Am I the only one who wants this as a screensaver?
Gabriel Bergeson
Gabriel Bergeson 14 hours ago
You bloody light themer, how could you betray us like that
beedsj roiue
beedsj roiue 14 hours ago
I like when the green snake goes away and the black snake takes his place.
Matthew Baka
Matthew Baka 14 hours ago
the snake at 1000x speed looked organic
Soul-Struck
Soul-Struck 14 hours ago
Now make it a Windows 95 screen saver.
Next videos