Тёмный

Beating BTD6 with AI 

b2studios
Подписаться 317 тыс.
Просмотров 1,9 млн
50% 1

Опубликовано:

 

17 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2,4 тыс.   
@SJB2
@SJB2 3 года назад
Soon I'll be replaced with a robot. I thought my job was safe for a few more years. Anyways great video. Awesome job!!
@jayninja2747
@jayninja2747 3 года назад
Hi suparjombombo
@1yh_
@1yh_ 3 года назад
Lol tru
@mistertaco9260
@mistertaco9260 3 года назад
that robot is better anyways
@creepycooter8370
@creepycooter8370 3 года назад
@@mistertaco9260 Bum
@michaelkrob5942
@michaelkrob5942 3 года назад
Can you let it learn more and go into free play mode n see how far it gets?
@Shyguymask
@Shyguymask 3 года назад
Please show us more of what this AI can do against things like Bloonarius or maybe even CHIMPS on harder maps
@Hhiccy
@Hhiccy 3 года назад
amen
@xxthelinkxx3296
@xxthelinkxx3296 3 года назад
Its him :O
@waffleboy9519
@waffleboy9519 3 года назад
Shyguymask your btd6 history video is a true classic
@xfridgebox5742
@xfridgebox5742 3 года назад
Yea its can be cool
@b2stud
@b2stud 3 года назад
I'm gonna upgrade it as much as possible then we will see what it's capable of.
@swiftbull_
@swiftbull_ 2 года назад
This is really impressive, considering i’ve only seen AI videos where people have to recreate the whole game to implement the AI, and it was nice to see someone use the values from the original game for once. great job!
@dswonderchild
@dswonderchild 2 года назад
and it is unbelievably superior as well!
@chopkeys
@chopkeys 2 года назад
It can make more sense when using Machine Learning, you can have more control + speed up the game time to train faster. But I agree, it is nicer to see someone using the original game than making a recreation that looks pretty bad (That is coming from Code Bullet stuff and some other channels, not sure what you may have seen :))
@mattdanfg
@mattdanfg 2 года назад
@@chopkeys cheat engine could be used to speed hack the game which would help with faster evolution
@nathansnail
@nathansnail 2 года назад
@@mattdanfg the game is still rendering graphics which causes a performance hit, ideally you would use speedhack read everything from memory and completely remove graphics while training
@robloxtime595
@robloxtime595 Год назад
Do you REALLY think he would have completely remade the game ENTIRELY? No way, it is way, way, WAY too big for one yt video.
@infernapocalypse
@infernapocalypse 3 года назад
It's interesting to see the AI gravitating towards the meta. The starting spot with sauda is the best possible spot you can place your hero on this map according to a few big bloons youtubers.
@jams_toast1
@jams_toast1 Год назад
And according to ai apparently
@andrewbank4696
@andrewbank4696 2 года назад
b2studios: "btd is a skill based game" Also b2studios: builds an ai without a brain to beat easy through hard
@simons9264
@simons9264 2 года назад
Comments like this kinda lose their funny once you see them a million times
@hentaihut4043
@hentaihut4043 2 года назад
what
@zizikim3174
@zizikim3174 2 года назад
ai decided to get skill
@karibrimacombe8710
@karibrimacombe8710 2 года назад
Tbf it was on beginner maps
@festry_
@festry_ 2 года назад
hard on beginner maps is easy
@minimuzzy3334
@minimuzzy3334 3 года назад
I was so sad to realise this is your first video, you are a natural at this. Very engaging and intriguing video. Sad I couldn’t watch more though, keep up the good work!!
@b2stud
@b2stud 3 года назад
more coming soon hopefully!
@RichRacc
@RichRacc 2 года назад
@@b2stud that’s nice! Can’t wait for more!!
@Xeteex
@Xeteex 2 года назад
Wtf
@prototypex9094
@prototypex9094 2 года назад
WAIT IT IS WHAT
@thenooblet9872
@thenooblet9872 2 года назад
@@b2stud codebullet no. 2
@hemidemisemipresent
@hemidemisemipresent 3 года назад
I think this is honestly the best btd6 video I have seen. Apart from the AI, getting the memory adresses and offsets for btd6 variables is really impressive considering how notorious il2cpp is.
@sewer56lol
@sewer56lol 3 года назад
Also slightly unrelated but the fact the values he was messing with in memory (lives & health) are obfuscated. They use something they called KonFuze, you can actually see it in the diagram early video.
@HoppingSkipper
@HoppingSkipper 3 года назад
@@sewer56lol I always found it funny that the lives and in-round money in BTD5 steam were obfuscated, but monkey money wasn’t, and could be found via cheat engine in half a minute. The ONE CURRENCY you pay for, and I could give myself infinite of it. Needless to say, it broke any semblance of progression and was quite hilarious
@LoserHands
@LoserHands 3 года назад
@@HoppingSkipper Monkey Money takes time or money. So maybe, anamolous MM is easily recognized. Most of it has a receipt of some kind I bet. Watch out because NK prefers to shadowban, apparently: Race events will no longer appear to a person caught modding the game. But maybe you don't mind, MM is a kind of personal progress I suppose.
@HoppingSkipper
@HoppingSkipper 3 года назад
@@LoserHands I never liked any other bloons game enough to buy it so the browser versions are what I play. If NK can tell from the browser, without comparing my IP (as I have a VPN) that my machine has fraudulent MM in the steam version of BTD5, I think I’d have a little more to worry about than not being able to use the game properly.
@b2stud
@b2stud 3 года назад
@@sewer56lol Konfuze is interesting, it not only hides the variables. But it also prevents you from changing them, and detects if you try to. There is a Boolean called HACKER_DETECTED which sets to true if the variables are tampered with
@exephur
@exephur 3 года назад
Awesome showcase! If you're willing to break away slightly from true gameplay for the sake of speed and faster training, you can load a speed mod and run the game as fast as the AI (or your pc) could detect and interact with the game. Judging by the towers, crosspaths and positons it chose, it seems plausible it could eventually take on most of the beginner and intermediate maps on chimps, but beyond that would need to formulate actual multi-layered strategies and use tower synergies that aren't just getting 1-2 decent 5th tiers. Hope you experiment more with this, the concept is fascinating.
@whydoiexist2180
@whydoiexist2180 3 года назад
yeah we could have some wierd asf strat
@noChar3
@noChar3 3 года назад
how can i download it
@The-blackghost36
@The-blackghost36 3 года назад
@@noChar3 ofc he wont give a download link its literally hacks to autofarm CHIMPS
@rysea9855
@rysea9855 3 года назад
@@The-blackghost36 They meant the speed mod, not the AI
@The-blackghost36
@The-blackghost36 3 года назад
@@rysea9855 oh
@anthonykostal1633
@anthonykostal1633 2 года назад
Your work is simply amazing, And this is the exact kind of content that gets young people excited about computer science topics. Thank you so much for these videos I think the impact your making on the world is much larger than you have considered.
@soulbounddoll1826
@soulbounddoll1826 2 года назад
I could honestly watch hours of ai just playing games. It's literally more entertaining than actual let's players with how odd the AI usually is. Nice video. I really hope you come back to this to see if the AI can beat the hardest map on chimps. I'm just curious if it can.
@CrabBar
@CrabBar 3 года назад
_AI places down Dark Knight, Icicle Impale, Prince of Darkness_ "wow, it figured out the meta upgrades rather quickly" _10:06__ happens_ "🙃" This is the incredible content. Nuff' said.
@sabr3T
@sabr3T 3 года назад
9:34 too..
@genethemineman
@genethemineman 3 года назад
What about the dumb crosspath spiked mines
@T-LC
@T-LC 3 года назад
@@genethemineman 402 is not a bad crosspath. It's used in ravine BB chimps.
@TasFirinErkegi
@TasFirinErkegi 3 года назад
@@T-LC whats BB
@coolgamer2964
@coolgamer2964 3 года назад
@@TasFirinErkegi Black Border
@Cooltrix
@Cooltrix 3 года назад
This is brilliant! You've truly managed to present such complex and interesting material in such an easy to digest and succinct manner, which is accessible for many people. I would love to see more content from you, major props!
@Lee-One
@Lee-One 2 года назад
Ur from up
@Lee-One
@Lee-One 2 года назад
Ur pfp
@Cooltrix
@Cooltrix 2 года назад
Aye
@mihailmilev9909
@mihailmilev9909 2 года назад
@@Cooltrix the ultimate anime oc
@naturecodevoid
@naturecodevoid 3 года назад
Another way of placing towers and upgrading them is to use the key binds, I think this could be even faster as it eliminates the need to scroll through the monkeys and calculate which side of the screen the upgrade GUI will be on.
@Aaron-cs3xl
@Aaron-cs3xl 2 года назад
It was so painful watching him worry about upgrades and placing towers like that.
@jasbdmsb
@jasbdmsb 2 года назад
This video is not only fun to watch but informative and could even inspire people, kids and even young adults, into getting into the field of programming. I think it’s very interesting that the RU-vid video shows all that goes into making this program from cool to cringe (the painstaking part of typing in every single detail and the minute details that make it run smoothly). You should keep making videos like this and have several projects running simultaneously (I know that is costly not only in terms of computers but space, furniture, outside technology for the computers (modems, etc.), electricity, and whatever else I am missing). Be sure to keep making videos like this because they are quality videos that will help grow your channel, keep people interested, and leave the viewer with some knowledge as well as being entertained.
@BappO-is-me
@BappO-is-me 3 года назад
I love videos like this, seeing AI and programming learning to do something that humans can do, maybe even better than humans if given enough time. I would LOVE to see another video on this, maybe an improved version with smarter AI if possible, but even if not I would love to see it, since this one is still so fun to watch
@Nightmare-fe9hr
@Nightmare-fe9hr 3 года назад
you could cut down the training time for the algorithm by a hefty chunk by analyzing which bloons caused the defeat, and comparing this to a database of what the ai has learned each tower excels at. it would be a little complex to manage, but it would also allow more sophisticated and adaptive strategies and overall improve performance
@atmaweapon3958
@atmaweapon3958 3 года назад
Considering it's a machine learning algorithm, all he would need to do would be to give it the defeat info, then the ai would decide how best to use that
@wingdingfontbro
@wingdingfontbro 3 года назад
And maybe have it analyze how far bloons got on the track and which towers and their positions made the bloons not be able to advance as far as they did.
@WaterZer0
@WaterZer0 3 года назад
@@atmaweapon3958 Yeah, it would try towers and upgrades until it found one that could solve the loss condition. Obviously there are usually multiple solutions, so I'm curious what kind of order it might use.
@normalcommenter8595
@normalcommenter8595 3 года назад
@@wingdingfontbro Not sure if that would help or not, since distance traveled on the track isn't as helpful as simply defeating the bloons. Like wouldn't that just skew it towards placing shit at the front of the track so it doesn't go as far?
@trickygamer555
@trickygamer555 3 года назад
@@normalcommenter8595 I think the AI might do that at first, but eventually it would learn that the distance is irrelevant as long as it doesn't reach the end of the track. In theory.
@smbsmw1111
@smbsmw1111 3 года назад
"1456 prices" Laughs in all possible discounts Good job, would love see how this would develop
@farkler4785
@farkler4785 3 года назад
And all possible sell prices if it can sell
@Prodawg
@Prodawg 3 года назад
@@farkler4785 sell prices are just basic math, would take at most 3 minutes to code
@hellboy19991
@hellboy19991 3 года назад
idk why he didn't just calculate the price based on the difficulty, since it's a static multiplier
@dragonheart9400
@dragonheart9400 3 года назад
A lazy man would just let the ai run with the information it already has. It will still click the upgrade when it has the normal price but now has some coin.
@Kalmaro4152
@Kalmaro4152 3 года назад
Discounts could be easy to code. He already has the game open in cheat engine, I don't see why he can't find the addresses where the Tower Prices are stored and copy them out?
@MadSwedishGamer
@MadSwedishGamer 3 года назад
Damn, this is really cool. Are we going to see more of this AI?
@b2stud
@b2stud 3 года назад
definitely
@IDK-fv3hu
@IDK-fv3hu 3 года назад
@@b2stud Subbed then :)
@charlespanache7047
@charlespanache7047 3 года назад
Please do more. The way the fish learned was awesome please do more
@rubbegameing5370
@rubbegameing5370 3 года назад
@@IDK-fv3hu Definetively
@susibaka
@susibaka 3 года назад
@@b2stud subbed then
@DANNYonPC
@DANNYonPC 2 года назад
Is this your first channel? Since you seem to be pretty experienced with everything already, especially for your (apparent) first video 👀
@b2stud
@b2stud 2 года назад
Not my first time editing or uploading stuff, but this is my first serious channel
@DANNYonPC
@DANNYonPC 2 года назад
@@b2stud Well, keep doing what you're doing since its good!
@lukegrim3858
@lukegrim3858 3 года назад
Very cute AI would hug 10/10
@thesparkyminer5767
@thesparkyminer5767 3 года назад
This is one of the greatest vids I've ever seen. Explanation was so clean too. Quite motivating for an engineering student like myself. Loved it , can't wait to see what else it could do in the future
@pankpanthergaming5397
@pankpanthergaming5397 3 года назад
love the pfp
@JeffyJeffingtonTowerDefence
@JeffyJeffingtonTowerDefence 3 года назад
Laughed my ass off, and a lot of other body parts too with the small notes on the Ninja Monkey placement and BFB parts. Definitely go I to watch more, if you devise to continue using the AI. You're like Dani, but code AI instead.
@raffimolero64
@raffimolero64 3 года назад
"You're like Dani, but code AI instead" code bullet, carykh
@JeffyJeffingtonTowerDefence
@JeffyJeffingtonTowerDefence 3 года назад
@@raffimolero64 Never heard of them. Sorry.
@yarknark
@yarknark 2 года назад
@@JeffyJeffingtonTowerDefence late response but they're neato channels, I recomend them
@Terracraft321
@Terracraft321 2 года назад
carykh is the best
@mirdav7954
@mirdav7954 2 года назад
@@JeffyJeffingtonTowerDefence I, on the other hand, haven't been able to find a channel named code ai. The result is code bullet.
@stefannotchev7209
@stefannotchev7209 3 года назад
Damn that’s actually rly amazing. I wonder how it would do in other gamemodes besides chimps, like half cash and alternate bloon rounds, and on harder maps? Which game mode would require the most hours to create a strategy for? It’s fascinating stuff, to be sure
@b2stud
@b2stud 3 года назад
the AI is quite wasteful, so half cash would definitely be difficult for it to learn, maybe even longer than chimps. It would also have a very hard time with harder maps. There is definitely room for improvement though, i might make a sequel to this
@stefannotchev7209
@stefannotchev7209 3 года назад
@@b2stud You should, I’d definitely watch
@winnermatt1180
@winnermatt1180 3 года назад
@@b2stud yes sequel
@nebulous9280
@nebulous9280 2 года назад
In love with these channels that crop up out of absolutely nowhere with astonishingly good content. Earned my Sub, easily.
@catwif
@catwif Год назад
this video is really nice to teach kids computer science with, starting with something really simple and working your way up in complexity. really awesome, love ur work
@bobbobson2291
@bobbobson2291 3 года назад
"it's actually quite formidable" *playing Logs with Sauda*
@destructivforce2894
@destructivforce2894 3 года назад
I mean, its still better than a fair amount of BTD6 players
@drathonix9930
@drathonix9930 3 года назад
*Doesn't even use the sword dash ability - quite formidable choice
@TheFakeMakotoYuki
@TheFakeMakotoYuki 3 года назад
imagine if it could use abilities
@jimmyjohnjoejr
@jimmyjohnjoejr 3 года назад
Sauda gets good track coverage on logs and allows for tons of 2TCs, tf you on?
@ToastGreeting
@ToastGreeting 3 года назад
@@jimmyjohnjoejr what?
@camwoodstock
@camwoodstock 3 года назад
I posted this on Reddit, but like this is such a neat video! I'd love to see it tackle other maps, and maybe give it some extra capabilities to make towers like the dartling more viable. It amazes me you don't even have 100 subs as I write this comment, because this is a very well set-up video!
@b2stud
@b2stud 3 года назад
I already posted this on reddit actually hahaha, but adding abilities and aiming will definitely be in the works soon?
@JP-jd8wc
@JP-jd8wc 3 года назад
What if instead of just using the cursor, you used hotkeys to select monkeys and hotkeys to upgrade them? Also, you could use hotkeys to activate abilities. Also also, was the AI unable to use abilities?
@b2stud
@b2stud 3 года назад
It cannot use abilities, but its not impossible to add it as a feature
@aaaa-hj9vv
@aaaa-hj9vv 3 года назад
In my not-so-expert opinion (I'm a professional software developer but haven't made something similar to this), using hotkeys would have been overall easier and faster to code.
@LucianoAmado
@LucianoAmado 3 года назад
@@aaaa-hj9vv yeah, it's what I use in my AHK scripts to farm event points
@miberss
@miberss 3 года назад
@@LucianoAmado yee i also use a ahk
@chengkentze126
@chengkentze126 3 года назад
@@LucianoAmado *cough* mind sharing ?
@moh-ctrl8466
@moh-ctrl8466 Год назад
Hi, great Video. how many hours did it take you to programm this?
@rafaelsoler6366
@rafaelsoler6366 2 года назад
This was so cool, im very new to programming and have been wanting to gain more experience by doing something like this. This video really helps give a general idea of what you did without giving away the entire solution. Do you by chance have any tips for someone who has only taken a semesters worth of a C++ course and wants to get into this sort of stuff?
@b2stud
@b2stud 2 года назад
Nice to see some fellow programmers in here! Keep learning C++ for sure, but learn other languages like C#, Python or JavaScript as well. Look up Evolutionary Algorithms (explained in the video with the fish) and Neural Networks for a good start. This particular project involved some pretty advanced memory manipulation, so if you want to something like this then learn pointers and memory concepts inside and out, which C++ should help heaps with. Good Luck!
@rafaelsoler6366
@rafaelsoler6366 2 года назад
@@b2stud Thank you! I will be sure to follow your advice
@TheTrueForbidden
@TheTrueForbidden 3 года назад
I feel like you are gonna become a big youtuber really soon, you have the voice, the code, and you make good content so.
@b2stud
@b2stud 3 года назад
thank you!
@Jabutimado
@Jabutimado 3 года назад
lol, my friends tell me something like this, but they say i don't have the voice. voice is not ez 😳
@junaidnizami7076
@junaidnizami7076 2 года назад
@@b2stud Its a guarantee
@joshgibbons-eyre8697
@joshgibbons-eyre8697 3 года назад
It's so exciting seeing the beginnings of an excellent channel! Definitely earned a sub from me :)
@nobro0647
@nobro0647 3 года назад
I've enjoyed this video all the way through and then wanted to watch more of your videos but there are no more. The quality of this is incredible for it being your first video and I'm looking forward for more.
@Andyb431
@Andyb431 2 года назад
You should create a course on how to program AI using all of these games as exercises! You would make a killing! And I would for sure be first to sign up! Short of that, perhaps some tutorial videos via a patreon or something? Great work regardless! Looking forward to seeing more!
@thecoolestdaniel
@thecoolestdaniel Год назад
I love ai and I think I'm going to start learning how to make ai because stuff like this and thinking about other games ai could play is fascinating. Awesome video bro 😁👍
@Kasladia_Live
@Kasladia_Live 3 года назад
dang I love this. The Code Bullet formula is amazing and I am SO FKIN HAPPY to see someone else tryin it. I love this type of content, but it is rare to find such quality! definitely subbing and sticking around.
@FireflyMykah
@FireflyMykah 3 года назад
very good video! I’m curious to see more of the coding and programs that went into the process, but I’d understand why you would want to omit them for simplicity. One thing I’m curious about is why you decided to use mouse only instead of also using hotkeys?
@b2stud
@b2stud 3 года назад
I actually thought it was the only way to place towers, if I could do this again, i'd definitely use hotkeys. The code will be posted at some point in the future
@booknook852
@booknook852 3 года назад
@@b2stud that's great to hear! I've had a personal project where I have been trying to get exact hitbox info for all towers and maps, but have been kind of stuck lately. I'm really curious to see what you mean by automating the process of finding money's pointer
@b2stud
@b2stud 3 года назад
@@booknook852 im sure i will cover it at some point, but for now, it's basically a home made version of cheat engine that finds the first pointer, which is 650 for money.
@booknook852
@booknook852 3 года назад
@@b2stud ah alrighty, I appreciate the response! I was thinking I was missing something obvious for a while there lol
@boyd9859
@boyd9859 3 года назад
Now we loop for infinite towers and money, very nice
@hubofeverything
@hubofeverything 2 года назад
Just discovered your channel. Awesome content! Can't wait to see what's next :3
@slimecubeboing
@slimecubeboing 2 года назад
6:38 The ai is smart enough to put an alchemist next to an overdrive tack, but they are both the wrong paths
@ageansai6067
@ageansai6067 3 года назад
For the quality I didn't think this was your first video, really impressive mate
@David_TheSuperior
@David_TheSuperior 3 года назад
That is some interesting demonstration and results. Definitely intrigued by how one can go far into pushing the game to its limit.
@peterthanos2209
@peterthanos2209 3 года назад
Pleeease try this on a harder map, that would be so insanely cool. I dropped a sub.
@JacobKinsley
@JacobKinsley 3 года назад
The Ai didn't drop a sub though
@n484l3iehugtil
@n484l3iehugtil 3 года назад
@@JacobKinsley ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooh
@mikkoitasalo8940
@mikkoitasalo8940 2 года назад
I would love to see more "complex" maps and strategies AI could pull out on these.
@Xeteex
@Xeteex 2 года назад
The video is great, montage smooth. Fucking fire voice acting for a FIRST VIDEO (how tf can you be that confortable haha). + I love this game. Subscribed. Need more. Love from France my man ❤️
@b2stud
@b2stud 2 года назад
Beautiful review, love back from Australia
@zaperzero
@zaperzero 3 года назад
I'd love more of this. I was actually considering how youd even go about making an AI to play bloons earlier today, given it would eventually (at higher levels of skill) need to learn map lay outs and tower synergies.
@RainerGaming
@RainerGaming 3 года назад
wow this is freaking insane! im subbed... can't wait to see more! one thing you could also do is look at the pop count per tower price each tower gets, and have the ai go for maximum optimization :)
@Jezzared
@Jezzared 3 года назад
Definitely could have reduced small amounts of workload by utilizing the hotkeys instead of manual clicks, but this is still very impressive!
@davidawakim5473
@davidawakim5473 2 года назад
Loved the content!! It was great seeing a fish simulation, thank you for all the work you put in it was awesome!
@Dannydeplete
@Dannydeplete 2 года назад
hadnt had a laugh like this in a long time! love your videos!!
@ilikeramenyum616
@ilikeramenyum616 3 года назад
Hey man, Awesome video! You definitely deserve more subs from it so the only thing I wanted to say to you is to just remind people to subscribe even if it's just for 5 seconds, statistically it works!
@b2stud
@b2stud 3 года назад
That’s very kind of you, hopefully I can earn those subs with more content rather than asking for them ;)
@therealoatmeal4642
@therealoatmeal4642 3 года назад
Congrats on getting so much well earned success on this video!(I‘m assuming it‘s your first because you‘re channel doesn‘t have any other public videos and the channel was created only a couple of months ago)
@b2stud
@b2stud 3 года назад
this is indeed my first video
@alansmithee419
@alansmithee419 3 года назад
"expertly using the life counter as a buffer..." I too claim my failures are actually successes.
@officiallyjk420
@officiallyjk420 2 года назад
The guy getting yeeted by the ATM got me laughing
@pinkski9175
@pinkski9175 Год назад
This is such an interesting and entertaining (not to mention unique) video! I would love nothing more than to see a sequel video in which you let the AI learn for a couple more weeks striving to reach the highest round on chimps free play or something like that. Something where the ceiling is the limit, not just beating one level on chimps, which can be done several different ways. It would be interesting to see what the AI learns if given total freedom and more time to get as far as possible. It may even outplay some veterans lol
@thearchitect5405
@thearchitect5405 Год назад
It's not an AI, it's a macro. It can't learn.
@Shero1337
@Shero1337 3 года назад
I could definitely watch a whole series just about this AI taking on different BTD6 challenges!
@thegreatautismo224
@thegreatautismo224 3 года назад
Well this appears to be the only video on your channel If you don't upload any more, then 100% of your videos will be bangers forever ;) But I really look forward to seeing more of the Bloons AI
@karpa.183
@karpa.183 3 года назад
I'm gonna try to create something like this but as a mod, I've already setup a basic AI that can beat logs on easy and I'll add a proper neural network soon. you can join the discussion in bow's modding discord if you want.
@rebucgnimagla5521
@rebucgnimagla5521 3 года назад
Good job, keep up the creativity
@TheQuinn50
@TheQuinn50 3 года назад
Yea I was fucking around with using python NEAT, using websockets and built a mod to transfer the data I need to the model and send moves to the mod. I never got back to it due to school and work and I never bothered to setup a VM environment to properly train the model, at one point I was using sandboxy to launch 6 instances (I needed to use a steamapi crack for this work properly)
@karpa.183
@karpa.183 3 года назад
@@TheQuinn50 you should join the modding discord
@TheQuinn50
@TheQuinn50 3 года назад
@@karpa.183 is there a different one, I joined one a while ago and it was just a bunch of seemingly young people posting stupid shit. I think it was the nkhook server I don't remember
@karpa.183
@karpa.183 3 года назад
@@TheQuinn50 join the bowdown097 server it has a channel dedicated to mod making with no memes
@NemesisTheOne
@NemesisTheOne 2 года назад
Hi @b2studios. Awesome content! How many hours went into programming and AI training until you beat the final stage? And how many years do you have spend on learning ML?
@mukklan.
@mukklan. 2 года назад
It amazes me how your videos are of this high quality while your channel is so small. You deserve A LOT more subs. Keep up the good work!
@Blueybeak
@Blueybeak 3 года назад
3:32 "whenever you enter a new session in bloons tower defense, money is always equal to 650" everyone who unlocked all monkey knowledge: *am i a joke to you?*
@marlond3205
@marlond3205 3 года назад
*You forgot the fact that is chimps.*
@Lance0
@Lance0 3 года назад
@@marlond3205 money is a l w a y s 650 didn't say always 650 in chimps
@marlond3205
@marlond3205 3 года назад
@@Lance0 the thumbnail ?
@Lance0
@Lance0 3 года назад
@@marlond3205 he started with easy tho so yeah uh no tho at the same time the guy has no mk so it doesn't matter
@marlond3205
@marlond3205 3 года назад
@@Lance0 *started.*
@ForgieDusker
@ForgieDusker 3 года назад
that's pretty impressive. I'm wondering, though, if the way the bot was developed would allow for it's use of the in-game keybinds? there's one for the individual towers, which are spread across the different letter keys, and the comma, period and forward slash keys can be used to purchase upgrades. do you reckon that would have made it faster? or would it not have made a difference?
@MarvinA2
@MarvinA2 3 года назад
This is actually a really good showcase, if it could beat elite bloonarius it would have better ai than my brain lmao
@b2stud
@b2stud 3 года назад
If only hahaha. Humanity wins, for now...
@gulllars4620
@gulllars4620 2 года назад
Impressive that you got this to work using the game running in real time. Normally training runs a very high number of iterations and generations. I played BTD5 a decent amount earlier, but haven't tried BTD6. I'm not surprised the fast sniper money ended up as part of more advanced AI's toolkit though. Those are overpowered compared to their cost. In BTD5 i always ended up getting one of those pretty early and maxing out money generating to later max out a mix of super monkeys (temples with max upgrades), fast snipers and the powerful snipers (for damaging zepelins at any point in the map)
@Pouncer_Fox
@Pouncer_Fox 2 года назад
This is arguably the most interesting Bloons Td6 video I have ever seen, especially when examining the strange but ultimately effective solutions the AI has come up with.
@skullynoob
@skullynoob 3 года назад
0:08 got so excited thinking a monke was playing it
@NovaChopy
@NovaChopy 3 года назад
Now we sit and wait until the AI can beat bloody puddles
@Lance0
@Lance0 3 года назад
imagine it learns to micro lmao
@justaguycalledjosh
@justaguycalledjosh 3 года назад
"15 possible upgrades." Dart and boomerang monkeys: "imma ruin this man's career"
@gamogi7142
@gamogi7142 3 года назад
4:00 technically this number should be even bigger with all the variation in ways to get discounts on prices, between monkey knowledge, villages, etc.
@kodyshelner4537
@kodyshelner4537 Год назад
Amazing video. This taught me so much about coding and Ai thank you!
@kellamyoshikage286
@kellamyoshikage286 2 года назад
I think there needs to be a bit of work done with letting the AI change targeting priorities and make use of mouse-controlled towers using anything but dumb luck, though especially this latter bit would likely require some way of reading bloon positioning and I have no idea how complicated that would be with BTD6. Ability use would also make sense as a factor, and here it also seems to be placing towers randomly, though an intelligent placing heuristic seems like it would be the most complicated of all. In terms of further testing, while it's not a constant, you could let the AI have a go at races. This would give it much finer gradation for determining which algorithm performs the best, though I have no idea how you would get past issues with local minimums, of which there are a whole lot.
@destrucktoid7569
@destrucktoid7569 2 года назад
7:18 "Only one more goal stood in its way..." Activating Windows.
@Zan-rk6mw
@Zan-rk6mw 3 года назад
WOW THIS DESERVES MORE ATTENTION
@LansIsLit
@LansIsLit 2 года назад
You make all of this so interesting, hats off to you
@ells6427
@ells6427 2 года назад
When the Bloons see a robot placing monkeys: Hehe I’m in danger
@alexgoss5617
@alexgoss5617 3 года назад
I’m impressed by saving for utility tower like impale, as initially an ai would not see the instinctive value yet it still has a legitimate strategy.
@TheDool
@TheDool 3 года назад
AI does not value dmg over utility, thats human thinking. AI just sees A brings me further than B, thats why I place A.
@alexgoss5617
@alexgoss5617 3 года назад
@@TheDool my point is a in this case is only valueable once you see past a.
@halfbit6796
@halfbit6796 3 года назад
What do you think about collective training? Where each user can train the ai on specific map with it's difficulty and then share the results to public?
@CKScores
@CKScores 3 года назад
Everyone: AI is really dangerous and it’s gonna take over the world AI:
@Crxmsxn
@Crxmsxn 2 года назад
This guy is like a tamer CodeBullet and I LOVE it
@bridges363
@bridges363 3 года назад
4:34 “Don’t upgrade a buccaneer to a trade empire.” Me: Yes, but actually no.
@FranXiT
@FranXiT 2 года назад
Man I wish you did a sequel to this :(
@CKScores
@CKScores 3 года назад
Imagine playing co-op with this AI
@ukrainiansturgeon8561
@ukrainiansturgeon8561 3 года назад
Oh no...
@joeysora
@joeysora 3 года назад
I feel like a lot of problems with the gui could have been fixed with using the keyboard shortcutz
@b2stud
@b2stud 3 года назад
that is true, at the time I wasn't aware that I could use the keyboard to place towers unfortunately
@hatim9687
@hatim9687 3 года назад
@@b2stud also, you can take into consideration the targeting options (strong last weak first)
@brodieleeson4977
@brodieleeson4977 2 года назад
This is actually so cool! I have literally been playing bloons over the past few weeks and learning machine learning over the past few months and am looking for some projects to reinforce my learning with ;). Would you be willing to share what programs you used to do this? Keen to tackle all the coding myself but would love to know the tech stack used.
@nologic3476
@nologic3476 2 года назад
Nice, I hope you make funny videos if other games too, like you did with monopoly, if you need game ideas, you can ask viewers. :) I like your work, AI is too interesting, when it develops it self
@epicalex-jg6uk
@epicalex-jg6uk 3 года назад
is the ai open source? interesting in seeing how it works
@b2stud
@b2stud 3 года назад
not yet but i'll definitely post the code someday
@tealiensalaris8897
@tealiensalaris8897 3 года назад
@@b2stud : )
@joshjohnson8316
@joshjohnson8316 3 года назад
I was curious as to how to get started with the learning ai like the fish if there is a program or something? Any help is appreciated
@b2stud
@b2stud 3 года назад
evolutionary algorithms are what you're looking for: to start you want a bot that can behave differently based on its starting conditions (how fast it is, how aggressive it is) 1. create several of bots randomly (could be as little as 10 or as many as 1000 up to you) 2. test them and give them a score based on how well they perform (how far they get, how long they live etc.) 3. keep the ones that have the highest score (could be just 1 or the top 10 again up to you) 4. clone the best bots and mutate their characteristics slightly repeat steps 2-4 with the new population of bots indefinitely until they do what you need them to hope that helps!
@joshjohnson8316
@joshjohnson8316 3 года назад
@@b2stud Thanks alot dude! cant wait to see more of your content in the future
@ashmanideep6253
@ashmanideep6253 2 года назад
Man you're so damn good, I think you should be the saviour who can explain clearly how to create map of addresses of in-game values
@SpecterRides
@SpecterRides 26 дней назад
I’d definitely be interested in running this program myself for a long time to see how far it can get
@zappyyz6368
@zappyyz6368 2 года назад
no one tell him you can use keybinds
@Beasthunter1408
@Beasthunter1408 17 дней назад
pretty sure he woulda made a 5 minute rant about how hard it is to get location values when you scroll if he didn't know
@nmotschidontwannagivemyrea8932
@nmotschidontwannagivemyrea8932 2 года назад
Wouldn't it make more sense for tower placement to just use hotkeys? Same for buying upgrades. Mouse control will still be needed for some things, but hotkeys can greatly simplify the process. Also at 4:09 you made a mistake in the text on screen. Impoppable has all 23 towers; it's CHIMPS that only has 22. You also never gave the AI the ability to activate abilities.
@Mr_C137
@Mr_C137 2 года назад
These are so cool! Could watch these all day.
@inyoja
@inyoja 3 года назад
I appreciate the examples like the fish one, looks cool!
@machixius
@machixius 2 года назад
How did you teach the AI to save up? Does it just randomly decide when to buy and decide based off of its balance or is there a weighting somewhere about the opportunity cost of spending on one smaller thing instead of saving for a bigger thing?
@beastman955
@beastman955 Год назад
which learning algorithm did you use? would you ever do a code overveiw for this?
@steveglitter
@steveglitter 2 года назад
awesome video! i always wondered what an ai could do in this game
@angelindenile
@angelindenile 2 года назад
Fantastic first video! I would love to see how far this ai could go in endless.
@LexTheSteeler
@LexTheSteeler 2 года назад
This was so interesting to learn and you have an incredible talent for this, hope you make more content soon!!
@b2stud
@b2stud 2 года назад
Stick around!
@dom5061
@dom5061 2 года назад
Bro don’t stop with these type of videos. As soon as Monopoly got into the algorithms I subscribed Immediately only after the video to see that you only had Sophie uploads just yet. Keep up the good work!
@Declan.D
@Declan.D 2 года назад
Great video! I just watched the full run too :p What do you think would be needed to make an ai for btd2 battles, with the versus aspect and sending balloons?
Далее
Cannons that Never Miss
8:24
Просмотров 529 тыс.
AI Learns to play JUMP KING
27:12
Просмотров 8 млн
Silent Hill 2 - Мульт Обзор
07:26
Просмотров 468 тыс.
怎么能插队呢!#火影忍者 #佐助 #家庭
00:12
КЛИП ЛИСА УЖЕ ВЫШЕЛ!
00:16
Просмотров 537 тыс.
Are There Infinite Rounds In BTD6?
15:57
Просмотров 1,7 млн
I Used Artificial Intelligence to Beat Chimps...
17:27
AI Invents New Swimming Stroke
20:11
Просмотров 304 тыс.
Impossible Game VS Pro Exploiter
29:06
Просмотров 2,8 млн
AI Learns Insane Monopoly Strategies
11:30
Просмотров 10 млн
How Far Can You Get In BTD6? - The Final Answer
17:20
EVERY Piece of Bloons Lore!
45:11
Просмотров 679 тыс.
The Worst Fake Speedrun on Youtube
17:51
Просмотров 18 млн
AI Learns To Play Golf
13:57
Просмотров 659 тыс.
Silent Hill 2 - Мульт Обзор
07:26
Просмотров 468 тыс.