Proving Rock Paper Scissors Isn’t Luck (Using AI)

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

КОМЕНТАРІ • 197

  • @KushGupta1
    @KushGupta1  10 місяців тому +91

    While playing against the AI, aim to play ~201 rounds (without thinking, just try to be random).
    AI Learns to Speedrun Mario Part 2 coming next weekend!

  • @KoOkYmOnStEr1988
    @KoOkYmOnStEr1988 Місяць тому +8

    Bro, i just found your channel. Are you still alive? We need a part 2 to the Mario AI speedrun!

  • @genericweeb3816
    @genericweeb3816 5 місяців тому +41

    Icl I picked 3 heads and was SHOOK when your next words were "did you pick 3 heads?"

  • @Gentle_Ego
    @Gentle_Ego 10 місяців тому +27

    I FINALLY WON AFTER PLAYING LIKE 10 GAMES with a total of 100 moves per game (Final result of the 10th game: AI 32 Human: 51)

    • @cmrsamk
      @cmrsamk 6 місяців тому

      we need evidence upload a video

    • @AdmDi
      @AdmDi 3 місяці тому

      @@cmrsamk This man rn: 💀
      Bro was trying to win and you need evidence so he should play again.

  • @saddlebag
    @saddlebag 10 місяців тому +20

    Very cool stuff, thanks for making a publicly available version!
    Edit: I managed to beat it! I got 61 wins, it got 47 wins.

  • @amanvir
    @amanvir 10 місяців тому +8

    You explain complex AI/ML concepts so well! This is amazing content!

  • @selaht_
    @selaht_ 10 місяців тому +19

    I won 60 - 42 first try, after 20 rounds I started to pick up on the robots patterns to counter me, and I could predict its moves

  • @NeostormXLMAX
    @NeostormXLMAX 6 місяців тому +13

    This is just so fucking cool for some sci fi idea of a laser defence system where the ai predicts where they are gonna attack and deflects it with the most likely mode of defense

    • @KushGupta1
      @KushGupta1  6 місяців тому +8

      Haha yeah. The stupid thing is most people use this algo and machine learning / AI in general for marketing A/B tests 😭.
      Out of all the cool things you can do with AI, the biggest uses are recommending what content to show you next and predicting if a user will click on ads :/
      But things have been changing so much in the past 2 years that I think people are finally working on cool ideas like yours.
      I’m excited for the future :)

    • @raafmaat
      @raafmaat 5 місяців тому

      @@KushGupta1 please get back to your mario ai vid part 2

  • @dogs4life3468
    @dogs4life3468 10 місяців тому +10

    wheres part two of mario lol

  • @rodriguinhodasilva9331
    @rodriguinhodasilva9331 9 місяців тому +3

    To win, just pick gun
    or apple

  • @joecavanagh1297
    @joecavanagh1297 9 місяців тому +6

    i chose triple heads and was like wtf when you said did you choose triple heads but then heard the rest of it lol.

    • @Mattarii
      @Mattarii 7 місяців тому +1

      Same LOL.

  • @romanticmonkey
    @romanticmonkey 9 місяців тому +2

    I figured out how to beat this bot most of the time now that I know how it thinks. The secret is calculated randomness. Once you establish a pattern of any kind ie. 4 moves, change it up, and pick something else. It's quite similar to beating a smart human opponent

  • @StevamusPrime
    @StevamusPrime 10 місяців тому +2

    weirdly so fun to play rock paper scissors against the bot lol
    Great video and project!

    • @KushGupta1
      @KushGupta1  10 місяців тому +1

      Thanks! Glad you liked it!

  • @stillfredthephoenix
    @stillfredthephoenix 3 місяці тому

    Speaking of algorithms not sure why this video flew under the radar compared to your other video.
    I'm an AI enthusiast CONSTANTLY trying to find new AI entertainment videos to watch and only after several months of that did it decide to show me this video.

  • @denysstrashkin8872
    @denysstrashkin8872 8 місяців тому +1

    Please continue. Nice idea and implementation

  • @SuperShortyuussn
    @SuperShortyuussn 7 місяців тому +1

    This mans editing has improved so much since last video, i have no doubt this will be a fast growing channel.

    • @KushGupta1
      @KushGupta1  7 місяців тому +1

      I appreciate that!

  • @FR4NKTUB3
    @FR4NKTUB3 5 місяців тому +1

    That's one of the best contents I've ever saw on youtube

  • @kobalt6311
    @kobalt6311 7 місяців тому +2

    Thank you very much for this video! You explain very well the concepts. Even if I am french I understand a big part of your talk. Continue like this.

  • @User_Error385
    @User_Error385 8 місяців тому +2

    U earned a new sub in 5 seconds, impressed eeiting

  • @redcrewmate1813
    @redcrewmate1813 4 місяці тому +2

    0:26 i picked all heads b i felt like it lol

  • @miran248
    @miran248 10 місяців тому +3

    My result after 60 games was 30 - 30 and after 120 games it was 60 - 60!
    I noticed that if i pick the same hand after drawing, I'll win more often than not.
    Wish there was a way to export the choices.

    • @sijdidjjd
      @sijdidjjd 10 місяців тому

      why export? wdym

    • @miran248
      @miran248 10 місяців тому +1

      @@sijdidjjd By export i mean to save the data - this could then be used to plot (visualize) things out.

  • @Andrew-or3vv
    @Andrew-or3vv 5 місяців тому

    great video! i know this probably didn't get as much views as you want, but keep going. this is really cool!
    also, i think i figured out a way to exploit the AI decision making. i beat it 51 to 49 first try, once i got an idea of how to mess with it. because it trains on what you've done before, i can create a pattern to intentionally lose. then, if i switch at random intervals, the AI takes a moment to adjust. you can score easy points that way.

  • @AisuSeijin
    @AisuSeijin 9 місяців тому +1

    I dig the vibe of your channel man! I liked and subscribed and all that good stuff. I can't wait to see the next Mario AI video. I'm obsessed with AI and from the moment I heard neural networks were taking off, I always wanted someone to perfectly train a Mario AI. Some people have already, but your video was interesting and I can't wait to see where it goes! Also love this one, a very unique video! Also informative.

  • @andrewcheng1948
    @andrewcheng1948 10 місяців тому +4

    actually i did do 3 tails in a row

    • @HouseLyrander
      @HouseLyrander 10 місяців тому +3

      And I picked 3 heads, although I kinda saw the question coming

    • @KushGupta1
      @KushGupta1  10 місяців тому +5

      you're built different

  • @Cucumbermelon7
    @Cucumbermelon7 10 місяців тому +4

    apple

  • @Discordian_23
    @Discordian_23 10 місяців тому +3

    I won 1st try I kept clicking without making a choice while moving the mouse around so that my choices were not in my control, I didn't even know what was gonna get clicked

    • @KushGupta1
      @KushGupta1  10 місяців тому +1

      You’re a statistical anomaly! Based on my current data, out of 413 games, the AI has won 312. (Btw for a game to count, you need to have a combined player + AI score of 201).

    • @Discordian_23
      @Discordian_23 10 місяців тому +1

      yeah was shocked I actually pulled it off it was still super close 101 -100 My win

  • @jimmyreyz4363
    @jimmyreyz4363 6 місяців тому +3

    Dude his ai bot seriously is built at rock paper scizzors. It beat me 301 to 256 that thing knows our patterns very well. We arent as random as we think we are but we are predictable. Try it out for yourself. See if you can beat it. Its like playing against a chess master no joke. 😅

  • @UnspokenYT
    @UnspokenYT Місяць тому +1

    The start got me 😭😭😭😭😭😭

  • @mrhoi1970
    @mrhoi1970 10 місяців тому +2

    Bro, that 600 views he deserves more

  • @mulone-the-cool-guy
    @mulone-the-cool-guy 4 місяці тому +1

    lets gooooo he made new sprites!!!!!

  • @kingarth0r
    @kingarth0r 6 місяців тому +1

    dawg I was so close to beating it. It's really fun to try to outsmart/be random against the AI

    • @KushGupta1
      @KushGupta1  6 місяців тому

      Haha Im glad you had fun

  • @DangerDave-e7u
    @DangerDave-e7u 10 місяців тому +3

    Make AI play tic-tac-toe
    please

    • @happyboy07685
      @happyboy07685 10 місяців тому +2

      GREAT IDEA!!!! I agree!

    • @lorrdy7640
      @lorrdy7640 6 місяців тому

      But tic tac toe is unbalanced. You can't lose when you start

  • @najdnagati2119
    @najdnagati2119 6 місяців тому +2

    human : 126 - ai : 146 impressive

  • @monilsharma7259
    @monilsharma7259 Місяць тому +1

    don't underestimate the randomness of humans ... I beat your AI with 49 points ... My score 202 and AI score is 153. I tried pasting the screen shot image link but youtube is automatically removing my comments ...

  • @TheY2AProblem
    @TheY2AProblem 9 місяців тому +1

    Purposely trying to lose a game of rock/paper/scissors is equally as difficult as trying to win.

    • @sfarrell5125
      @sfarrell5125 3 місяці тому

      just do only rock - that'll lose quickly

  • @wallaguest1
    @wallaguest1 Місяць тому

    your videos are so cool, you deserve more views for sure.

  • @SysDataSoftOffical
    @SysDataSoftOffical 10 місяців тому +2

    YOU FINALLY POSTEDDDDDDDDDDDD

  • @matt.w
    @matt.w 3 місяці тому

    When I played against the AI on your side, I realized that the AI is actually doing the same strategy I do while playing rock paper scissors.

  • @ChamblesRNG
    @ChamblesRNG 2 місяці тому +1

    Man your channel needs like 100x times more subs at least for how good of a quality your vids are. You just need more vids I guess

  • @akshitmehta9450
    @akshitmehta9450 7 місяців тому

    You should try making two AIs playing against each other

  • @User-g2c7t
    @User-g2c7t 4 місяці тому

    The final result is amazing

  • @x_elior_x8902
    @x_elior_x8902 5 місяців тому +1

    I won 58 to 42 and then stopped at 110 to 100. Too ez

  • @Amar-b9j4c
    @Amar-b9j4c 10 місяців тому +3

    damn i like your videos, remember me when ure big

  • @muslimgamerrr9479
    @muslimgamerrr9479 10 місяців тому +1

    1:12 LOLL

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

    Next video: "AI learns to destroy the world"

  • @martindeweert1236
    @martindeweert1236 3 місяці тому

    0:31 I had the exact same picks that's scary

  • @Kr1ssKr0ssAppl3Sauc3
    @Kr1ssKr0ssAppl3Sauc3 3 місяці тому

    Bro I said, heads tails tails and I genuinely triple checked behind me

  • @Kazy_RU
    @Kazy_RU 6 місяців тому

    Complex modeling in Blender: 😮
    Complex Modeling in Revit using Dynamo: 🗿👌

  • @dogs4life3468
    @dogs4life3468 10 місяців тому +1

    bro how i cant WHAT

  • @liamlogan9930
    @liamlogan9930 7 місяців тому +1

    Good thing you didn't draw 100 times in a row or a portal from the regular show could've opened.

  • @muslimgamerrr9479
    @muslimgamerrr9479 10 місяців тому +2

    1:32 HAAHAHAAHHAHH

  • @Aleixus
    @Aleixus 2 місяці тому

    I won 100 to 85, there wasn’t a single time when the bot was on top of me…. If the ai knows that we can’t be perfectly random and it works by finding patterns, force it to learn random patterns that you can exploit afterwards (example: 50 rounds in I decided to spam rocks and then scissors, this way I knew that, for a while, I could use paper after using scissors and scissors after using rock)

  • @emilygordbort7300
    @emilygordbort7300 9 місяців тому +1

    Just found this channel, glad to see im early

  • @thenewtriosguy
    @thenewtriosguy Місяць тому

    lovely planet mentioned

  • @TheRealBaDaBingDK
    @TheRealBaDaBingDK 10 місяців тому +2

    What happened to the Mario part 2 video :) ?

  • @ILoveCosm1cBrownies
    @ILoveCosm1cBrownies 4 місяці тому

    After playing for a while i clicked in a random order that i HATED because it didn’t fit well (i have ocd and tend to feel satisfied when I make things perfect) and got 137 over 93.

  • @dimpossib-ct3kg
    @dimpossib-ct3kg 9 місяців тому +1

    104-96 ai won i was close

  • @eavn5389
    @eavn5389 3 місяці тому

    Holy cow 6 months. Okay I guess the AI takes a long time to learn right?

  • @Therian_the_animator
    @Therian_the_animator 5 місяців тому

    0:25 I did head head tails

  • @BlazeIsEpic
    @BlazeIsEpic 3 місяці тому

    before watching the video I went to the website and played, I ended up with 120 wins and the ai got 110

  • @ZyrixFactastisch
    @ZyrixFactastisch 9 місяців тому +1

    I tried playing the Bot with the C++ standard rand function (= 1,2,3) and overall the AI vs. Random numbers is pretty equal, but if you think over your moves and you try to switch the strategy all 3 to 4 moves, you are overall performing better. So the question is if the bot could perform even better if he tries to make random moves all 5 to 10 moves?

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

      What do you mean by “try to switch the strategy all 3-4 moves”. Are you saying you switch strategies every 3-4 moves?
      The point of the bot is that it finds patterns in your“randomness”, proving the point that humans are terrible at being random. So don’t play against it with a strategy in mind, instead just pick random options-whatever you feel like clicking.

  • @sandeepsrinivas7
    @sandeepsrinivas7 8 місяців тому +1

    Yo man Kush, where's the Mario Part 2???

  • @JokoHolz
    @JokoHolz 10 місяців тому +1

    Could you just make a guide how to program an AI?

  • @ihaveablankname
    @ihaveablankname 5 місяців тому

    I won aginst the AI on your website with it having 48 and me having 51, I just tried to be as random as possible, first try

  • @mNag
    @mNag 4 місяці тому

    Ehn... beat your AI 103 - 98. I'm too random for it.
    I noticed when I picked 4-6 of the same thing in the row, I would often get all wins as the AI kept expecting me to change. But I tried to stay as unpredictable as possible. I think I got the most losses on Scissors for whatever reason. Seemed like the AI felt safest going rock. But I wanted to keep it honest so I kept trying to be as random as possible despite going into a lot of draws thinking I might lose, and that feeling being correct.
    So, I did think about it a bit, but I tried to commit to being as random as possible.

  • @IchigoKinnie_Yt
    @IchigoKinnie_Yt 6 місяців тому

    DAMNNN W CODING MAN

  • @mrmeme8580
    @mrmeme8580 3 місяці тому

    I picked 3 tails to satisfy my ego

  • @hitekalchemy1105
    @hitekalchemy1105 Місяць тому

    Playing the ai was fun

  • @saeeds9364
    @saeeds9364 5 місяців тому

    ‏‪0:50‬‏ im not agree with that human can't be completely Predictable but if you now how computer get his random number you now its not completely predictable

  • @TheCameramanInvestigator
    @TheCameramanInvestigator 8 місяців тому

    Now make it play against another copy of itself, what larger pattern emerges for you?

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

    I Win the bot, we can be bad in Random stuff but we are very good in recgnise padrons, and your bot have padron

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

    Really great content, chapeau!

  • @علیشیخینصب
    @علیشیخینصب 8 місяців тому

    that was awsom

  • @adrianwilliamson6153
    @adrianwilliamson6153 6 місяців тому

    I liked playing the Ai but I got a handle of it's pattern as well and I could make it play my way to win 👌🏾

  • @Zephyr_Chmura
    @Zephyr_Chmura 6 місяців тому

    Alright, I played those 201 games and won by just a single point haha 100 to 101

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

    Ok now duplicate the bot and make them play each other 🧠

  • @warwickclark2143
    @warwickclark2143 10 місяців тому +1

    Tee hee “math goons”

  • @YouTheAre
    @YouTheAre 3 місяці тому

    If you are just starting out, don't use too much money

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

    Lol, I get the impression a bit late somehow

  • @essapedtom9202
    @essapedtom9202 10 місяців тому +1

    Ai : 100
    Me : 117
    EZ

    • @essapedtom9202
      @essapedtom9202 10 місяців тому

      ( And at a point, ai only ad between 40 and 49 and i was in 60-69 )

  • @burakpascha7687
    @burakpascha7687 Місяць тому

    51:32 for human

  • @shivamchouhan5077
    @shivamchouhan5077 4 дні тому +1

    Are you still alive?

  • @FR4NKTUB3
    @FR4NKTUB3 5 місяців тому

    I tried with a random Number generator and I got:
    AI: 113
    Human: 89

  • @asheep7797
    @asheep7797 6 місяців тому

    i... did say HHH.

  • @A_Goose_YT
    @A_Goose_YT 5 місяців тому

    i agree, rock paper scissors isnt luck

  • @banannabanna
    @banannabanna 3 місяці тому

    bro its been 6 MONTHS

  • @michelmony1309
    @michelmony1309 4 місяці тому

    literally picked 3 heads :P

  • @chimeforest
    @chimeforest 10 місяців тому +1

    0:43 Wouldn't it be 12.5%? (1/2)^3
    Cool vid btw =]
    I'm curious, what happens if you have a random number generator pick your moves?

    • @KushGupta1
      @KushGupta1  10 місяців тому +1

      Probability of 3 heads OR 3 tails would be p(3 heads) + p(3 tails)
      So (1/2)^3 + (1/2)^3 =25%
      Testing against a random number generator the AI would probably perform worse because the AI sometimes goes in patterns. True randomness beats any pattern in the long run.

    • @chimeforest
      @chimeforest 10 місяців тому +1

      @@KushGupta1 Ah yeah, you are right, I was thinking just heads, my bad ^^;

  • @cringeiscraaazy
    @cringeiscraaazy Місяць тому

    Where did bro go…?😔

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

    My name is Kushagra and most people just say Kush, and my surname is Gupta. Coincidence?

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

    Where is training a ai to beat a super mario bros speed run

  • @hristomir-zw6bg
    @hristomir-zw6bg 9 місяців тому

    Me who peak 3 tails in a row 🤣

  • @User_Error385
    @User_Error385 8 місяців тому

    Nice

  • @Aladdindoescubes
    @Aladdindoescubes 2 місяці тому

    hey I picked 3 heads LMAO

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

    In my second game i got upper hand - by predicting its moves and not by randomly choosing. Score were like initially -54 me vs 40 , 73 vs 60, 101 vs 82 then 108 vs 89 . After that i started playing randomly - Ai algo gained some points - 130 me vs 111 ,138vs 128 , 152 me vs 147 ,157 me vs 154( i had only 3 more wins) ,165 vs 165 then 180 me vs 173 . At last 200 me vs 196 ai, then 200 me vs 200 ai, 201 me vs 201 ai. I stopped after that.

  • @NickV-ez4be
    @NickV-ez4be 5 місяців тому +2

    Now it's even easier to win. Since the AI is trying to react to the way you play, it's worse at being random than humans. You can start tricking its expectations and reverse the roles. Mankind 1 - Skynet 0

    • @yonizaslavsky4246
      @yonizaslavsky4246 3 місяці тому

      The problem is after a while you forget what system you're on

  • @TheEconomicElder
    @TheEconomicElder 7 місяців тому

    i beat it first go. the trick is not to look at the bots move.

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

    Ummmmmmmmm I'm not lying I swear but I actually guessed heads tails tails at the start first try

  • @eavn5389
    @eavn5389 10 місяців тому

    Hey where’s super Mario bros ai and how’s it going with the Ai

    • @KushGupta1
      @KushGupta1  10 місяців тому +4

      Coming soon 😶‍🌫️

    • @eavn5389
      @eavn5389 10 місяців тому

      ohhh its something big isnt it. I see (☞゚ヮ゚)☞@@KushGupta1

    • @eavn5389
      @eavn5389 Місяць тому

      @@KushGupta1 its been 8 months. and your last video was 1 year ago...
      I hope your doing okay. and I hope you can make a that mario ai video

  • @techcomputer.123
    @techcomputer.123 9 місяців тому

    Just beated the game in first try using strategy.. Human Was 32 Ai Was 18 took only 6-7 mins😊