Beating BTD6 with AI

  Рет қаралды 1,867,196

b2studios

b2studios

Күн бұрын

program hacks mouse
program uses mouse to play bloons
program plays bloons better than I do
Discord: / discord

Пікірлер: 2 400
@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.
@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 3 жыл бұрын
@@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
@swiftbull_
@swiftbull_ 3 жыл бұрын
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.
@andrewbank4696
@andrewbank4696 3 жыл бұрын
b2studios: "btd is a skill based game" Also b2studios: builds an ai without a brain to beat easy through hard
@simons9264
@simons9264 3 жыл бұрын
Comments like this kinda lose their funny once you see them a million times
@needahandle-g5v
@needahandle-g5v 3 жыл бұрын
what
@zizikim3174
@zizikim3174 3 жыл бұрын
ai decided to get skill
@karibrimacombe8710
@karibrimacombe8710 3 жыл бұрын
Tbf it was on beginner maps
@festry_
@festry_ 3 жыл бұрын
hard on beginner maps is easy
@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
@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
@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
@anthonykostal1633
@anthonykostal1633 3 жыл бұрын
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.
@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 3 жыл бұрын
Ur from up
@Lee-One
@Lee-One 3 жыл бұрын
Ur pfp
@Cooltrix
@Cooltrix 3 жыл бұрын
Aye
@mihailmilev9909
@mihailmilev9909 3 жыл бұрын
@@Cooltrix the ultimate anime oc
@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?
@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
@jasbdmsb
@jasbdmsb 3 жыл бұрын
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 KZbin 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.
@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?
@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.
@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.
@SpecterRides
@SpecterRides 4 ай бұрын
I’d definitely be interested in running this program myself for a long time to see how far it can get
@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?
@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 3 жыл бұрын
@@JeffyJeffingtonTowerDefence late response but they're neato channels, I recomend them
@Terracraft321
@Terracraft321 3 жыл бұрын
carykh is the best
@mirdav7954
@mirdav7954 3 жыл бұрын
@@JeffyJeffingtonTowerDefence I, on the other hand, haven't been able to find a channel named code ai. The result is code bullet.
@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
@Crxmsxn
@Crxmsxn 3 жыл бұрын
This guy is like a tamer CodeBullet and I LOVE it
@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.
@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 3 жыл бұрын
@@b2stud Its a guarantee
@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.
@boyd9859
@boyd9859 3 жыл бұрын
Now we loop for infinite towers and money, very nice
@nebulous9280
@nebulous9280 2 жыл бұрын
In love with these channels that crop up out of absolutely nowhere with astonishingly good content. Earned my Sub, easily.
@Anomaly-33
@Anomaly-33 3 жыл бұрын
Very cute AI would hug 10/10
@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
@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 ?
@joshgibbons-eyre8697
@joshgibbons-eyre8697 3 жыл бұрын
It's so exciting seeing the beginnings of an excellent channel! Definitely earned a sub from me :)
@hubofeverything
@hubofeverything 3 жыл бұрын
Just discovered your channel. Awesome content! Can't wait to see what's next :3
@catwif
@catwif 2 жыл бұрын
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
@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.
@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.
@ageansai6067
@ageansai6067 3 жыл бұрын
For the quality I didn't think this was your first video, really impressive mate
@Andyb431
@Andyb431 3 жыл бұрын
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!
@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!
@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...
@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.
@Dannydeplete
@Dannydeplete 3 жыл бұрын
hadnt had a laugh like this in a long time! love your videos!!
@davidawakim5473
@davidawakim5473 3 жыл бұрын
Loved the content!! It was great seeing a fish simulation, thank you for all the work you put in it was awesome!
@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 :)
@alansmithee419
@alansmithee419 3 жыл бұрын
"expertly using the life counter as a buffer..." I too claim my failures are actually successes.
@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
@DANNYonPC
@DANNYonPC 3 жыл бұрын
Is this your first channel? Since you seem to be pretty experienced with everything already, especially for your (apparent) first video 👀
@b2stud
@b2stud 3 жыл бұрын
Not my first time editing or uploading stuff, but this is my first serious channel
@DANNYonPC
@DANNYonPC 3 жыл бұрын
@@b2stud Well, keep doing what you're doing since its good!
@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
@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.*
@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!
@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 ;)
@mikkoitasalo8940
@mikkoitasalo8940 3 жыл бұрын
I would love to see more "complex" maps and strategies AI could pull out on these.
@NotTheBomb
@NotTheBomb 2 жыл бұрын
It took me several hours to figure out how to murder DDT’s. It involved a lot of pirates.
@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
@skullynoob
@skullynoob 3 жыл бұрын
0:08 got so excited thinking a monke was playing it
@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
@Nedenator
@Nedenator 3 жыл бұрын
I just couldn’t help but laugh when I heard “with the help of an app called cheat engine” that got me. Great vid btw
@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 😁👍
@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
@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
@NovaChopy
@NovaChopy 3 жыл бұрын
Now we sit and wait until the AI can beat bloody puddles
@Lance0
@Lance0 3 жыл бұрын
imagine it learns to micro lmao
@stevenwoerpel1884
@stevenwoerpel1884 2 жыл бұрын
this was an awesome video. u should have named it "I made an AI to beat BTD6". I didnt realize you were programming an AI until 30 seconds in
@nologic3476
@nologic3476 3 жыл бұрын
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
@slimecubeboing
@slimecubeboing 3 жыл бұрын
6:38 The ai is smart enough to put an alchemist next to an overdrive tack, but they are both the wrong paths
@Zan-rk6mw
@Zan-rk6mw 3 жыл бұрын
WOW THIS DESERVES MORE ATTENTION
@kellamyoshikage286
@kellamyoshikage286 3 жыл бұрын
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.
@ashmanideep6253
@ashmanideep6253 3 жыл бұрын
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
@mukklan.
@mukklan. 3 жыл бұрын
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!
@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.
@rafaelsoler6366
@rafaelsoler6366 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
@@b2stud Thank you! I will be sure to follow your advice
@destrucktoid7569
@destrucktoid7569 3 жыл бұрын
7:18 "Only one more goal stood in its way..." Activating Windows.
@diamondyoshi6649
@diamondyoshi6649 Жыл бұрын
I'm impressed a fish made a robot that can play the far descendant of a puzzle game with ease.
@Mef_fi
@Mef_fi 2 жыл бұрын
This is amazing! All that would make it better would be making it able to select maps and start games, then you could go to sleep and be a millionaire when you wake up!
@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?
@zappyyz6368
@zappyyz6368 3 жыл бұрын
no one tell him you can use keybinds
@Beasthunter1408
@Beasthunter1408 4 ай бұрын
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
@CKScores
@CKScores 3 жыл бұрын
Imagine playing co-op with this AI
@ukrainiansturgeon8561
@ukrainiansturgeon8561 3 жыл бұрын
Oh no...
@LeeTwentyThree
@LeeTwentyThree 2 жыл бұрын
If the game uses c#, use dnSpy!!!! You can in seconds easily decompile everything and reverse engineer it, plus amazing user interface. And for Unity in general you can use Runtime Editor, designed for BepInEx which should be easy to install
@ludvigholst4767
@ludvigholst4767 3 жыл бұрын
Your style is a mix of code bullet and Internet Historian, I love it haha
@justaguycalledjosh
@justaguycalledjosh 3 жыл бұрын
"15 possible upgrades." Dart and boomerang monkeys: "imma ruin this man's career"
@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)
@FranXiT
@FranXiT 2 жыл бұрын
Man I wish you did a sequel to this :(
@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!
@incrediblystupid9244
@incrediblystupid9244 Жыл бұрын
4:16 lol cracked me how the text that splats onto the screen was probably still the perfect code. just funny editing.
@CKScores
@CKScores 3 жыл бұрын
Everyone: AI is really dangerous and it’s gonna take over the world AI:
@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?
@zeke7100
@zeke7100 2 жыл бұрын
I would love to see a neuron networked AI that learns as it plays, instead of just you programming it to see a few values and then place towers at specific pre-determined spots.
@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)
@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
@nmotschidontwannagivemyrea8932
@nmotschidontwannagivemyrea8932 3 жыл бұрын
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.
@brunobucciarati4169
@brunobucciarati4169 3 жыл бұрын
For a first video, this is fucking excellent
@YusufSheth
@YusufSheth 3 жыл бұрын
Great video, great channel. Please do make this AI more robust and less hard-coded where possible and then show us all CHIMPS or some other crazy challenges.
@officiallyjk420
@officiallyjk420 3 жыл бұрын
The guy getting yeeted by the ATM got me laughing
@nebularveil5598
@nebularveil5598 3 жыл бұрын
Absolutely amazing, can't wait to see the rise in this channel!
@inyoja
@inyoja 3 жыл бұрын
I appreciate the examples like the fish one, looks cool!
@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!
@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.
@LansIsLit
@LansIsLit 2 жыл бұрын
You make all of this so interesting, hats off to you
Creating an AI to play Rocket League
16:22
b2studios
Рет қаралды 371 М.
An overtly long and dumb analysis of BTD6 war crimes
16:50
Davey Gunface
Рет қаралды 2 МЛН
Thank you mommy 😊💝 #shorts
0:24
5-Minute Crafts HOUSE
Рет қаралды 33 МЛН
«Жат бауыр» телехикаясы І 26-бөлім
52:18
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 434 М.
Cannons that Never Miss
8:24
b2studios
Рет қаралды 542 М.
Are There Infinite Rounds In BTD6?
15:57
MackanRules
Рет қаралды 2,4 МЛН
AI Learns Insane Monopoly Strategies
11:30
b2studios
Рет қаралды 11 МЛН
Only $845 to Beat a Moab in BTD6!
15:16
Dabloon
Рет қаралды 526 М.
AI Invents New Swimming Stroke
20:11
b2studios
Рет қаралды 364 М.
How Far Can Each Hero Get in CHIMPS?
46:37
Hbomb
Рет қаралды 951 М.
The ACTUAL History of Bloons
2:46:33
OrangE
Рет қаралды 18 МЛН
Perfectly Balanced PvZ with No Exploits!
19:51
The Spiffing Brit
Рет қаралды 2,3 МЛН
AI Learns Table Tennis
11:20
b2studios
Рет қаралды 1,1 МЛН