CodeNoodles
CodeNoodles
  • 29
  • 8 794 995
Using Image Recognition to DESTROY Fruit Ninja
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/CodeNoodles/. You’ll also get 20% off an annual premium subscription.
This project has been a long time in the making. I set out last year to automate Fruit Ninja with image recognition, but I ran into a couple of road blocks along the way. But luckily, this year I decided to try it again, and it worked out fantastically to say the least!
This video was sponsored by Brilliant
LINKS
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Support the channel: ko-fi.com/codenoodles
Itch.io: codenoodles.itch.io/
GitHub: github.com/OfficialCodeNoodles
MUSIC
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Shoutout to @qumumusic for making wonderful remixes of some of my favorite video game songs! Check out their channel if you haven't already!
ua-cam.com/video/tXaCs4WQWo0/v-deo.html
Roboskater by Audionautix is licensed under a Creative Commons Attribution 4.0 license. creativecommons.org/licenses/by/4.0/
Investigations by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 license. creativecommons.org/licenses/by/4.0/
█▀ █ █ █▄▄ █▀ █▀▀ █▀█ █ █▄▄ █▀▀
▄█ █▄█ █▄█ ▄█ █▄▄ █▀▄ █ █▄█ ██▄
Переглядів: 574 614

Відео

I Made My Own Programming Language
Переглядів 82 тис.4 місяці тому
This was a very difficult project, but I managed to create my own interpreted programming language from scratch! LINKS ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Support the channel: ko-fi.com/codenoodles Itch.io: codenoodles.itch.io/ GitHub: github.com/OfficialCodeNoodles MUSIC ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Hall of the Mountain King by Kevin MacLeod is licensed under a C...
I Coded the ULTIMATE Winter Game
Переглядів 8 тис.5 місяців тому
I finally programmed the indie game of my dreams! LINKS ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Support the channel: ko-fi.com/codenoodles Itch.io: codenoodles.itch.io/ GitHub: github.com/OfficialCodeNoodles MUSIC ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Dreamy Flashback by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 license. creativecommons.org/licenses/by...
Using Image Recognition to Automate More Mario Minigames
Переглядів 118 тис.6 місяців тому
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/CodeNoodles. The first 200 of you will get 20% off Brilliant’s annual premium subscription. In this video I automate some more Mario minigames from New Super Mario Brothers on the Nintendo DS. This video was sponsored by Brilliant LINKS ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Support the channel: ko-fi...
This Program Contains EVERY Image in History
Переглядів 264 тис.7 місяців тому
I created a program that theoretically contains every image in human history, and then some. Big shoutout to @SolarSands for making an awesome video about the Babel Image Archives, and for serving as a big inspiration for this video ua-cam.com/video/awpVjv2-Ow0/v-deo.html LINKS ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Support the channel: ko-fi.com/codenoodles Itch.io: codenoodles.itch.i...
I Finished 2D Minecraft
Переглядів 197 тис.8 місяців тому
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/CodeNoodles. The first 200 of you will get 20% off Brilliant’s annual premium subscription. I never thought this day would come. This video was sponsored by Brilliant LINKS ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Support the channel: ko-fi.com/codenoodles Itch.io: codenoodles.itch.io/ GitHub: github.co...
Adding Water, Lava, Swamps and More to 2D Minecraft
Переглядів 21 тис.10 місяців тому
Is water wet? Shoutout to MrFireShard for the awesome logo design: MrFireShard LINKS ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Support the channel: ko-fi.com/codenoodles Itch.io: codenoodles.itch.io/ GitHub: github.com/OfficialCodeNoodles MUSIC ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Blind Spots - c418 Far- c418 Stal - c418 Strad - c418 c418.org/albums/minecraft-vol......
Using Image Recognition to play Mario Party Minigames
Переглядів 138 тис.11 місяців тому
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/CodeNoodles. The first 200 of you will get 20% off Brilliant’s annual premium subscription. Here we go again, it's image recognition time! In this video I write some Python scripts to automate a couple of minigames from Mario Party DS. It was an absolute blast and we managed to achieve some pretty impressive s...
Adding Dungeons, Combat, and More to 2D Minecraft
Переглядів 26 тис.11 місяців тому
In this episode of Making 2D Minecraft, I work on implementing combat, the first world structure, the title screen menus, as well as a whole bunch more! LINKS ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Support the channel: ko-fi.com/codenoodles Itch.io: codenoodles.itch.io/ GitHub: github.com/OfficialCodeNoodles MUSIC ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Wait - c418 Strad - c418...
ChatGPT vs. REAL Programmer... Who Will Win?
Переглядів 14 тис.Рік тому
Is AI able to defeat a real programmer? In this video we explore the capabilities of ChatGPT by having it compete against me in 3 different programming challenges. You'll be surprised by what happens! If you enjoy this video, consider subscribing to support the channel. Funny AI Jordan Peterson Clip: ua-cam.com/video/wOrKXycdZAI/v-deo.html LINKS ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ S...
Adding Jungles, Crafting, and More to 2D Minecraft
Переглядів 27 тис.Рік тому
In this episode of Making 2D Minecraft, I focus primarily on polishing up some features that have already been implemented, as well as adding some cool new features. If you enjoy this episode, consider subscribing to support the channel! LINKS ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Support the channel: ko-fi.com/codenoodles Itch.io: codenoodles.itch.io/ GitHub: github.com/OfficialCodeN...
How I Made Kirby Maker
Переглядів 659 тис.Рік тому
You read the title correctly! In this video I go through the story of one of my first programming projects and how it turned into something amazing. If you enjoy this video, consider subscribing to support the channel! LINKS ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Support the channel: ko-fi.com/codenoodles Itch.io: codenoodles.itch.io/ GitHub: github.com/OfficialCodeNoodles MUSIC ▀▀▀▀▀▀...
Adding Gameplay to 2D Minecraft
Переглядів 28 тис.Рік тому
Let's add some gameplay features! In this episode of Making 2D Minecraft, I start implementing some basic gameplay features so that the game is more interactable with the player. If you enjoy this series consider subscribing and dropping a like. LINKS ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Support the channel: ko-fi.com/codenoodles Itch.io: codenoodles.itch.io/ GitHub: github.com/Offic...
Adding Biomes to 2D Minecraft
Переглядів 32 тис.Рік тому
Adding Biomes to 2D Minecraft
I'm Making 2D Minecraft
Переглядів 49 тис.Рік тому
I'm Making 2D Minecraft
Using Space Filling Curves to Render Images
Переглядів 13 тис.Рік тому
Using Space Filling Curves to Render Images
I Coded Tetris but there's a Catch...
Переглядів 35 тис.Рік тому
I Coded Tetris but there's a Catch...
Image Recognition DESTROYS Mario Minigames
Переглядів 731 тис.Рік тому
Image Recognition DESTROYS Mario Minigames
Using Image Recognition to find Mario
Переглядів 1,9 млнРік тому
Using Image Recognition to find Mario
AI Learns to play Geometry Dash || FINAL
Переглядів 235 тис.Рік тому
AI Learns to play Geometry Dash || FINAL
AI Learns to play Geometry Dash || Part 2
Переглядів 184 тис.Рік тому
AI Learns to play Geometry Dash || Part 2
AI Learns to play Geometry Dash || Part 1
Переглядів 194 тис.Рік тому
AI Learns to play Geometry Dash || Part 1
Visualizing Pathfinding Algorithms
Переглядів 147 тис.Рік тому
Visualizing Pathfinding Algorithms
I Coded Pacman but it's Procedurally Generated
Переглядів 109 тис.Рік тому
I Coded Pacman but it's Procedurally Generated
I Coded Snake but there's a Catch...
Переглядів 2,9 млнРік тому
I Coded Snake but there's a Catch...
Programming Conway's Game of Life | Coding Challenge
Переглядів 34 тис.2 роки тому
Programming Conway's Game of Life | Coding Challenge

КОМЕНТАРІ

  • @epiolin
    @epiolin 2 дні тому

    It could be made with just detecting certain colors, so much easier

    • @epiolin
      @epiolin 2 дні тому

      Ok he is doing it :| thought it was AI image detection stuff.

  • @kloaken1
    @kloaken1 2 дні тому

    You should learn machine learning

  • @adryancarlos-vz4op
    @adryancarlos-vz4op 3 дні тому

    Now make the ai beat a demon >:)

  • @qbert4325
    @qbert4325 4 дні тому

    It's super cool to watch.

  • @Isaak-bh1we
    @Isaak-bh1we 4 дні тому

    Java is bigger that u bro😂

  • @Lycearin
    @Lycearin 5 днів тому

    I AM THE STORM THAT IS APPROAAAAAACHIIIIIING

  • @redandblue1013
    @redandblue1013 5 днів тому

    There is a lot of room for improvement. Assuming it could identify fast enough, the most reliable approach could be to use a machine learning algorithm to categorise objects on screen. Then we would want to implement an algorithm to try to score combos And also, implement some delays to make it less jittery and add functionality to avoid trajectories that overlap with a bomb

  • @JrFarren_
    @JrFarren_ 6 днів тому

    If this game was made in 2024, I'm sure the company would've called it AI game 🤦‍♂️ Any smart technology makes these days is called AI. To remove pimples from face is called AI object remover in 2024. To copy paste images in mobile phone is now called AI in 2024 🤦‍♂️🤦‍♂️

  • @yusufaziz5348
    @yusufaziz5348 6 днів тому

    Did you just created Raiden??

  • @thomassherif7797
    @thomassherif7797 6 днів тому

    Great job, tried it on my PC! Seems that the algorithm likes you more than me, but impressive nonetheless!

  • @CharlieCGvideos
    @CharlieCGvideos 6 днів тому

    Make it play the tower

  • @viCuber
    @viCuber 6 днів тому

    Bro I got a brilliant add when you started your sponsored message

  • @yomikey0117
    @yomikey0117 6 днів тому

    How raiden plays fruit ninja:

  • @lofislowedtoperfection
    @lofislowedtoperfection 7 днів тому

    ChatGPT 4o smiles

  • @Godzbzt124
    @Godzbzt124 7 днів тому

    How to mod 2d minecraft

  • @TheGamingG810
    @TheGamingG810 7 днів тому

    when you realize this can generate cp:

  • @Godzbzt124
    @Godzbzt124 7 днів тому

    Dest nuts

  • @Godzbzt124
    @Godzbzt124 7 днів тому

    Can you add rubber so you can make rubber block

  • @Godzbzt124
    @Godzbzt124 7 днів тому

    Add 5 new dimensions

  • @meta91rbx
    @meta91rbx 8 днів тому

    Time to make my own coding language. (Tried to for the 98th time.)

  • @Ryland-tu6pj
    @Ryland-tu6pj 8 днів тому

    I like how every variable is called noodle

  • @Dehhoy
    @Dehhoy 9 днів тому

    Its not full clone you did not add different behavior to every ghost

  • @ankv44m72
    @ankv44m72 9 днів тому

    Michigun jumpscares for AIs lol XD

  • @Mr_periphery-.4554
    @Mr_periphery-.4554 11 днів тому

    How download🤔

  • @hassanshah5442
    @hassanshah5442 12 днів тому

    Very Great project iI was trying to run it locally by cloning the repo and runnig the program I had downloded fruit ninja on my laptop and when I run the program It goes to fruit but does not slice it I have change properries.json as my game is running in 1920x1080p mode what could be the issue could anyone help me

  • @_choru5_912
    @_choru5_912 13 днів тому

    Next time train a YOLO model on a few hundred labeled images, it's a LOT easier, and will run much faster. Expect 30-120+ frames per second processed, based on your GPU.

  • @fusion1203
    @fusion1203 13 днів тому

    Does it even have frames of images?

  • @satyamlal5755
    @satyamlal5755 13 днів тому

    Why don't you teach us these step by step! I guess people would love to learn these from you. I'm excited already.

  • @johannesviljoen9656
    @johannesviljoen9656 14 днів тому

    isnt this just a file now? if youre using all available, displayable characters, thats just an inefficient encoding.

  • @snorresrstrnen9391
    @snorresrstrnen9391 15 днів тому

    You should look into classification theory. What you are using is basicly a Euclidean distance cluster classifier.

  • @frozenn00b
    @frozenn00b 15 днів тому

    Python is NOT a good language choice....

  • @darsh19961
    @darsh19961 15 днів тому

    This is brilliant thanks for sharing your thought process and code. absolutely loved this

    • @CodeNoodles
      @CodeNoodles 15 днів тому

      Thanks, it really means a lot!

  • @isakhan7585
    @isakhan7585 15 днів тому

    My sister is casually next to me on 180

  • @MOHplayZ69
    @MOHplayZ69 15 днів тому

    plsss ur monitor is 1080p and mine is 1600 so part of the screen is not there pls help so pls support all resolutions

  • @spiroxylo2247
    @spiroxylo2247 15 днів тому

    Your code would be much more efficient in time and memory if you didn't define lambda functions inside your function bodies If it is a way to not have a big global namespace, or to use global values that you define at runtime (image size, etc.), you can have a class containing your handler where all your functions are methods

  • @mrrager757
    @mrrager757 16 днів тому

    “A small delay that has been adddded” too good 😂 4:57

  • @Bostumo
    @Bostumo 16 днів тому

    PLEASE I'M BEGGING YOU I NEED TO KNOW WHAT 2:45 MUSIC IS I REMEMBER IT FROM MY CHILDHOOD BUT CAN'T PUT MY FINGER ON IT, THE MUSIC SECTION DOESNT SAY ANYTHING!

  • @pyrodisc414
    @pyrodisc414 17 днів тому

    🦇mango 🦇

  • @zeroinfinius
    @zeroinfinius 17 днів тому

    You could have created a program to identify colours other than brown and black hence it could identify a new colour- fruit

  • @duyanhtran4723
    @duyanhtran4723 18 днів тому

    nice video

  • @navoddakshina767
    @navoddakshina767 18 днів тому

    Can you bring a video of how to make an auto clicker for the Bloom game(air drop)

  • @gavinryshow9780
    @gavinryshow9780 19 днів тому

    Kirby

  • @apskii
    @apskii 19 днів тому

    bro i like ramen noodles

  • @HK1_11
    @HK1_11 20 днів тому

    “Destroy” blud only got a 342 😭😭😭

  • @sergiobuil3849
    @sergiobuil3849 20 днів тому

    Try It again with YOLOv8 maybe works better

  • @nguyenthai3140
    @nguyenthai3140 22 дні тому

    some level are built wrong (not because there are no coins) but because the level just doesn't match with the actual level (example: the second jump in Dry Out is half-spaced down)

  • @rishabtirupathi9431
    @rishabtirupathi9431 23 дні тому

    I can't believe you just made a new version of Geometry dash! amazing!

  • @DigitalViscosity
    @DigitalViscosity 23 дні тому

    I don't understand what makes this project all that difficult, there isn't anything here you don't learn outside of Programming Languages 1 during jr year of Uni. Couple of things I saw in the code that can be improved: The tokenize function can be optimized by avoiding the use of std::string::erase and std::string::insert as they can be expensive operations. Instead, you can work with indices or iterators. Implement a state machine for your lexer. This can make the code more readable and efficient by clearly defining the transitions between different states of the lexer. Use enum class instead of plain enum for TokenType and Error::Location to provide better type safety and namespace scoping. Reserve space for your tokens vector if you have an estimate of the number of tokens to avoid multiple reallocations. Consider using std::string_view instead of std::string for operations that do not modify the string, to avoid unnecessary copies. Here's a refactored snippet: std::vector<Token> tokenize(const std::string& sourceCode) { std::vector<Token> tokens; // Reserve an estimated size to avoid reallocations tokens.reserve(estimatedSize); // Use string_view for non-modifying operations std::string_view remainingSource(sourceCode); // ... rest of the logic ... // Process tokens without modifying the original string while (!remainingSource.empty()) { auto nextIdentifier = extractNextIdentifier(remainingSource); if (nextIdentifier.empty()) continue; Token nextToken = determineTokenType(nextIdentifier); if (nextToken.type == TokenType::Invalid) { throw LexerError("Invalid identifier found", line, column); } tokens.push_back(nextToken); } // Add EOL and EOF tokens if (!tokens.empty() && tokens.back().type != TokenType::EndOfLine) { tokens.emplace_back(TokenType::EndOfLine, "EOL"); } tokens.emplace_back(TokenType::EndOfFile, "EOF"); return tokens; } This is just a small example of what can be changed to make it more readable and uses better Modern C++ coding standards.

  • @sigmafabian-gi9iy
    @sigmafabian-gi9iy 23 дні тому

    Next time try using yolov8

  • @liamrodriq4299
    @liamrodriq4299 25 днів тому

    What algorithm dit you use?