Using Image Recognition to find Mario

Поділитися
Вставка
  • Опубліковано 23 гру 2024

КОМЕНТАРІ • 1,6 тис.

  • @1BlueYoshi
    @1BlueYoshi 2 роки тому +2108

    It seems like towards the end the problem wasn't with recognition but with the touching part. Moving icons seem to be hard for it. It clicks where they are rather than where they are going to be, which means that sometimes it can miss the icon.
    I mean at least that's what it looks like to me. I have literally 0 programming knowledge so I could be completely wrong lol

    • @iCraftDay
      @iCraftDay 2 роки тому +44

      U right

    • @genericfakename4372
      @genericfakename4372 2 роки тому +277

      Nah, spot on here. This kind of image recognition, especially using small snippets on a big view, can take a good amount of time (in computer terms). So in the time between it took the screenshot and clicks, the image has changed without the program knowing.
      Could theoretically solve that by having it perform the whole process twice, and extrapolating to where it should actually click, but that would be immensely difficult, especially once you account for the case of it going off screen (and thus coming out on the opposite side).
      And even then, you might get false results when you have it not moving in a straight line, like all the levels where they move in a sinusoidal pattern. Which would in turn be even more obscenely hard to code around

    • @zewzit
      @zewzit 2 роки тому +174

      @@genericfakename4372 and adding to that, even if it 100% predicted where the right one was gonna be, there is a huge chance that in that position it would be covered by another icon. I would have to keep following the path and predict a position where no other icon would clash... ouch ...
      kinda awesome that our brains can just do that automatically and we just take it for granted

    • @zonebro6205
      @zonebro6205 2 роки тому +7

      @@zewzit True

    • @gemhunter498
      @gemhunter498 2 роки тому +23

      I think that also, it might be clicking on where the center of the icon would be, if it wasnt covered by other icons. Instead it should click on a random sub-tile that matches 100%, or the sub-tile that matches the closest.

  • @nicktalksnonsense9869
    @nicktalksnonsense9869 2 роки тому +60

    It is odd how nostalgic this is. I strangely remember this mini game extraordinarily vividly.

  • @zdelrod829
    @zdelrod829 2 роки тому +3235

    The NSMB minigames were probably majority of people's childhood.
    I honestly want to see someone push this idea to the game's limits

    • @DanHallow
      @DanHallow 2 роки тому +105

      And sm64DS

    • @AlryFireBlade
      @AlryFireBlade 2 роки тому +94

      Nah for me it was SM64DS. I didn't knew that these Minigames are in another game too until I was 22 or so (A few years ago)

    • @Toohard315
      @Toohard315 2 роки тому +5

      @@AlryFireBlade same!

    • @ugonnankwonta6472
      @ugonnankwonta6472 2 роки тому +52

      SM64DS came out 1st and had a lot more minigames than NSMB.

    • @Toohard315
      @Toohard315 2 роки тому +20

      @@ugonnankwonta6472 exactly! It deserves more recognition.

  • @MMX974
    @MMX974 Рік тому +37

    Bro just casually hacking 💀

  • @theenchantedgoldenapplekin7979
    @theenchantedgoldenapplekin7979 2 роки тому +6159

    [Spoiler]
    that AI had many close calls, the fact that it made it passed 100 is very impressive

    • @FiereTheCatBoy
      @FiereTheCatBoy 2 роки тому +91

      Oh. You think 100 is a lot? On sm64 ds I got over 2000 once

    • @Redinho1
      @Redinho1 2 роки тому +331

      @@FiereTheCatBoy Man, we’re talking about a fuldging AI

    • @dreamtraveler6135
      @dreamtraveler6135 2 роки тому +215

      @@Redinho1 Hunter is a computer speaking to us

    • @FiereTheCatBoy
      @FiereTheCatBoy 2 роки тому +38

      @Redino I can count at least 100 times this ai messed up. I only messed up once in a group of 50 levels or so. The only reason I didn't keep going was I played so long my ds died. Also I was bored as hell

    • @dreamtraveler6135
      @dreamtraveler6135 2 роки тому +203

      @@FiereTheCatBoy That's what a computer would say

  • @voidpunch1324
    @voidpunch1324 2 роки тому +303

    As a barely ok programmer, i just wanted to say your projects are exactly the type of problems i wanted to solve if i had more skill, you inspire me. Currently recovering from a prp shot on my arm, so this video helped me in this difficult time. Oh and your avatar is cool, cheers.

    • @BakaTaco
      @BakaTaco 2 роки тому +7

      Best of luck with programming, and I hope your arm recovers quickly.
      Take care!

    • @voidpunch1324
      @voidpunch1324 2 роки тому +3

      @@BakaTaco Thank you! 😁

  • @WarioWill
    @WarioWill 2 роки тому +5320

    It would be fun to see this same concept used in the bob-omb sorting minigame. Nice vid. Very good. 10/10 would subscribe again.

    • @testoftimegaming5219
      @testoftimegaming5219 2 роки тому +70

      wouldbt they fail as its using scren shots to fund them so it only works wheb everythibg stays still

    • @maxwellthesillycat
      @maxwellthesillycat 2 роки тому +47

      @Test Of Time Gaming bro, what you saying

    • @subg9165
      @subg9165 2 роки тому +109

      @@maxwellthesillycat damn i guess four or five typos makes something incomprehensible
      three of them are even the same type of typo

    • @CrashFan03
      @CrashFan03 2 роки тому +68

      @@testoftimegaming5219 i mean this minigame also uses moving icons and it seems to be relatively fine with them here

    • @marcalcantara1174
      @marcalcantara1174 2 роки тому +14

      @@testoftimegaming5219 well I don't know actual coding but I feel like a polished "if pink on X,Y coordinates (that don't include the goal area) is detected, click then drag to x,y coordinates (that correspond to the goal)" and then same with gray I guess(?)

  • @travis-n-joy
    @travis-n-joy 2 роки тому +148

    Seems like you could double the accuracy by programming it so that it looks for Red on Mario and Yellow on Wario. Since those colors are unique to that character, you could basically ensure that those 2 characters are never missed. It wouldn't have to match tiles at all. Once it detects the color, that's where the character is located. That would just leave Luigi and Yoshi to the rest of your code. Since virtually no time would ever be lost and only added for Mario and Wario, I can't imagine that the script would ever run out of time.

    • @pushyrummble8625
      @pushyrummble8625 Рік тому +18

      You would lose since a lot of the time their hats are completely covered and you can only see their face so you need to match other parts of their face.

    • @RS-rz4ll
      @RS-rz4ll Рік тому +2

      Maybe one could add the colour purple for Wario's nose.

    • @BigOlSmellyFlashlight
      @BigOlSmellyFlashlight 9 місяців тому

      well also their chins (when cut off) and mustaches (when theyre covered)

  • @thisguy.-.
    @thisguy.-. 2 роки тому +4746

    I love how the ai isn't perfect and makes mistakes instead of nailing it every time, it's soo much more entertaining that way
    Edit: It isn't AI goddammit, read the replies before telling it to me for the millionth time please.
    Edit 2: okay fine it might as well be AI, only not machine learning. Okay? So unless you have something else to say please stop.

    • @BusterBrown1217
      @BusterBrown1217 2 роки тому +206

      Mainly because it is too slow to click it on time, not an issue of finding it

    • @Maker0824
      @Maker0824 2 роки тому +44

      I personally just think it is an excuse to not have to work on it until it's good. or maybe I'm just a perfectionist

    • @thisguy.-.
      @thisguy.-. 2 роки тому +33

      I didn't mean as in its better for it, only more entertaining which in the bots case is its main purpose. I don't think he's trying to build a bot that has purpose of playing the game efficiently for research, more make it do something novel to make a video about. Thus it works perfectly since the goal is not to be perfect but to work for the novelty of a bot that can play this game
      Also when I refer to it making a mistake I don't mean not clicking instantly, I mean actual mistakes of clicking the incorrect icon.

    • @thechugg4372
      @thechugg4372 2 роки тому +4

      That's the entire point of machine learning though.....

    • @thisguy.-.
      @thisguy.-. 2 роки тому +54

      @@thechugg4372 he wasn't using machine learning. Tbh idk if using terms like AI are correct but in reality it doesn't matter that much

  • @prestofungus8588
    @prestofungus8588 Рік тому +4

    8:30 i love that reference to the Super Mario Bros game

  • @sauci.8389
    @sauci.8389 2 роки тому +849

    dude this is already in the first 20 seconds a nostalgia punch in the face nose break for me, new super mario bros minigames were my life

    • @leviathanthetallone8299
      @leviathanthetallone8299 2 роки тому +18

      They where also in mario 64 ds

    • @amog8202
      @amog8202 2 роки тому +8

      Yeahhhh.
      I remember just vibing in Luigis casino all damn evening

    • @beans3669
      @beans3669 2 роки тому +2

      @@jimmyjohnjoejr he wasn’t asking for somebody to give him a way of playing the game. If he played it, I’m pretty sure he’s got the ds to play it again somewhere

    • @jimmyjohnjoejr
      @jimmyjohnjoejr 2 роки тому +7

      @@beans3669 🤓

    • @Spectre2409
      @Spectre2409 2 роки тому +1

      Daaaamn, I remember destroying my little brother in the bob-omb tennis minigame, it was so much fun!!

  • @jackhawkins7285
    @jackhawkins7285 2 роки тому +8

    This video gave me much needed inspiration for my final year project in my Computer Science degree at university. I was already looking into doing something around image recognition but didn’t know if it was viable. Thank you

  • @SuperDZ555
    @SuperDZ555 2 роки тому +156

    Ok but can we get an AI that can learn to manipulate RNG and beat Luigi at poker
    Edit: yes i have watched the video about toad manipulating the cards its just that i posted this comment before that existed

    • @jimmypatton4982
      @jimmypatton4982 2 роки тому +12

      Probably, doubt they used a hard RNG generator. Might just have to use the time converted by same RNG generator that they used, or something similar. (Totally not human like, but who is counting, when using super processing to play match the face)

    • @Winasaurus
      @Winasaurus 2 роки тому +7

      You don't need to manipulate the RNG, the odds are in your favor as the player anyway.

    • @BakaTaco
      @BakaTaco 2 роки тому +3

      Don't tell RTGames about that possibility.

    • @Thomas_wur
      @Thomas_wur Рік тому

      I have 8000 coins on that minigame…

    • @thesergius2295
      @thesergius2295 Рік тому

      Someone ready did It without AI believe It or not, toad , YES, THAT TOAD WITH THE DRINKS is the culprit of It all, look for beating Luigi poker using toad or something like that

  • @loansharkjoe6687
    @loansharkjoe6687 2 роки тому +1

    I still play this game to this day.
    Me and my brother take this game everywhere when we go on holidays with our DSIXLs.
    We always played Minigames and Mario VS Luigi and just mastered every single thing about the game.
    Wanted is one of our hated minigames because we played it so much that we would manage to find the faces in less than 1 second of the minigame clock ticking.
    It's exhausting to play against that level of experience.
    Really glad you made a video about NSMB, it means a lot to me that this game is still being played, I feel so alone and stuck in the past for still playing DS Lite games in 2022.

  • @MinergamesWasTaken
    @MinergamesWasTaken 2 роки тому +310

    I remember specifically that I managed to get to Level 256 on this game. It was when I was younger, so younger me thought, "yeah, time to stop here".
    I still do not know how I managed to get that high of a score.
    Younger me, you are an absolute gamer.

    • @akisalmenaho8473
      @akisalmenaho8473 2 роки тому +23

      SM64DS had this same minigame. I managed to get to 105 before I decided to end it there.

    • @csptheqn9544
      @csptheqn9544 2 роки тому +16

      I got 201 and thought I was good man u were insane

    • @dile3725
      @dile3725 2 роки тому +32

      Once you get in a rhythm, you have to be the one to stop yourself lol I got to at least 1000 before making myself stop

    • @Itjo
      @Itjo Рік тому +5

      I got to +1000 and just stopped because I was bored

    • @Itjo
      @Itjo Рік тому +5

      ​@@dile3725 exactly Same with me

  • @Ktap4321
    @Ktap4321 Рік тому +2

    Ironically the mini games here taught me blackjack and poker.

  • @KLGB76
    @KLGB76 2 роки тому +339

    I noticed that most of, if not every time that the AI fails, it's on levels where the icon moves. I guess that's because the reaction time between getting the position of the icon and the moment the AI actually clicks on that position is long enough for the icon to be out of reach. I wonder if there is a way to fix this tiny problem.

    • @sarowie
      @sarowie 2 роки тому +20

      I think part of the problem is, that the icon are partially covered.
      I wonder if the game gives priority to the top most icon or the wanted Icon in case of overlap.

    • @KLGB76
      @KLGB76 2 роки тому +12

      ​@@sarowie I played this game a lot when I was a kid and replayed it recently. I'm pretty sure that it prioritize the top most icon so you might be onto something here. Although, I didn't check the code of the game so I can't be sure.

    • @CrazyFanaticMan
      @CrazyFanaticMan 2 роки тому

      @@SweetSaucer This program doesn't utilize any neural net, so since there is no ML being performed it doesn't qualify as an A.I
      What I mean by "prediction" is just taking the difference between two integer points, really not that complex.
      There may be an even simpler implementation but you saying I'm "overthinking" it is strange to me since my solution is really only 3 steps which can be converted to three python functions.
      Extra screenshots are not needed for determining trajectory.

    • @CrazyFanaticMan
      @CrazyFanaticMan 2 роки тому

      @@SweetSaucer ML/AI is all about prediction, that's why I gave you the pretext when I went on to misuse "prediction", a synonym could have been "determine" but I agree with you, prediction is just easier to use and common vernacular
      Every time a screenshot is taken you can just compare the coordinates, that's what I mean. Pic at time 5 and pic at time 7 will have different the location of the face at different pixel coordinates, no extra screenshots are needed.
      OpenCV can actually do a very good job at locating the faces despite the erratic movements since it's written in C/C++, it can definitely perform the task in the vid

    • @CrazyFanaticMan
      @CrazyFanaticMan 2 роки тому +2

      @@SweetSaucer You can give your perspective, I don't understand what made you so angry with me

  • @galuxius1861
    @galuxius1861 Рік тому +2

    I remember when me and my cousin were kids, the bomb-omb sorting game made me so angry at him in online play that I actually stabbed him with the dp pen. Glad you enjoyed it as a kid because child me clearly did not.
    Great video! WIshed I hadthis to beat him with insteadof the ds pen

    • @CodeNoodles
      @CodeNoodles  Рік тому +3

      I'm glad I'm not your cousin 🤣

  • @the_vine_queen
    @the_vine_queen 2 роки тому +226

    You could've just searched for red and yellow pixels for Mario and Wario respectively, since red and yellow only show up for those characters. This obviously couldn't work for Luigi and Yoshi, but it might speed up the process and ensure no time is lost on Mario or Wario. Great program tho!

    • @RibbitRibbit25
      @RibbitRibbit25 2 роки тому +74

      Except for on ones like the example at 4:34 . If I remember this minigame right that is a static one so the hats never show. There are probably also some overlapping ones that don't move that will also completely obscure the hat.

    • @ZipplyZane
      @ZipplyZane 2 роки тому +53

      @@RibbitRibbit25 I believe the idea would be to automatically click only if the appropriate red or yellow is present (hopefully within a single frame). If not, then you fall back to matching the image.

    • @nightmareblocks
      @nightmareblocks 2 роки тому

      @@ZipplyZane I was just coming to comment the same thing

    • @Mabra51
      @Mabra51 2 роки тому +2

      But sometimes their hats is completely obstructed.

    • @fashnek
      @fashnek 2 роки тому +2

      @@Mabra51 And? A one-size-fits-all solution is generally unoptimized

  • @ladyyy_rosa
    @ladyyy_rosa 2 роки тому +3

    NSMB was ahead of its time. Also, I can’t code Python except for print, so you’ve earned my sub

  • @Joker22593
    @Joker22593 2 роки тому +28

    What I like is that the minigames are the same ones on Super Mario 64 DS and you can do crossplay multiplayer between the two.

    • @BMeiome13
      @BMeiome13 2 роки тому +3

      Finally someone that mentions SM64DS!

    • @Xenofinite
      @Xenofinite Рік тому

      oh crossplay multiplayer like that is a thing??? makes me wanna test it out for myself

  • @SpectreSoftware
    @SpectreSoftware Рік тому +1

    I got to a high score of over 600 on Wanted. No idea how I'm that good at recognizing the faces of the Mario brothers. Neat idea for this video.

  • @virtualcolt
    @virtualcolt 2 роки тому +17

    I remember playing wanted with my mom for hours, i got so good at it that I can now spot the faces pretty fast and accumulate a lot of extra time

  • @jestersmith9349
    @jestersmith9349 Рік тому +6

    That is so cool!!! I love your tenacity very much. It makes me giddy to see you keep pushing through even when faced with a new problem! I love watching people show off what they do with coding, it really is technological magic to me! Thank you for sharing!!

  • @Ultragay_bacon
    @Ultragay_bacon 2 роки тому +639

    Wow, maybe one day we could get an AI that can play the actual new super mario bros ds in real time

    • @thebananaspeedruns9275
      @thebananaspeedruns9275 2 роки тому +19

      Isn’t that just a TAS?

    • @overthinkit_
      @overthinkit_ 2 роки тому +104

      @@thebananaspeedruns9275 A TAS is a human playing the game, but putting in each and every one of their inputs frame-by-frame & via a program, rather than real-time & via a controller. That's why it's called a _Tool-ASsisted_ speedrun!

    • @slyp5409
      @slyp5409 2 роки тому +24

      @@overthinkit_ There are TAS that have real time elements to them. Im willing to bet this AI could count as one if the minigame was timed and had a leaderboard.
      Also it Tool-Assisted-Speedrun. The last S is for speedrun, not part of the word Assisted

    • @sledgen.
      @sledgen. 2 роки тому +2

      @@overthinkit_ oh hey it’s the guy from quinbobin xD

    • @veto_5762
      @veto_5762 2 роки тому +3

      For that you either need and hyper advanced ai able to recognize paterns types of colisions, enemies, etc... or just mess with the game code and somehow make it send specific signals to an external program

  • @liynox3873
    @liynox3873 2 роки тому +1

    It seems so easy until you’re trying to get a spectrometer and cameras to determine whether or not to fire air nozzles on 7mm pieces of plastic flake as well as making a determination on if it’s white or clear.

  • @genocider5868
    @genocider5868 2 роки тому +469

    I wonder if it'd work better if you had a program seperate sprites' color schemes and look for colors that occur only in one character (like red for Mario, Yellow for Wario and there are probably more colors than that) so that if there's a red or yellow it can find the icon faster

    • @genericfakename4372
      @genericfakename4372 2 роки тому +92

      I mean, that is essentially what the 'sub icons' thing was doing. Except instead of a single pixel (which could be covered up), dividing it into groups of distinct characteristics that are less likely to be so.

    • @sirsins9598
      @sirsins9598 2 роки тому +54

      Counterpoint:
      Chins.

    • @AceFaz
      @AceFaz 2 роки тому +18

      @@sirsins9598 then have the chins as a final resort, and the colour scheme take place between the 2 since it's more reliable

    • @Dr.Death8520
      @Dr.Death8520 2 роки тому +14

      Colours only helps for 2/4 options though, so it isn't an efficient solution. And as mentioned you may not see that speck of red/yellow if the layout is unhelpful

    • @Julian-um2om
      @Julian-um2om 2 роки тому +2

      sho pfp !!!

  • @darkpit456
    @darkpit456 Рік тому +1

    Luigi is the hardest one to find because his eyes looks almost like Mario and his green blends in with Yoshi. I have had tries where I ran out of time all because I couldn’t find Luigi until it was too late.

  • @kingwes987
    @kingwes987 2 роки тому +16

    Thanks so much for making the code available! I’m working on a project that requires image recognition and this will help me a lot!

  • @emperorrayquaza
    @emperorrayquaza Рік тому +2

    You can tell even when it’s getting it wrong it’s cos it’s miss clicking on the ones that are moving, since the mouse just moves to the point where it’s at then the icon moves it misses. Very cool creation

  • @TheAlexSchmidt
    @TheAlexSchmidt 2 роки тому +15

    I imagine this must've inspired Wii Play's Find Mii seeing as it uses a similar timer-based system to determine how far you get.

  • @aethar2750
    @aethar2750 2 роки тому +1

    The new super mario brothers minigames have been a key and fundamental part of my childhood and has kept me alive all this time

  • @azukar8
    @azukar8 2 роки тому +63

    I was wondering why it seemed to hesitate on a couple of the moving levels? During the timelapse it seemed to wait a while and let the timer run down, or make a few misclicks before getting it right.

    • @CodeNoodles
      @CodeNoodles  2 роки тому +72

      It only updates 2 times per second so if the character is behind another it doesn't locate it on that frame. It also misclicks occasionally because it isn't always fast enough.

    • @liamjones2131
      @liamjones2131 2 роки тому +14

      Not only that, when the movement happens, the Wanted Character isn't always at the front. Any time you click on the wanted character, when an unwanted character is in the foreground on the exact space you clicked, it will think you clicked the unwanted character.
      I lost a 60 odd run that way about 10 years ago.

    • @McTuber42
      @McTuber42 2 роки тому +3

      @@CodeNoodles would it be possible to make it update faster?

    • @zitronenwasser
      @zitronenwasser 2 роки тому +4

      @@McTuber42 More optimized code, use c++, or put everything in a c/c++ library that is performance intensive and call it from python

    • @azukar8
      @azukar8 2 роки тому +2

      @@CodeNoodles Makes sense. I'm an extremely beginner programmer so I'm trying my best to learn

  • @Kraken_JPN
    @Kraken_JPN 2 роки тому

    BRO, THAT NOSTALGIA IS HITTING ME SO HARD.TY for reminding that I've played ALL OF THEM when i was a kid...

  • @B00GMAN_08
    @B00GMAN_08 2 роки тому +81

    Very Impressive! I noticed that almost all of its misses at the end came from the fact that the icons were moving and the AI couldn't keep up. I wonder if there's a possible way to fix that?

    • @slob5041
      @slob5041 2 роки тому +4

      Use a few frames to test for motion then wait for the loop to come back and match.

  • @zedin27
    @zedin27 2 роки тому +2

    I struggled watching this at night :(. The white background just blasts my eyes. But other than that, seeing my favorite minigame from the super mario DS game with programming, it brings me smiles on my face. Good job!

  • @blandpotato545
    @blandpotato545 2 роки тому +102

    I’ve played this game so much as a kid I find it funny how I can find mario faster than the AI sometimes

    • @andresmartinezramos7513
      @andresmartinezramos7513 2 роки тому +21

      That is because you sre looking for red pixels for Mario. I would guess you can also find Wario faster, while performing similarly to the algorithm when it comes to Luigi and Yoshi.

    • @oldveryveryoldmanfromthe1900s
      @oldveryveryoldmanfromthe1900s 2 роки тому +3

      @@andresmartinezramos7513 Mario and warios faces are differently shaped to the point of being notable

  • @adamzero_
    @adamzero_ 2 роки тому +5

    that level 107 was rigged, luigi was hiding for like 90% of it.

  • @Xander_X
    @Xander_X 2 роки тому +12

    That was awesome!
    Gonna try programming in the next Couple of months too!

  • @CyanicCore
    @CyanicCore 2 роки тому +37

    This is one of the easier games on NSMB/64DS, but this is still impressive! I've finally started trying to learn Python myself, and people like you are quite inspiring. Seeing how the AI performed here, have you considered other minigames? For example, "Which Wiggler?" should avoid some overlapping, but also requires more precision. Hide and Boo seek would be interesting as well, though the task is very different.

  • @Nerdtendo6366
    @Nerdtendo6366 2 роки тому +6

    I remember playing Wanted during a power outage and I purposely let myself die because I just wanted to do something different. Wanted might be one of the easiest mini games ever

    • @grylltheonion
      @grylltheonion 2 роки тому

      If you use glasses, try doing it without them. It's near impossible lmao

    • @Nerdtendo6366
      @Nerdtendo6366 2 роки тому

      @@grylltheonion I don’t wear glasses

  • @lukenawrocki5042
    @lukenawrocki5042 2 роки тому

    HO boy that was intense, i was expecting it to not work at all until it was able to go infinitely but it was so fun seeing it have close calls. Great video!

  • @jamesfilms_
    @jamesfilms_ 2 роки тому +3

    Someone was certainly inspired by Code Bullet haha. Great video though man, you've definitely beaten my high score.

  • @nickt2699
    @nickt2699 2 роки тому

    No joke. I played this game a few days ago. If not, exaclty the same day you uploaded this video.
    Prior to that day you uploaded, it's been about 5 years ago since I last played.

  • @smellthel
    @smellthel 2 роки тому +7

    I love this AI. It’s how a very good Wanted! player would play.

  • @SGGM_07
    @SGGM_07 2 роки тому +1

    0:01 i just found your channel and i already love you
    NSMB is love, NSMB is life

  • @david.the.disaster
    @david.the.disaster 2 роки тому +5

    I loved these mini games as a kid. Really fun video, I never got past 15 levels

  • @Flop_Studios
    @Flop_Studios 2 роки тому +1

    Dude I played these minigames so much and at one point I got this game to 1000 score. Never thought I would see it in my recomended.

  • @xpiggyyyplayz6752
    @xpiggyyyplayz6752 2 роки тому +26

    Very entertaining video! Love your stuff :)

  • @thetky_clan666
    @thetky_clan666 2 роки тому +2

    Code Bullet & Code Noodles? That's A Duo That Should Work Together To Create An AI That Surpasses Even Themselves.

  • @pancake891
    @pancake891 2 роки тому +6

    OMG BRO I USED TO LOVE THIS GAME!!! Idk lemme check what my highscore on it was

  • @jones20056
    @jones20056 Рік тому +1

    im so glad this came in on my recommended page, such nostalgia combined with something thats created incredibly. I loved it

  • @Poup_o7
    @Poup_o7 2 роки тому +3

    Wow this was actually a pretty interesting video. Definitely earned my subscription

  • @CalimariCalimaria
    @CalimariCalimaria Рік тому +2

    this man casually made a recaptcha completor and used it for mario

  • @ado-
    @ado- 2 роки тому +10

    Wouldn't it make for faster image processing to check the hex value for a specific pixel on the top screen a set amount of time after it taps a character on the bottom? (Sorry if this makes no sense lol)

    • @memetech-
      @memetech- 2 роки тому +7

      I made no sense until I watched but now I understand what you are talking about. Like if it looks at the hat colour and it matches Mario, Luigi, warrior, wa Luigi or yoshis eyes then skip the top screen search and just look at the bottom screen for that image. Another improvement would be to wait for the bottom screen to not be completely black, if it does not already do that

    • @ado-
      @ado- 2 роки тому +1

      @@memetech- yeah the completely black screen thing is a hurdle but after you tap the right character the timing should be perfectly consistent of when the character shows up i think

    • @CodeNoodles
      @CodeNoodles  2 роки тому +8

      I think I see what your saying. If it looks for the hat color though (excluding Yoshi) what if the hat isn't visible on the bottom screen?

    • @memetech-
      @memetech- 2 роки тому +4

      @@CodeNoodles it’s always visible on the top screen. You see the colour, match it to an image in the expansive database of a few Mario characters, and continue where this already does

    • @ado-
      @ado- 2 роки тому +3

      @@CodeNoodles i'm talking exclusively about the image recognition of the top screen. it definitely isn't the brunt of the image recognition loading time though lol

  • @catfluff85
    @catfluff85 11 місяців тому +1

    All I gotta say is
    1. This is impressive
    2. Damn the BGM in this video is a banger

  • @DrCryptex
    @DrCryptex 2 роки тому +9

    These videos are so cool

  • @jonathanvandagriff7515
    @jonathanvandagriff7515 2 роки тому

    It's so neat seeing someone do this to a mini game you remember playing from your childhood.

  • @lamenwatch1877
    @lamenwatch1877 2 роки тому +6

    You could make it so mario just checks for anything red, and wario for yellow, since I think those are the only ones that have those colors.
    EDIT: Never mind, this is a flawed idea.

    • @omicra6874
      @omicra6874 2 роки тому +1

      if the colours of their respective hats where blocked by another character, there would be no coloured distinction that the AI could detect. Your strategy might work for the first few stages, but once the screen is filled there is a higher probability that distinctive factors are lost.

    • @lamenwatch1877
      @lamenwatch1877 2 роки тому

      @@omicra6874 Good point, I didn't think about that.

  • @clampchamp1822
    @clampchamp1822 2 роки тому

    Knowing that Mario used to be Miniladd's gmod player model and the thumbnail has a wanted poster of him makes this a whole lot better

  • @Dannysaurus606
    @Dannysaurus606 2 роки тому +4

    Nice video. Good idea with the subicons, that wouldn't have ocurred to me

  • @suspiciouslookingbutter7563
    @suspiciouslookingbutter7563 Рік тому +2

    I remember this when I was younger, I used to be a good at these mini games 😭

  • @Caroteen666
    @Caroteen666 2 роки тому +9

    This is extremely well made and nobody but ppl who code get that.

  • @howdy1079
    @howdy1079 2 роки тому

    I haven’t played these games in years, thanks for the trip back to memory lane.

  • @ZXMany
    @ZXMany 2 роки тому +4

    This is so satisfying to watch, such a great idea!

  • @paultheseaturtle6276
    @paultheseaturtle6276 2 роки тому

    This game is a masterpiece in itself. I've been playing it again recently and It is SO ENTERTAINING. Im glad you made a video on it because not many people truly appreciate this amazing game.

  • @shopnil4
    @shopnil4 2 роки тому +3

    I remember playing until like level 40 and we had this group of friends that would come together to see who got the highest level lol

    • @Y0SH1P0GG3R
      @Y0SH1P0GG3R 2 роки тому +1

      Who got first most of the time?

  • @amaikarai5007
    @amaikarai5007 2 роки тому

    You just unlocked a memory for me, wow. I was addicted to these minigames. Especially during long car rides.

  • @xray8012
    @xray8012 2 роки тому +9

    Have you tried doing this for the Bomb-omb sorting minigame yet? Since that minigame has two distinct colors it shouldnt be that hard to code

  • @Ironpep
    @Ironpep 2 роки тому +1

    I dated this girl, I told her I study computer science and she asked me “so you’re a hacker?”. This video is what programming is about: you want to make a program, you write a code, it doesn’t work because of a problem, you resolve the problem, it still doesn’t work because of another problem and so on until you got no more problems and the program works. Truly an awesome video that show how a real programmer works and that coding doesn’t mean just enter illegally in people phone in a couple minutes like it’s magic😂

  • @ianorr1388
    @ianorr1388 2 роки тому +5

    god i love my 3ds
    glad to still have one :D

  • @lensi3112
    @lensi3112 Рік тому +2

    Actually such a great video! I loved playing those minigames as a kid.

  • @InverseOfficial
    @InverseOfficial 2 роки тому +15

    This game is a certified hood classic 🔥

  • @hinge8626
    @hinge8626 2 роки тому +1

    Just found this channel while looking at code bullet. I immediately subbed after watching this.

  • @meebolover1777
    @meebolover1777 2 роки тому +4

    This is awesome. It seems there is only one bug to fix. It seems you programmed the tap to be the center of the face(or around there) and when the other icons cover that spot the code doesn’t notice and ends up missing. This would be hard to fix without knowing have tight the hit box is though. If it’s only as big and the same shape as the the sprite, then you can tell it to tap exactly where the sun image is, if not, you may have to make it wait until its sure it can hit the target.

  • @Lcago
    @Lcago 2 роки тому

    I really love how your channel is blowing up out of nowhere

  • @All54321
    @All54321 2 роки тому

    This video gave me such nostalgia from my childhood. Just, that game, those mini games.

  • @valle1079
    @valle1079 Рік тому

    That was so cool! The smb mini games on the ds were such a big part of my childhood !

  • @jarnehermans1318
    @jarnehermans1318 2 роки тому +1

    This video PROVES that math and programming is the coolest thing ever

  • @paul10724
    @paul10724 2 роки тому +1

    This is one of your best videos. 8:09 Charlie should watch this video lol.

  • @ZoeBateman
    @ZoeBateman 2 роки тому +2

    I loved this minigame as a kid, I’d play it until I got bored. I think my high score was like 500 if I’m remembering right. Cool to see it so well automated!

  • @The_french_troll
    @The_french_troll Рік тому +1

    Wow, impressive, the only reason why its not perfect, its becuz in the moving section it ocasionaly click on one that is on top of the correct one, or just miss it if it moved to fast

  • @trim7416
    @trim7416 2 роки тому +2

    Woah that is super cool! And I'm sure a lot of people would get a kick out of this even if they don't code, great work!

  • @KataHub
    @KataHub 2 роки тому +1

    always hated when either luigi or yoshi were wanted because they are both green and were super hard to find in higher lvls

  • @DaFallenFactory
    @DaFallenFactory Рік тому +1

    I honestly forgot about that minigame but now that I remember, that was my favorite minigame

  • @REALWillamAfton
    @REALWillamAfton Рік тому

    I’m crying because I havn’t seen this title in years and the thumbnail just made emotional

  • @lagliam
    @lagliam Рік тому +1

    I actually got to 100 score on my own I was quite impressed but this is a whole new level of insane

  • @diogodifrente4283
    @diogodifrente4283 2 роки тому +1

    Those minigames were so good I played them more than the actual game.

  • @drawnfromflames7007
    @drawnfromflames7007 2 роки тому +1

    This is giving me mad early code bullet vibes, ill sub to that

  • @kyleyuen245
    @kyleyuen245 2 роки тому +1

    I think it may have a speed problem when the faces move, it seems to click location of the slice it detect however that character had then moved in the time it took to detect a new wrong character took it's place losing time

  • @Tealen
    @Tealen 2 роки тому +1

    You just reminded me of these minigames!
    I played these a lot as a kid

  • @Vfulncchl
    @Vfulncchl 2 роки тому

    This must be the perfect video for me!! I played that game for hours as a child, and I’ve coded in Python for thousands of hours! This is so cool!

  • @hikariwuff
    @hikariwuff Рік тому +1

    This game owned me when I was young. Watching the bot beat the crap out of it was very relaxing.

  • @McChicken6230
    @McChicken6230 Рік тому +1

    I love watching these videos knowing I have no clue what any of what noodles is saying and what he’s doing

  • @LittleBlueYT
    @LittleBlueYT 2 роки тому +1

    You already know this video is gonna blast to more than 1Mil views, so I would like to say I am here before that milestone in views

  • @freddyp8804
    @freddyp8804 2 роки тому

    This find mario just unlocked a core memory I hadn’t remembered in a decade

  • @Realience
    @Realience 2 роки тому +1

    I loved Wanted as a kid. I kept my ds on for weeks as I racked up a score into the thousands

  • @therealalienacid
    @therealalienacid 2 роки тому

    The minigames were the highlight of my childhood, I spent 10 days on the road with my parents going to Orlando and I played this game pretty much the entire time

  • @Rickby
    @Rickby Рік тому +2

    Honestly I would love to see a video of you explaining your code and what it’s doing, I know that would take forever, but as a CS student, it’s so intimidating to watch, but I wanna learn it so bad

  • @Jadxn503
    @Jadxn503 Рік тому +1

    I have respect for coders. I could never do this even Tho I took a class in highschool