Тёмный

AI Learns LASER HOCKEY 

AI Tango
Подписаться 20 тыс.
Просмотров 19 тыс.
50% 1

This video uses modern AI to beat Wii Play's own AI from years ago. After explaining a little about how it all works, we slowly progress through the AI's training, watching it become stronger and stronger as it learns to play.
00:00 Explanation
02:18 Making It
04:23 Training Starts
08:50 Final AI
Also thank you to my editor for editing this video!
www.benji-bott.com

Игры

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

 

15 июн 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 104   
@HappyGingerWolf
@HappyGingerWolf 9 месяцев назад
Its really funny how the AI got so good at around the 16 hour mark that it forgot how to handle the ball spawning on its side of the field (which only happens after it loses a point)
@aname4390
@aname4390 11 месяцев назад
Simple games seem to do an excellent job of showing the progression of the AI learning.
@aitango
@aitango 11 месяцев назад
Yeah simple games do seem to give a really nice smooth improvement as the AI trains!
@Luigiman-rc9fi
@Luigiman-rc9fi 9 месяцев назад
It really seems to love that particular angle of paddle. I mean, it does seem to be working, but still, it's really set on keeping it like that.
@samevans4834
@samevans4834 9 месяцев назад
I think that's because that angle makes it really easy to squeeze the puck between the bottom wall and the paddle to get high-speed shots consistently. I know because I used to use that against my brother lol
@danielnavarropuche
@danielnavarropuche 9 месяцев назад
At this point the best bet is to divide this base AI into two so that they can play against each other in two player mode. This way it can get as good as it can against any opponent, since it is just getting good against the cpu exploiting it's weaknesses; however, if you were to place it against a random player it might not do as well. Furthermore, it itself has weaknesses, so a separate AI exploiting those should teach it properly.
@EbonyWolf.
@EbonyWolf. 11 месяцев назад
That's incredible. You gotta train it to beat that wii tank game now. I was never able to beat it even when cooping with my friend.
@aitango
@aitango 11 месяцев назад
Wii Tank game would be amazing to see, but definitely a real challenge! Might have to leave my pc training for about a week to beat that one haha
@Allidisk
@Allidisk 10 месяцев назад
my brain has been rotted when mania master comes on all i hear is jort storm
@dznutskong
@dznutskong 10 месяцев назад
Cool video! Gotta wonder what would happen if you put this AI up against itself though - would it just have a crazy endless game where neither would score or would it need to learn more before getting there?
@aitango
@aitango 10 месяцев назад
Honestly I have no idea! Not sure if they would just become like gods and no one could score, or if they would get really good at directing their shots so the other player couldn't block them.
@Rebateman
@Rebateman 9 месяцев назад
​@@aitangoWell, there's only one way to find out!
@dadmitri4259
@dadmitri4259 9 месяцев назад
I like how at one point you can see the enemy AI perfectly track the ball's vertical position. Then suddenly in the games it's so sluggish to react. It feels programmed. Contrast to your ai, which looks like it's actually trying
@dadmitri4259
@dadmitri4259 9 месяцев назад
The way the red paddle tracks at high speed looks so goofy
@TheRealMakotoYuki03
@TheRealMakotoYuki03 9 месяцев назад
I like how it shakes around like it's celebrating
@cozmothemagician7243
@cozmothemagician7243 8 месяцев назад
So glad I found your vids. Am having a wonderful time watching. Thank you again.
@charl2182
@charl2182 11 месяцев назад
You should try playing against your AI! Also, can your AI get the platinum medal yet?
@aitango
@aitango 11 месяцев назад
Yeah that would've been entertaining, I might try that on some other videos. Is it 14 points to get the platinum medal? I might've gotten it while training a couple of times since it seemed to be close in most of the games I watched. Perhaps I should've let it train for longer!
@charl2182
@charl2182 11 месяцев назад
@@aitango According to Google it's just 14 points. I wasn't sure if maybe it would penalize you if the CPU opponent scored, but I guess not. I wonder if it's possible to get scored on 14 times, and score 14 goals in the same game, and tie and still get a platinum medal. Maybe your AI is the bot for the job?
@hexagon2727
@hexagon2727 9 месяцев назад
Love the fact you used Jort Storm by slimecicle in the background
@GerardPinzone
@GerardPinzone 9 месяцев назад
Idea: Put it in a shop and allow people to play it for free all the while collecting training data. Keep the existing training data as a starting point but let's see how well it gets against humans after a month. Or, rewrite it to play against itself in 2 player mode.
@entropete_
@entropete_ 9 месяцев назад
Incredible video, maybe the fastest a channel has gotten me to sub lately. Small piece of advice: when the subtitles and the hour counter are the same color it can look like "8 hours" is part of what you're saying. Like i said, very small and insignificant thing, but it was slightly distracting
@salih2d486
@salih2d486 11 месяцев назад
this is so good I folowed your videos now sinde 1.5 years and all of them get better and better.
@aitango
@aitango 11 месяцев назад
Really glad you think so, I’ll keep at it!
@PhirePhlame
@PhirePhlame 9 месяцев назад
It looks like the AI's biggest struggle was handling when the ball wound up _behind_ the blue paddle.
@aitango
@aitango 9 месяцев назад
Probably got nervous it would score an own goal
@17abcdgh
@17abcdgh Месяц назад
4:33 It took me a second to recognize it, but I’m glad you chose JORT STORM for bgm Edit: nvm slimecicle used royalty free music as the backing track lol
@mr_clean575
@mr_clean575 9 месяцев назад
I love this! Really interesting that the AI seems to prefer to hold the paddle at that 30 degree angle. I guess it makes sense because it gives it a lot easier access to hitting the ball in whatever direction it wants with only a slight change, given the circular end of the paddle.
@aitango
@aitango 9 месяцев назад
Glad to hear you like it! Yeah I think it just gives that extra flexibility, and also bouncing it off the wall just seems better in almost every case than just hitting it straight
@BLCRAFTGaming
@BLCRAFTGaming 10 месяцев назад
Oh cool I didn't realize you were VIPTankz! I'm in the video 😳
@aitango
@aitango 10 месяцев назад
I thought you knew about my channel! That’s cool if you came across it anyway though!
@justsayin...1158
@justsayin...1158 9 месяцев назад
Do you think, you could make an AI beat the Wii Play tank game, or would it take too long to train it, given how much levels can vary? Maybe you can have it learn just one extremely hard level in that game?
@seriousbusiness2293
@seriousbusiness2293 9 месяцев назад
What type of exact RL method did you use for this? Also do you modify the method or do you more or less implement it the way its coded in the papers? And do you have to do allot of hyperparameter tuning that we dont see or do you just wing it at the start and run it a long time? I really love RL allot and your channel got a instant sub, if im lucky you can maybe quench my curiosity a bit.
@AmaroqStarwind
@AmaroqStarwind 9 месяцев назад
You should try adding a bonus reward for stylish flourishes and stuff
@dylanku0625
@dylanku0625 9 месяцев назад
The Lazer Hockey turned into DBZ after 8 hours, very riveting to watch. I wonder how the Ai would do against another Ai like that? Maybe even a copy of itself?
@fuzz409
@fuzz409 9 месяцев назад
It would be interesting to see you also play against the ai in these videos
@user-qr9vi5ur6f
@user-qr9vi5ur6f 10 месяцев назад
New sub! Great videos... can you make a video on your hardware specs? What computer you use, GPU, cpu , training, do you use cloud services for training?
@aitango
@aitango 10 месяцев назад
Thanks, great to have you around! Probably won't make a video on it, but here it is! This is run on my own PC rather than cloud compute, but was very expensive to initially buy. The GPU is an RTX4090, the CPU is a i9-13900k, and I have 64gb of ddr5 5600mhz ram. All of the mentioned parts massively speed up training. GPU allows you to do the learning (backpropagation) faster, the CPU allows me to run many environments in parallel very fast, and the algorithm im using requires something called an Experience Replay Buffer, which can use huge amounts of RAM (often far more than 64gb!)
@merouln700
@merouln700 11 месяцев назад
Not really a question but please read your own subtitles before releasing a video. I get that you used speech-to-text to make them quick, but proofreading shouldn't be avoided.
@aitango
@aitango 11 месяцев назад
Yeah I briefly checked over them but was still a bit asleep when reviewing them haha
@a_person5668
@a_person5668 9 месяцев назад
I’d also strongly recommend moving the hours trained display thingy away from the top row of subtitles. They’re the same color and everything, so often when reading subtitles, it’s quite confusing.
@RinekotheReaper
@RinekotheReaper 9 месяцев назад
Would be amazing to see AI try and take on 2003 Strategy AI from a game called Rise of Nations Extended Edition. Those AI are absolutely brutal in terms of strategic skill if you have them set to toughest difficulty.
@abenezerassefa-gb1yd
@abenezerassefa-gb1yd 9 месяцев назад
Nice video man, it was very enjoyable. How did you get into coding? Im kind of getting interested watching your videos and wanna know more about it
@aitango
@aitango 9 месяцев назад
Thanks! I learned a little coding in school when I was about 14, then I got really into making games so spend hours learning to code that way! I have mostly stuck to Python, but also done a couple of others here and there
@abenezerassefa-gb1yd
@abenezerassefa-gb1yd 9 месяцев назад
@@aitango thanks for ur comment, ill look around!
@Nonyanomo
@Nonyanomo 9 месяцев назад
I love this channel, I do wish the music was a lil less loud. I kinda watch these videos at night but still the music audio is a but overbearing in my opinion. I'm absolutely subbed tho!
@ls190v2
@ls190v2 9 месяцев назад
Cue the funky music.
@ThePureSynergist
@ThePureSynergist 9 месяцев назад
That reminds me of when they taught an AI to play shooters and eventually they ended up never leaving spawn since the punishment was more likely than the reward.
@crowlsyong
@crowlsyong 9 месяцев назад
Awesome dude. Can you do 4k next time? small text is a little crunchy
@duckdudette
@duckdudette 11 месяцев назад
It's cool that it learned to turn at an angle and bounce the puck off the walls! Would love to see an AI destroy COD Zombies if that's doable!
@aitango
@aitango 11 месяцев назад
Yeah it really mastered that shot! I would absolutely love to do COD Zombies, definitely be something I will at least give a try…
@hermetrix7035
@hermetrix7035 9 месяцев назад
@@aitango Hey how could I learn to build an AI like this? I follow the competitive cod zombies community and I'm curious about the potential use for AI clearing confusion with certain strategies (particularly on Shi no Numa). I've drafted a list of variables an AI might want/need and have decent game knowledge regarding BO1-BO3. If it might matter, while frames per second is known to affect movement mechanics and input frames in games like COD, the "server side" (which applies even to solo mode) runs at 20 Hz, so it might not be as resource intensive as it might otherwise seem just having the AI read variables at that rate. Also, low FPS can even be advantageous for movement in certain situations over high FPS. I don't know much about AI so I don't know how naive I might be about this 😅 but I would be willing to train it a long time if there is real potential for it to discover novel ideas.
@lucialambda
@lucialambda 9 месяцев назад
love how it looks like the ai was struggling with getting stuck on the walls cos the walls actually stick u in this for some reason. my mum always used to struggle with that lol
@BritVinylBoy
@BritVinylBoy 9 месяцев назад
Cool vid! I wonder what is the difference between CPU and AI. Also new sub!
@aitango
@aitango 9 месяцев назад
Thanks for the sub, glad you liked it! The AI and the CPUs work very differently, as the CPUs use quite traditional techniques (this game came out almost 20 years ago), whereas my AI is a self-taught neural network
@woolium
@woolium 9 месяцев назад
We need this to be open sourced!
@nicki8731
@nicki8731 9 месяцев назад
mhmm
@bradfairbairn2870
@bradfairbairn2870 8 месяцев назад
I want to see an ai like this fight another ai. Just to see how fast paced The game could get
@EpicJack1234
@EpicJack1234 10 месяцев назад
i like your ai videos
@aitango
@aitango 10 месяцев назад
I'm very glad you enjoy them!
@falserevenant354
@falserevenant354 8 месяцев назад
Would love to see Wii Tanks! done since it's a little more complex but shouldn't be too difficult to overcome.
@aitango
@aitango 7 месяцев назад
I actually tried doing Wii Tanks a while back but had some trouble with it, but its something I want to come back to because I really loved Wii Tanks :)
@falserevenant354
@falserevenant354 7 месяцев назад
@@aitango Awesome to hear, i hope to see that video eventually.
@shawnm355
@shawnm355 9 месяцев назад
i wouldent mind seeing a human take on the ai's from your videos
@Ungrilled_Cheese
@Ungrilled_Cheese 9 месяцев назад
now you have to play against it to see how good it is against humans
@robinbatwing8846
@robinbatwing8846 9 месяцев назад
BEAT IT, BEAT IT, BEAT IT!!!
@dadude7623
@dadude7623 11 месяцев назад
Man, I'd love to make one for NSMBWii, how do I learn this from scratch? Do you have a GitHub for your past AIs?
@aitango
@aitango 11 месяцев назад
The technique to learn is Reinforcement Learning, although it can take a while to learn if you are new to it! I don’t currently, but may create one soon! Also, I might currently be planning another video on NSMBWii haha
@obsidian_oki
@obsidian_oki 9 месяцев назад
Is that the feken jorts song in the background lmao
@doctaplease3327
@doctaplease3327 9 месяцев назад
I'll know my time on Rocket League is over when I see "AI's road to SSL"😢
@ayyship
@ayyship 3 месяца назад
I dont see many things about rainbow dqn, why did you choose it and do you think it is a hidden gem or is it more used then I think?
@aitango
@aitango 3 месяца назад
Rainbow is pretty popular, only algorithms I see more often are probably DQN and ppo. It’s a very strong algorithm, but fairly complex to implement. Great for learning rl though!
@samuelthecamel
@samuelthecamel 11 месяцев назад
The strategy seem to be keeping the paddle at a certain angle
@aitango
@aitango 11 месяцев назад
Yeah it really learns to go for wall shots the cpu just can’t seem to handle
@leob.4962
@leob.4962 9 месяцев назад
Wonder what the difference would be if you swapped the paddle to the G one since that's more circular than this paperclip paddle
@aitango
@aitango 9 месяцев назад
That would be interesting, it would probably take a little while to adjust since it appears to really like using the panels at certain angles, but may find it easier in the end!
@leob.4962
@leob.4962 9 месяцев назад
@@aitango Woohoo, more content!
@vilian9185
@vilian9185 9 месяцев назад
it's possible that the code to screenshare is slow or laggy that it is slowing down the ai?
@cbreezy
@cbreezy 9 месяцев назад
I need a game between to 24 hours AI paddles 😮
@ComradeBlue5705
@ComradeBlue5705 9 месяцев назад
Omg the background music is fucking jort storm 4:23
@joebaseball100
@joebaseball100 9 месяцев назад
Can you play your AI? And how is this different that what the WII CPU is doing? Is WII CPU designed NOT to learn?
@aitango
@aitango 9 месяцев назад
The Wii CPU is just following an algorithm, or set of instruction that do not change as it plays, hence it has no capability to learn. This AI however is able to modify itself to improve! Maybe I could play against the AI, I'm not sure if I'll do it for laser hockey for Mario Kart its a bit of a dream of mine to eventually do, and get the AI to beat me!
@TheTinyGamerIsTaken
@TheTinyGamerIsTaken 9 месяцев назад
Wii sports golf would be cool
@aitango
@aitango 9 месяцев назад
Yeah I would love to do most things on Wii Sports, but sadly the defining the actions is quite difficult since they all use motion controls! Plus at the moment I actually don't have access to the controller's accelerometer, so can't perform shaking motions :(
@TheTinyGamerIsTaken
@TheTinyGamerIsTaken 9 месяцев назад
@@aitango cool and i did not actually expect you to respond
@salih2d486
@salih2d486 11 месяцев назад
II bet you cant make an AI playing the first few levels of the panzer game in wii play
@aitango
@aitango 11 месяцев назад
I’ll accept that as a challenge
@xiutecuhtli15
@xiutecuhtli15 9 месяцев назад
how did you make it learn so fast
@jjcookierock
@jjcookierock 9 месяцев назад
How do you make the AI
@alpersheesh5688
@alpersheesh5688 9 месяцев назад
I swear I need to learn AI just because I don´t got any friends to play wii games
@mort-ai
@mort-ai 11 месяцев назад
great. if you could add more CPUs and make it larger will be better + more training
@aitango
@aitango 11 месяцев назад
What do you mean by adding more CPUs? Also I’ve recently been looking into using bigger neural networks for my next videos! Sadly it does often slow training down even if it leads to a better result
@godpow
@godpow 11 месяцев назад
@@aitango I think they mean running multiple instances of it.
@mort-ai
@mort-ai 11 месяцев назад
@@aitango multiple bots against the ai
@MistrumGenderplasma
@MistrumGenderplasma 9 месяцев назад
So this is what they mean by video games cause violence
@maxtech66999
@maxtech66999 9 месяцев назад
can you do pong ? it's even more simple !
@aitango
@aitango 9 месяцев назад
The video is very old and probably much worse in terms of editing and stuff, but I actually have a video on pong!
@Mrgamer1120
@Mrgamer1120 9 месяцев назад
Tank minigame?
@aitango
@aitango 9 месяцев назад
I actually looked at doing this, but its surprisingly difficult! There are lots of different actions which really slows down training, but the biggest problem was that the AI bullets are really small, and the AI already has a very low resolution image to work with. Its definitely a problem I wanna solve though!
@theradomguy5581
@theradomguy5581 10 дней назад
You should have cloned the ai and make it play on the other side as player 2 against it self to get even better 😂
@christopherl5876
@christopherl5876 10 месяцев назад
*Promosm*
@aitango
@aitango 10 месяцев назад
?
@yessirski4076
@yessirski4076 9 месяцев назад
Now you play the ai!
@furioustoad7755
@furioustoad7755 9 месяцев назад
You should play against the AI yourself to see how it fares against a human opponent.
Далее
Mario Bros is too easy for INSANE AI
10:45
Просмотров 124 тыс.
СЫГРАЕМ МИНИАТЮРУ #большоешоу
01:01
ДЖОНИ КИНУЛ ОСКАРА НА БАБКИ 🤑
01:00
The idea of ​​making a badge is so cute ❤️
00:44
The Evolution Of My Mario Kart AI
14:41
Просмотров 48 тыс.
AI Learns to DESTROY pensioner AIs (Mario Kart Wii)
10:57
AI Learns to DESTROY old CPUs | Mario Kart Wii
9:54
Просмотров 1,3 млн
This AI went WILD
12:41
Просмотров 45 тыс.
AI learns to beat a crazy map
18:13
Просмотров 656 тыс.
МЫ - ЭТО ТО, ЧТО МЫ ВИДИМ
9:19
Просмотров 124 тыс.
GENSHIN IMPACT - ПЛОХАЯ ИГРА?
10:18
Просмотров 164 тыс.