Ok the source code is finally up sorry it took so long but my implementation of NEAT wasn't very.... tidy so here it is github.com/Code-Bullet/Asteroids-with-NEAT
@kirtansoni90486 жыл бұрын
Code Bullet thanks allot..
@tashquantum6 жыл бұрын
I think it might be interesting to apply this to the snake game
@SimplyByNP6 жыл бұрын
Bro two qs: is it easier to use python and do you use GPU for it
@nathangman1066 жыл бұрын
Can you put this thing on a 14 day World of warcraft trail
@JecIsBec6 жыл бұрын
"implementation of NEAT wasn't very" me: plz no "tidy" me: thank god
@Aeronaughtica6 жыл бұрын
Finding a new Code Bullet video is like walking into a record store in the '60s and finding a new Beatles album. You're not exactly sure what you're in for, but you know it's gonna rock your world.
@IotaBlack6 жыл бұрын
Hydraxxus z i want to like but I can’t ruin the perfect 42
@TheCassiusTain6 жыл бұрын
the 42 is ruined already, let's make it a 1337
@SoggyCoffeeAddict6 жыл бұрын
Hydraxxus or buying an unnamed Nintendo 64 carterage at a garage sale
@MetalJordy6 жыл бұрын
cupcake kitten it could be a haunted Majora's Mask cartridge.
@christianschweda25306 жыл бұрын
That's a really fine comment you've got there. Mind if I +1?
@ariovistus14916 жыл бұрын
Incorporating humor into plain text panels is not easy. Good job.
@TlalocTemporal6 жыл бұрын
Reminds me of Danny2462
@haroldbalzac63364 жыл бұрын
Reminds me of old A Jollywangcore
@totally_not_a_bot6 жыл бұрын
You have six videos and 20k subs. That's impressive mate. Almost as much as the fact that you get so much personality into videos made solely with clips and text overlays.
@simonmaracine47216 жыл бұрын
Now he has 325k subscribers...
@WymanandBrad6 жыл бұрын
Simon Maracine you replied 6 months later man
@simonmaracine47216 жыл бұрын
@@WymanandBrad I know. I wanted to point out that the amount of subscribers grew so much.
@WymanandBrad6 жыл бұрын
Simon Maracine Gotcha I didn't see the Now
@thatsguy11114 жыл бұрын
Well after 2 years he has 2mil
@KingGrio6 жыл бұрын
"and I don't mean to freak people out but..." as the bouncy music turns to creepy Exorcist style theme. And then the word "Human" lands right on queue with a deep bass kick drum beat. Totally not trying to freak us out.
@stormwolf83864 жыл бұрын
Ngl when he said that i thought he was going to show a clip of a player boosting as fast as he could into an asteroid. Ps i know it's 2 years later
@TiltControlsABK6 жыл бұрын
If Buzzfeed made this it would be: "30 AIs That Can Play 80s-Classic Asteroids -- Number 24 Will Shock You!"
@EluviumMC6 жыл бұрын
If Buzzfeed made this, it would be too intelligent for their normal viewership.
@maxsalmon49806 жыл бұрын
Scientists still can't explain Joey!
@zes72156 жыл бұрын
wrg, can be anyx
@TheMaplestrip6 жыл бұрын
8:05 - "Ooooh, boy, there it comes! My own personal asteroid! I can shoot it! I can shoot it! I know I can! YES, I SHOT I-"
@theburger42566 жыл бұрын
MapIestrip Lol
@aryst0krat6 жыл бұрын
This might sound kind of silly but I never would have thought a channel that doesn't talk at all and thus can't actually read ad-reads aloud could get sponsored. Congrats! :)
@aryore24116 жыл бұрын
The presentation is refreshingly simple, I love that about these videos :D
@zes72156 жыл бұрын
no such thing as silly or not, cux, say any is ok
@merp7566 жыл бұрын
Y'kow what? I'm gonna start calling AIs that display what can only be described as 'panic' or just a general sense of urgency as 'Joey' bots in my code from now on. And I think everyone else should too. Worldwide.
@-nathun85076 жыл бұрын
Aidan Hunt ill spread it
@dirkmcnasty85855 жыл бұрын
Joeybots, huh? Sounds like a good idea
@greatestgrasshopper92105 жыл бұрын
every time an asteriod gets close to the ship you should code big letters to appear that say HOLY CRAP
@joda76974 жыл бұрын
If I ever get around to programming one, I will too.
@Ecl1psed2766 жыл бұрын
THIS IS NOT PACMAN
@melnewdemon48736 жыл бұрын
That's your opinion i think this is very pacman
@GeofreySanders6 жыл бұрын
Ecl1psed276 And you are hardly PacMan yourself, sirrah.
@PhillipAdolMacGregor4 жыл бұрын
how do you know he's not riding that rocket?
@ascensionblade4 жыл бұрын
IT'S SPARTA, THOUGH.
@Ranylyn6 жыл бұрын
Joey can't settle down; someone told him the odds of successfully navigating an asteroid field. Blame C3PO for that.
@MrKiates6 жыл бұрын
Ranylyn Joey was on crack! Or at least one two many energy drinks.
@Izandaia6 жыл бұрын
This has quickly become one of my favorite channels. I would never have guessed that white text on a black screen could convey so much personality.
@tridiust28486 жыл бұрын
I suspect the spinning is an artifact of the way the AI can only see in 8 directions.
@jakes48086 жыл бұрын
Thank you for actually being a person that lists what music they use, that literally made my day!
@chancepricee6 жыл бұрын
I’m not even sure how I found your KZbin channel but this is some seriously incredible stuff. I’m so jealous you can do this kind of thing and make videos for our enjoyment. I seriously appreciate all of your videos and explanations for the non-coders because it’s still super cool mate. Keep up the great work!!
@xstuff98806 жыл бұрын
I would never imagine that watching a video like this would make me smile. Thanks a lot for creating such an exciting content!
@LordKirtash6 жыл бұрын
It is 7:10 am in Spain. And I am happy for waking up and know you uploading a new video. Thanks for sharing a so interesting stuff. I am waiting for new videos. NEAT is actually awesome.
@christianschweda25306 жыл бұрын
After having seen only a few of your videos (just discovered the channel), I have to say that I really dig your diverse but fitting choices of music. And the humor!
@0xc0ffee_6 жыл бұрын
The videos are incredibly good, but your humor is just way over the roof :D I love you. And I mean it.
@Amir-tv4nn5 жыл бұрын
Bro you talking while your videos are going makes your videos really more into watching and actually not regret why I am here lol
@coder0xff6 жыл бұрын
Would be interesting to see some different selection pressures here. How about not only increasing the score but also doing it as fast as possible. Would also be interesting to reduce fitness based on movement, rotation, and shots so that it only takes the necessary actions.
@captaingreenhat4 жыл бұрын
I'm really enjoying these videos. Thanks for posting them.
@bilel1146 жыл бұрын
wow you already got a sponsorship, that's awesome btw, Sethbling's video on NEAT was great help for me (marI/O) he wrote it in lua and put the source code in the description it was very clear and the only resource i needed, might want to check it out
@kotzpenner6 жыл бұрын
Oh damn, when you demonstrated the difference between your last AI and NEAT, I was like fuck, that's the beginning of SKYNET, get to the bunkers! It's... ALIVE!
@codahighland5 жыл бұрын
I wonder if the spinning is an artifact of the 8-way sensor -- spinning means that the sensors continuously sweep over space instead of having tunnel vision, so spinning naturally means you have more information about the environment. And likewise, since there aren't sensors for slightly to the left or the right of the line of fire, intentionally aiming is going to have problems evolving, but spinning means that your cannon will eventually be pointed in the right direction.
@brock2326 жыл бұрын
I love all of your work keep it up, you seem to be a really cool person so please keep up the good work and don’t forget to be awesome
@kotzpenner6 жыл бұрын
Really love your videos so far, you deserve more views.
@Dude408f6 жыл бұрын
Thank you very much! Interesting video and the performance on NEAT is amazing, human-like some of them, other quite superior in a crazy spooky way
@Helladamnleet2 жыл бұрын
This would make a neat screensaver but have it keep learning. After a year of it running I bet I could have it up well into the 10s of thousands of generations and have an AI incapable of losing.
@overloader79004 жыл бұрын
"Spinning is a good trick!" - Luke skywalker cleaning the asteroid field
@EarnestGamer6 жыл бұрын
I believe the spin-to-win tactic is a result of the AI's limitation to see only what's in front of the space ship, it's inevitable to reach that point in order to survive. A human player is able to see the whole screen and use that information to prevent crashes by tracking incoming threats.
@Asuli916 жыл бұрын
Love your comments in the vids. Keep on creating these!
@linsproul35486 жыл бұрын
this is probably my favorite channel on youtube
@vlaydin62636 жыл бұрын
Im glad you came back to youtube. You got some pretty cool stuff😉
@mitsync6 жыл бұрын
Really cool as always! I don't mind the sponsor, as long as it means you can make more videos! Keep it up!
@ahmetgrcn26636 жыл бұрын
No talking, just writing things, not a good intro or outro, just 6 videos, and 21K subscribers. Amazingly impressive, keep it up dude! Your videos are very good.
@cameliaionascu30946 жыл бұрын
I love that youre being sponsored, makes me happy knowing that you can have some sort of financial support.
@ismaelsanchez-martinez82845 жыл бұрын
It's amazing that you built your own NEAT algorithm from scratch instead of using libraries and got impressive results. You're a legend
@ChadwickMann6 жыл бұрын
R.I.P. Joey, We miss you
@stevestizzy6 жыл бұрын
Haha man your content is gold. Really funny stuff !!! Keep it up and thanks for sharing these things with us
@strafejump6 жыл бұрын
i literally just checked your channel to see the last time you uploaded
@CodeBullet6 жыл бұрын
good timing
@miniwarrior76 жыл бұрын
I just checked yours 😍
@giin976 жыл бұрын
That was a pretty NEAT explanation. I'll show myself out.
@marshmallow_fellow4 жыл бұрын
It's fun coming back to videos you made before the mic and character. It reminds me of notepad tutorials
@matthewpiper43286 жыл бұрын
Congrats on getting support from Brilliant.org!
@squishybrick6 жыл бұрын
There's something oddly adorable about the behaviour of randomized AI's.. Especially the one at 8:05.. I honestly couldn't tell if it was having a nervous breakdown, or just forgot to shoot, but that one clip of it staring at that asteroid and dying was worth a thousand words.
@aniellodimeglio83694 жыл бұрын
Nice work. I wanna thank the AI which put this video on my list.
@fredjaneson16704 жыл бұрын
I remember a news report about a guy, whose name to my shame escapes me-who held the world record score on ASTEROIDS...He racked up so many free ships that he could walk away, go get a hotdog, use the washroom, then go right back to playing and still have more free guys than the display could show... I'd like to see this technology applied to ZORK. Thank You very much!!!
@TheTonyMcD6 жыл бұрын
YAY! He finally learned to calm down and stop fucking spinning! It's still hilarious watching him wait until the last second to fly away though. EDIT: Dammit why! What makes spinning so fucking special? Still, I must admire his skill... Only needs 41,338,519 more to get the world record!
@HellTriX6 жыл бұрын
Enjoying these, thanks for posting.
@nietschecrossout5506 жыл бұрын
Good to have you back
@ParanormalTechCentre6 жыл бұрын
Nice vid! After that I think I now need to look into NEAT's architecture, as you've show that it can produce some very promising results. Just to find that paper you mentioned.
@Demonairing6 жыл бұрын
I like the little triangle that appears when they move forward to make it look like a rocket thrust, Very impressive stuff. The ai stuff was good too
@ristopoho8246 жыл бұрын
Well. Seeing the results, i'm happy that you tried NEAT. If you haven't, you should see marI/O, it's what got me started with NEAT and neural networks altogether. Andd. Can't wait for the next video :)
@cassie66456 жыл бұрын
I am not a computer science person and I don't really understand the programming that goes into your projects... but your videos are really fascinating nonetheless and I like that you are still able to put a little humor in them too!!!
@angryapplebombs9146 жыл бұрын
I remember in your last video you said you gave it 8 directions it could see. Could it be that it spins to win because if it spins it can see everything and not jut what is in those 8 directions? Either way sick video! This kinda stuff is so cool to me
@drdca82636 жыл бұрын
ILovePurple AngryAppleBombs I also wonder if it would spin less if it had more directions to see in
@theburger42566 жыл бұрын
He had the same theory in the previous video I think
@LilyKazami6 жыл бұрын
I don't believe the 8 directions have to do with that. I think it's simply a faster way of aiming. If you're always spinning, you'll be pointed at an asteroid faster than you would if you start and stop rotation. And an AI can get away with it because it doesn't have the handicap of human reaction time.
@ristopoho8246 жыл бұрын
Also its easier to learn to start spinning and keep doing it, than learn when it's needed. Spinning all the time takes you to the directions quite fast anyway, and uses only one neuron at minimum. Knowing when to turn and which way takes a lot more decisionmaking, and isn't really that much better on the small scale. In the long run yes, but the training method doesn't really prepare it for that.
@Attoparsec6 жыл бұрын
Might be interesting to add some performance penalties like slight, randomized delays to see if that is indeed what makes "spin to win" work.
@duhhjeenyus4 жыл бұрын
It's almost as if the A.I. is optimizing the gaps in the sight lines by maximizing the rotation per frames.
@Lag0034 жыл бұрын
Lol what happened to this Code Bullet all polite and formal? Your channel has gone faaaar I love to see a talented person grow!
@night_sniper57544 жыл бұрын
CB: And I don't want to freak people out... *SPOOKY MUSIC INTENSIFIES*
@madnessguy0101016 жыл бұрын
Absolutely fascinating. The ships look and act a lot more like some kind of creature instead of an autonomous ai
@thevidimator6 жыл бұрын
You haven’t created just an A.I. You’ve created the beginnings of an actual conscience! We all used to be similar to your robot, trying to figure out how to survive, and then we evolved! I hope on day you make a microscopic android with the same coding so that it can evolve just like we did
@abramthiessen87496 жыл бұрын
I cannot explain why I found this video so funny. Amazing work though. And NEAT is such a fascinating idea.
@slugtoast44006 жыл бұрын
awesome! I started watching your videos the day before this! keep up the good work!
@PetrKL214 жыл бұрын
... I figure this is how life evolved in the first place
@jaca25626 жыл бұрын
3:42 He sees how the bot drifts around the asteroid: *DEJA VU*
@thegenerousdegenerate93956 жыл бұрын
Apologizes for being random; immediately becomes more random. Lol
@andreyrumming68426 жыл бұрын
4:13. I think I know why it's freaking out there. It has become as sentient as Portal's Space core, and it is LOVING being alive! SPACE!!!
@CrystalMoth6646 жыл бұрын
its fun to watch the AI learn also these videos are awesome so please keep at them
@lucaswhitfield7186 жыл бұрын
Honestly, no one cares if the video is about pacman or asteroids as long as its a new vid. You are awesome.
@dananewell55296 жыл бұрын
The species feature of NEAT is so cool. Totally makes me want to create my own AI
@JustAnotherPsyco4 жыл бұрын
Evan: I'll try not to freak out anyone with how human like these NEAT players are.... AI: Has multiple generations that just recklessly run themselves into asteroids and die early Ah yes, these are the AI that are going to take over the world someday.... Seriously though, good stuff man. I laughed more than I should have at watching an AI play asteroids. Love the content.
@RocketRooster26 жыл бұрын
I'm interested to see how the AI would handle matching games such as Bejeweled, particularly in their speed and learning how to set up larger combinations if they do.
@bmba6 жыл бұрын
Xaeronz that would actually probably be a thousand times easier. 7 month late reply, but literally all you’d be having it do is look for combos and prioritize based on size, you don’t even need AI for that or anything, could write a program that does exactly that in no time at all.
@stargrabbitz67265 жыл бұрын
Don’t know why but Joey part made me laugh way more than it should of lmao.
@vesselfpv82746 жыл бұрын
This channel is going places
@christianschweda25306 жыл бұрын
"...but that's boring" - THAT's the spirit! :'-D
@Ecl1psed2766 жыл бұрын
3:07 that was an insane clutch around that small asteroid holy fuck
@SOSphantom6 жыл бұрын
Woah, love the videos. I'm excited to watch this one, I've never been early enough to spread the word. :)
@jacobr77295 жыл бұрын
Really liked the music for effects
@TheDemonGyro6 жыл бұрын
I lost it at Maniac hahahaha great videos!
@Hender.Kerensky6 жыл бұрын
Here's one I'd love to see you do to continue this particular path. Give the asteroids gravity with not only each other, but with the ship as well and see what the AI does. You might have to make the asteroids bounce off of each other as well to not overwhelm the ship with a giant cluster or make an AI that just learns to avoid the cluster until gravity pulls too hard to allow escape.
@DogeisCut6 жыл бұрын
NEAT is having fun, it can... Feel
@alejandrogarcia88146 жыл бұрын
Man i love this. Keep it up.
@adog83796 жыл бұрын
Lol Joey with the 720 noscopes
@Maddinhpws4 жыл бұрын
"And I don't mean to freak people out" *spooky music starts playing* yeah sure, you don't want to freak people out.
@Gottii926 жыл бұрын
i love these videos, i think you will come out big, you might grow if you talk and explain with your voice if you want to :D i love to have a youtuber showing this stuff and not being afraid to post the source you are REALLY an mvp, thanks man p.s.:(for this game you might want to try to give more points for smaller asteriods to improve behaviour and outcome)
@Eren_Yeager_is_the_GOAT Жыл бұрын
new title idea "AI learns to Play Asteroids | part 2 NEAT is pretty neat"
@Mackster446 жыл бұрын
5:12 dude tried to impress his friends with a 360noscope and got bopped for it
@SnakeHoundMachine6 жыл бұрын
now you need a NEAT AI that trains and evolves multiple AIs simultaneously and selects the best ones that are most likely to survive, then implement this to play against humans
@moadot7204 жыл бұрын
4:00 OMG I LOVE THIS SONG!!!! Also, I like how the previous song also ended in F minor, so it matches the key that this is in, which is ALSO F minor!
@moadot7204 жыл бұрын
And by the way, yes. I DO have perfect pitch.
@MegaTuroc6 жыл бұрын
Pacman or not. This is still godlike, i wonder how many different games you will do in the future
@Broanater6 жыл бұрын
0:35 You could say that NEAT is a neat way to approach AI. :)
@Chaisz3r06 жыл бұрын
To be fiar, "spin to win" is probably the most efficient strat as it ensures that your line of fire swings by every asteroid in range fairly frequently. And IIRC the networks can only "see" along that line, not 360°, so in order to keep an "eye" on everything they have to keep spinning.
@TheWereparadox6 жыл бұрын
"Why can't you be more like Joey? Joey was a good boy." "He was dirty ma!" "I'm not hearing this!" "Maa! Maa! I'm sorry ma!" XD
@kartikkk99976 жыл бұрын
Great work as always!
@CodeBullet6 жыл бұрын
it hasn't been up for long enough for you to see it all but thank you
@kartikkk99976 жыл бұрын
lol
@XdivineExp6 жыл бұрын
"They can't get you behind the species text" I fucking lost it.
@MothMan-dh9xq Жыл бұрын
It’s kinda crazy to think that brilliant was here since the very beginning
@ThisGuy78456 жыл бұрын
Code Bullet: I don't mean to freak people out but... Also Code Bullet: *plays ominous music*
@ChronoTriggerHappy6 жыл бұрын
inspired by the legacy that was Joey, many of the AI adopted the "ALL ASTEROIDS MUST DIE FAST" strategy, to honor the first true go hard or go home pilot.
@subject81235 жыл бұрын
18 was actively hunting down the comets
@raphaa164 жыл бұрын
Why do I flinch every time a AI "dies"?
@Janrupf6 жыл бұрын
It is so much fun watching these videos! Maybe I should give that programming language a try... Anyway, keep up the good work!