AI learns to play Google Chrome Dinosaur Game || Can you beat it??
Vložit
- čas přidán 28. 04. 2018
- Using NEAT I created an AI to play the Google Chrome Dionsaur Game, and its awesome
Big thanks to Brilliant.org for supporting this channel check them out at www.brilliant.org/CodeBullet
Become a patreon to support my future content as well as sneak peaks of whats to come.
/ codebullet
Check out my Discord server
/ discord
Hey guys
I know its been like 2 months
but the source code is finally on github
check it out here: github.com/Code-Bullet/Google-Chrome-Dino-Game-AI
sorry again about the lateness
enjoy
Code Bullet thanks
can I just copy and paste all of these files into processing(the software you use) and it will work, or do I need to add or take away anything?
thanks ;D
Amazing
thanks :-)
Damn, this Dino is faster than my internet connection.
* Hold my absence of internet connection *
@@YeprilesteR how can you write without it?
@@hendeyjagger7489 sticky notes xD
@@YeprilesteR you could have been cool if you would have said
It's my Nen-ability
@@YeprilesteR this anime-language
I love the dinos at the start that just ducked the entire time
That’s me
9 g
That picture is terrifiying
They are trying to break the cocktus
Nope not at all
Plot twist: There was no ai, He's just good that the dino game
XDD
@@ajayagrawal5806 why don’t you understand the joke🙄
Nah he just have a very good gaming chair
@@michaplucinski142 ah yes reaper one of the best mobile games I've gotten
@@ajayagrawal5806 r/wooooosh
“The highest bird cannot be jumped over”
Yet i time an early jump and it’s happened
i dont have to duck on the low birds
Just run under the highest bird. You don't have to duck or jump.
It's completely possible to jump over all 3 tiers of birds. First tier at ground level needs to be jumped, second tier at head level can be either jumped or ducked, and you can just run under the third tier bird without doing anything. However, the dino's jump height is slightly higher than the third tier bird's height, so if you time it perfectly you can barely jump over it. It's easier done at higher speeds
“The owner of this device has turned off the dinosaur game”
NOOOOO
That happens
*nooooOOOOOOOO*
Bruh like all schools banned the Dino game.
@@armnbepry i didn't know that like biiissshhh why have i not heard that in My school
This game is a lot funnier to watch if you imagine the cacti being thrown violently at a dinosaur
Kono baka!!! Throw cactus at dino violently*
And birds
yeets birds at dino violently*
Niqsy Arcadia the fuck are you saying
@@honeystly_disgusting6393 kono Baka = you moron
The blank look on the dino's face while crushing the game tells me he is a pro
i think the fact that he’s crushing the game tells you he’s a pro
i think the fact that he's crushing the game tells him that he's a pro
I love the fact that you even coded in the dino smiling every time it jumped just something I noticed. :)
"but we can do better"
Me: *Dies when i get to 500 because i get excited*
My high score is like 900 but my average is 70-300 lol
I remember once i got like 8000 while my friends were watching me at a birthday party and ive been trying to beat it ever since... still don't know ifit was the birthday cake or the 10 year old brain of mine imploding.
My highest was like 2500 but I usually get like 50-200
I hit 3k when I was 10
I get 2000+
I kept waiting for the screen to go inverted, then I remembered that this isn’t the actual game
@Flunkyvs Lacky that makes SO much sense lol I'm an idiot 🤣
Heather Hudson I’m terrible at that game, at what score does that happen?
@@haydenlittle4804 700
Arc Ade thanks
What do you mean inverted
Plot twist: the dinosour isn’t moving the obstacles are being thrown at him
well you could create the game this way and it'll work the same way
I wouldn't be surprised if that's how it's programmed
@@Liggliluff That is actually how it is, the dino isn't given any velocity. Its the background and the obstacles that have velocity
He’s just on a treadmill
@@dragonasu6641 a very violent one
Fun fact: you actually can jump over the highest bird, you just have to be going very fast (usually after the 2nd or 3rd night)
Mom: Get off the games
Me: No hehe
Mom: *Turns off wifi*
Me: My goals are far beyond our understanding.
Lol 😂
Minecraft: Allow me to introduce myself
@@williamgandarillas2185 civ also
I can't do do the dinosaur game for some reason
If you are on a laptop you can simply disconnect the internet on it from the bottom right so
Anyone else noticed when the dino jumped it smiles
Damn.
Yep
NOW I CANT UNSEE IT
Yep
@@nicoleholland-hall4326 *stabs self with a katana*
my heart broke when he said "no. no we cannot."
He was just joking.
Just think about it....
If it is possible to reach 20000, then why can't 5000 more?!?!?
@@playerscience increasing difficulty?
@@playerscience he prolly cut the vid off cuz it was too long
Plot Twist: Code Bullet is actually just playing and he is a master at No-Internat Games.
Before 7 minutes:
*T-rex runner*
After 7 minutes:
*Running in the 90's*
666 likes
or *Running From the 90s*
This is most likely not going to to be found, but if you time it right YOU CAN JUMP OVER the Tier 3 bird.
Yeah, i actually did it one time
I did not know you could duck and have gotten into the multi thousands... I was bored and had too much time for sure
@Lance Gratner Yes, it is my friend, just by waiting about half a second before you see the tier 3 bird jump and hold the jump and boom your over it.
i was also going to say this
@@ysiscastro1538 lies
The internet: honey im not working, time to play endless levels with no end
The dinosaur: yes ma'am
I loved playing this game (I'm an Australian with Australian problems too), and I ended up going just above 10k. If I had to change anything about the game, it'd be the speed of inverted / zone mode coming back into play. In which there'd be a time when reached to certain checkpoints that'd speed the player up, letting them have a rest afterwards. I think this is what this game needs to be "human" possible.
The Gen 4o dino : I'm travelling at the speed of light, I wanna make a supersonic man out of you.
dont stop me
@@joshuathomas5427 what's wrong with that
donbt stop me
@@gene8841 noooowwwww
Queen🤓
Me: "Mom, can we have internet?"
Mom: "No, we have internet at home."
Internet at home: ___🌲__🌲🌲___🦖____🦅___
notahotshot bruh
Hey idiot more then 90% percent has WiFi at home idiot
@@ryancrouch5349 I ALREADY HAVE MY MILKBDI I DON'T NEED YOU MILK
Puzzlez Solving hey idiot, than*.
Whats between tree and bird?
Fun fact: actually this dino game took 14 years of nonstop gameplay to beat this game
lie they said it takes 17m years
@@istillcantthinkofaname7993 that's impossible bc m stands for million, and the dino game dint exist back then idiot.
Untrue if you go in console u can use a command to set your speed way higher
I haven’t looked into the code or anything, but rewatching this video it might be possible the obstacles hit boxes just weren’t continuous, meaning most of those cacti were simply passing through the AIs hit box
Sonic: "I'm faster than the speed of sound!"
Dino Dude: "What an amateur. ;)"
Sonic:I am the fastest creature
Flash: NO! I'm the fastest
Unknown: AMATEUR!
both:what did you say punk!?
Google dino played by A.I.: AMATEUR!!
It's faster than the fps
He is faster than your fps counter on your pc
Dude, Sonic is faster than the speed of light, wait 1000000000 X the speed of light.
@@jenniferbergman5583 r/whoooosh
I cant even express how many times I've played this when I've been in a bad signal area, but I never knew you could duck before today.
You cant duck on your phone
I never knew since this
Evan in 2018: I'm a nerd
Evan in 2020: Lets bully some nerds
That didn't age well
(Edit) I got way more likes than I ever had, thanks
Well the 2020 thing is a joke anyway
Well he bullies himself by making this stuff, so technically, no, it actually aged well.
Wait a min WOAH UR PROFILE HAS MY SKIN WOAH TWIN BRO
The problem with this replica is that the speed of the obstacles changes but not the rate at which they spawn, so he jumps just as often as in the beginning
Perhaps it has something to do with the fact that the dino's jump and land speed are constant throughout the game. Increasing the spawn rate would make the game literally impossible to play at higher speeds.
actually, all obstacles in the dinosaur game can be jumped over, except the high birds which can be ignored.
Pangglet Buttcheek that's not true, all obstacles including the high birds can be jumped over, I've done it several times, you just need speed and timing.
Pangglet Buttcheek that isn’t true if you get far enough in the game and time your jumps right you can jump over even the highest birds
39 .
The pterodactyl?
Aeshya Abijith Ducking is virtually useless in the game.
It never learned how to small jump, so he is the type of player that smashes that space bar button.
Kiraro The Kitsune so, like me. why does a small jump even exist???
TZR I don't know
what ? so there is small jump also .
Kiraro The Kitsune no such thing as 0.5x space presses
You Slumber, Cucumber The game has a small jump if you don't hold the space bar
“This game has been disabled by the administrator”
Me: well, shit
3:28 I'm pretty sure that's a pterodactyl, but they're both flying animals so same difference.
Ye I think it is
*Young me being the fanboy of this game* WHERE THE HECK IS THE NIGHT TIME MODE?!?!??
Bruh "fan boy"
That's the best part too
@Samuel Emery for reals tho
@@eeeeee8762 500 I think
HONESTLY
A.I.: What is my purpose?
Me: you jump over obstacles
A.I.:oh my god
MultiBros 01 nice Rick and Morty reference 👍
MultiBros 01 you serve butter
Yep welcome to the shit show buddy
MultiBros 01 you pass the butter
Boom Bob *welcome to the club pal
The only reason I know about this game is because someone told me you would get the internet back if you played it 🤣😭
3years ago, I wanted to rewatch your vids for a few days, thanks recommended.
The dino smiles when it jumps
Skullcruzher 1 or does it jump when it smiles?
@@emilau11 lol
@@emilau11 oohhh man🤣🤣🤣🤣
@@emilau11 you get a *hMmmMmMmMMM* for that
No shit
the one guy ducking all the time: *"one day..."*
Fun fact: every multiple of 7 in the hundreds it turns to night
4:54 another not very long thing is...
You forgot to teach the AI to say *ez* when it wins.
it will learn it by itself
BroGaming ZJGDude05 u cant beat it once u get to 999999999 u restart trust me ive been there watch my vid im not lying
E Z
You can't ever win. At some point you'll lose
@i can see you he means that he is an australian
Plot twist: Code bullet is a master at the game and beats it giving the AI credit
Big brain
He is showing the coding “genius”
@@SinkPisserthePlumbingPlauge it's called a joke mate
Xxx Zzz a joke that you didn’t get
@@burnttoast6974 what are you on about mate, the guy I responded to deleted his comment
love how the counter matches up with the music in the timelapse
“No, but we can dream”
Ad: and I’m just gonna- yeah, sit right here
5/10 Did not include night-day cycle
You mean the sudden epilepsy you get after 100
@@Bbb-112 700*
He also forgot the cute party hat and all of the cacti 🌵 were too spaced out from eachother so the AI never needed to small jump.
Yeah I thought about that
Lol the cycle is bad, it's very sudden and sometimes makes me lose.
Cb : plays for hours.
Google : give this man an internet connection
Cb:no no we don't do that here
a*
@@joep2199 actually,he's right its spelt "an" with internet
Your right..
It just dont feel natural
FBl doesn’t
I find it so odd how by just letting a robot do random stuff you can teach it how to do this with incredible accuracy
The robot isn’t exactly random. I mean, it is initially, but it very quickly develops into one or more structures based on your incentives and culling process.
its neat how the jumps match up with the music
My man tricked us into watching his gameplay for 10 minutes
Yeah because when I play dino sometimes it became dark and I think his version is just a redone-done of a film just pass forward
Gyro butler04 He made his own game so he can us the AI. So he probably just didn’t add some the of the features
@@bradenh495 no he's just using an older version dumbass
RJH no he coded it himself dumbass
@@rjh4530 he made it himself dumbass
_When you put copy pasted code into the dinosaur game to get millions of points_
*I am Mr. Hackerman*
oh fuck. lol
Aaaaaand helloooooo
Ur fucking everywhere
Yeah sure mind warehouse posted a video for the cheat lol
Hey you said your a wholesome lad... cHeAt
Syn really? I’ve never got the no internet screen so I haven’t
I think I've watched this channel so much I'm learn8ng how code evolution works
I like how occasionally the jumps would line up with the music
These people love WiFi as u can see in the replies.
True.
FREE WIFI FOR LIFE!!
Id be cool if they actualky did do that and it wa like for 24 hours
i always thought it was likt that lol
@@lemurlemur7734 its endless
Did someone noticed..dino smiles when it jumps!
yup noticed it on his game only
I know dino-girl who smiles too, storage.investagrams.com/files/Account/53246/Post/2018/03/User_53246_Image_Post_20180323-063030_df00484a-7337-4a0c-ada8-3356746e4b88.jpg
Rageshwer Singh I did! :D
yes
Yup
its actually nice to hear no abuses, in his later-on videos, you can hear nothing-else but...
CodeBullet: The highest bird cannot be jumped over
Me: *oh you have no idea what’s possible*
(Yes I’ve actually jumped over the highest bird lmao)
Same
Here in finland, we mostly use computers in schools for our studies, but the thing is, there are too many people trying to use the internet so it crashes pretty often, so I too am way too familiar with the fucking dino game!
sakmi kuhl I'm Aussie and live in the outback and so I became a master at this game
Here in the U.S., I have good internet, but the county that owns my school must have gotten the basic package, because when thousands of computers and phones (for Kahoots) are connected, it goes down constantly. Dino game time
sakumi kuhl It sucks even more when your school blocks the dino game.
how the fuck can they block it?
Torilla tavataan perkele
*A T-Rex in his Natural Habitat*
*The desert*
*Doing its regular activity: Running forward endlessly until it dies by crashing into a cactus or... a bird...*
*and then sitting still until someone forgets about it*
*and jumps on the cactus*
Who would win?
An animal which at the top of the food chain
Or
Some spiky boi
Thank you brilliant really helped me and now i know how to code. Not hardcore one but i can code simple programs.👍
i like how the dino smiled and gives a thumbs up when it jumps
What?! You can CRAWL!!?
I was jumping this whole time to avoid that bird!!!
AMGO Plus I'm ded
I only ever play it on my phone when there isn't wifi around. I'm not even sure if I can crawl.
Leo122188
On ur phone u can’t crawl lmao
I learnt from my friend lol by my high score before I learnt duck/crawl is 1000 and high score after learn duck/crawl is around 3k
AMGO Plus how do u crawl
Anyone notice that he smiles when he jumps
I mean I would be happy to not crash into a cactus (with my SKIN the only thing protecting me ) at maybe 100 miles per hour
yes of course
Yeah, because I see the world through fps
I didn't, thanks >_>
oh yeah that does happen
I'm not certain why I'm watching this at 3 am on a Thursday, but I'm glad it happened and I hope you have a wonderful day.
Actually, just a tip, in some versions of the game, the tier 3 bird is actually high enough up that you don't need to react to it at all, you don't even need to duck, so in those versions, the tier 3 bird is just there to throw you off.
The legends says that if you win this game your internet will start backup again
I kno, but its 2 longgggg
I heard that if u die exactly 666 timesand reach the fastestu can tho
@@gabygacha6609 dumbass
@@jahmilly937 You belong on r/wooosh
josemari gene milagroso chill out toxic fucking asshole ur butthurt af
what is my purpose?
you jump the cactus
Yeah, welcome to the club, pal.
I was made to serve butter
My purpose is to Pass the butter
No what’s my purpose a bird and kill a fucking t-rex
oh god
I like how through the entire thing small jump was never used
The music for these things is so sick
Plot twist, it was him playing the hole time
playing the hole?
*whole
*_hole_*
finally edited.. wait the mistake is still there
Really? a xbox one profile pic
@@Moonlakes he'll fix it......eventually
Why Did You Abuse Me.
When You Play My Game
I Just Run And Jump For Several Times. Please Stop!
Ooohhhh GOD
Wow your name is no internet wow just wow
Is this my stunt double?
@@danielparvin9083 HAHA xD
Oh i'm sorry... i though you loved that..
I would love to see a live stream of this run for a full 24 hours it would be so much fun to watch the ai learn
I like how the dinosaur is casually running faster than the speed of sound
I'm disappointed, it doesn't invert colour at 700 score
ImOmniscient And where are the clouds?1?11?
Quazar _omega sugma
Hubert Hilla
*SUgMa wHaT?*
_ok ladies and gentlemen, we got 'em_
*"Baby I'm yours" starts playing*
The main cause of warps in all of reality Oh no you got me, now I'm going to cry in a corner
Yeah. My high score is 2030
There are actually a couple things you've missed, here...
-The highest bird is actually high enough that you don't need to duck at all.
-Pressing down while in mid-air _makes you fall faster._ Sometimes the game generates objects so close together that you _need_ to use this to land in between and still have time to jump again.
Nyerguds To someone who knows this much of the game I pity you... Someone give this man good internet.
It doesn't matter if its already that fast because the computer cant react to close together cacti because they haven't spawned yet and the high bird ducking makes no difference but u can duck the middle bird this way
It d9esnt matter at least these ai is better than me
I commute by train. no internet there. I often end up playing the game on my laptop to pass the time.
Beats spending an hour in a traffic jam :)
code988: The point is, this game reconstruction doesn't even add the 'abort jump' mechanic, meaning the whole thing is inaccurate. I saw someone actually hook this kind of AI into the real game, and it ended up keeping 'down' pressed pretty much all the time when not jumping up to clear an obstacle.
Keep it up, nice video clip, thank you for sharing it :)
no one:
code bullet : im going to program a ai that beats the dino game
also code bullet: literally codes the whole dino game
I also don't last very long in bed.
*relatively*
Why you little....
Neither does your mom! *snaps in a 'Z'*
Anthony Smith i
meme
Anthony Smith n
Gen 40 is an accurate representation of me when im late for school in mexico
Your name is a sin.
What type of candy was it though
@@xnoyt8516 jawbrakers
@@deppresoexpresso4371 oof
@@deppresoexpresso4371 WHA-
I like how the dino smiles when he jumps
You make great vids
*Tries the game*
*dies*
*Quits life*
Sad story, like if you cried
Sad story, begging for likes
Chill bro I don't want to fight
gwapo _ kits lancelot rip
*-L M A O-* not begging for likes, it's a meme.
you are amazing man
I just now realized the Dino smiles when it jumpsssss
If your administrator blocks it, when you press space a meteor shows up and the Dino has wide eyes
It's too soon..
Lmao iBoss
Google is so cool for how lowkey they are.
Yeah, that happens to me with mi chromebook.
That happened to me when I tried to play it in class
*When the computer can beat it's creator...*
Never
@@ther701 good joke)
I laughed
I'm 30th sub :D
Our limit
Isn't that what Skynet is for?
I like how you made him smile when he jumps
That was mesmerizing.
In Australia the dino could be a kangaroo.
Philip Supuran nah it’s not. But it be cool tho
I live in Australia, never seen a kangaroo
@@Scourgeoftengri why are u giving birth in a reply?
yeah but I think the t rex is representing that in the dinosaur age there was no wifi
What is an Australia?
Finally, a CZcamsr that knows the similar experience of Aussie internet (for Americans, we sometimes just don’t have it at all)
It's not unique to Australia. It's just anywhere that's not a major city. My family lives in a decently rural area *just* outside the city (literally 2 like minutes away from the border) yet they pay more for 25 Mbps that drops all the time than the average person pays for fiber.
Can we talk about how well the gen 25 dino is synced with the music?
You can confess to me. You're just really good at the game. I understand the struggle with Australian internot.
4:05 And, when I came back... this had happened :
*The AI had gotten sentient and took over my computer*
try it like this you can see end without any fear czcams.com/video/uviiIswXwZM/video.html
fun fact: you can play the Dino game online by searching "chrome://dino" into Google Chrome.
How about offline but someone has blocked that action (you know school teacher)
@@muhamadsoleh2517 if you just search anything offline it will just play the Dino game
I just search up Dino game google
@HafidzW Fuck you
HafidzW Haaa!!! Jokes on you! Firefox lands on Google search page by default, cuz Firefox is supported (donor or sponsor) by Google.
i am new to this channel and his voice scared me at the beginning XD
This guy seems like he keeps a steady schedule
Australian dude: *invents wifi*
Also Australia: *literally has the worst wifi in the world*
Me who is Australian and lives in Australia: *WTF?*
That's because your wifi is upside dow.
CRITAWKETS Hmmm I never really thought about that, maybe you’re right... T^T
oh boy you haven't heard about Iran's wifi did you?
꧁ Kitty Boi ꧂ nah our wifi isn’t the worst
You need to train your wifi model to run even faster
For anyone wondering, the song from 6:34 onward is called _Hyperspeed_ by Eveningland.
Not all heroes wear capes
I love you i was looking everywhere
U saved my life from searching the whole internot
thanks, no problem. I found this song using Soundhound, it spat out "Mouse" by some chinese guy who uses stock CZcams Audio Library songs as background and sings some stuff over it.
When you look for background songs, then the CZcams Audio Library, epidemicsound and Audio Network are good starting places, and so is researching/asking on Reddit
No it is "Darude Sandstorm"
I love how the Dino smiles when he jumps
That is awesome!