The Unbeatable Game from the 60s: Dr NIM

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 5 тыс.

  • @ProteinFromTheSea
    @ProteinFromTheSea 5 лет назад +6755

    Idea: have 13 coins. Line twelve of them up, and flip the last coin to determine who will go first. If the flip says that you go first, add the last coin to the line, and act like that was what was going to happen all along. If the flip says that they go first, pocket the coin, and act like that was going to happen all along.

    • @dario9962
      @dario9962 5 лет назад +353

      underrated idea. GREAT

    • @LancerloverLL
      @LancerloverLL 5 лет назад +497

      Wouldn't work twice for the same opponent though

    • @MLWJ1993
      @MLWJ1993 4 года назад +330

      @@LancerloverLL if they catch on to the strategy that is. Some people just don't see it.

    • @galatic-wyvern2993
      @galatic-wyvern2993 4 года назад +370

      @@MLWJ1993 seriously did this back and forth with someone for half an hour. He genuinely was trying to figure it out

    • @codyallen43
      @codyallen43 4 года назад +69

      @@LancerloverLL winner picks who goes first, ez

  • @angry_zergling
    @angry_zergling 5 лет назад +1293

    That's pretty friggin' cool. Always amazed with the clever ways engineers could 'program' arbitrary rules or mathematical stuff to play out via purely mechanical means.

    • @Banzybanz
      @Banzybanz 4 года назад +36

      We studied pneumatics and hydraulics in our Mechanical engineering course. You can use them to do purely mechanical automation and programming.
      It's essentially the same thing happening in your modern day computer, except that instead of a few dozen switches, you have billions of very tiny ones.

    • @nortonofnorthamerica
      @nortonofnorthamerica 3 года назад +11

      @@Banzybanz I once had the dream to make a logic controller out of pneumatic relays rather than transistors... I got over it when I had trouble scrounging the parts

    • @OneHunnitNoCapStannitOnBidnisz
      @OneHunnitNoCapStannitOnBidnisz 3 года назад +1

      Your always amazed with engineers programming arbitrary rules? Where else have you been amazed by engineers programming arbitrary rules ?

    • @angry_zergling
      @angry_zergling 3 года назад +24

      @@OneHunnitNoCapStannitOnBidnisz This game here, early transmissions, mechanical computers, analog calculators, complex astrological calendars built thousands of years ago that could accurately predict the position of the sun today to a precision we have trouble matching.
      Lots of stuff! I'm a programmer, and it's fascinating how people solved the same problems we solve today with purely mechanical principles. Sometimes I'll have trouble working out a problem, then you think people used to have to solve the same thing I'm struggling with translating into code with a powerful digital computer but using only stacks of precisely tuned gears and chains, vacuum tubes, or plastic spheres interacting with plastic switches as it fell down a gameboard.
      Pretty neat stuff.

    • @AyarARJ
      @AyarARJ 2 года назад +2

      Heron of Alexandria appreciates your amazement. Creating mechanical programs for audience entertainment was an interesting diversion.

  •  5 лет назад +8977

    How to win: Use maths
    How to win if the opponent has caught on to our strategy: Cheat

    • @Elusivehawk
      @Elusivehawk 5 лет назад +774

      The secret ingredient is crime

    • @erikgag
      @erikgag 5 лет назад +53

      Just hack the mechanism

    • @dancrane3807
      @dancrane3807 4 года назад +120

      I changed the conditions of the simulation - Kirk.

    • @serphon5784
      @serphon5784 4 года назад +10

      Perfect Strategy

    • @buzzlightyear6960
      @buzzlightyear6960 4 года назад +12

      Where from Earth do people say maths?

  • @guestuser2373
    @guestuser2373 4 года назад +4110

    “NIM” is “WIN” turned upside down.

    • @chambersr1176
      @chambersr1176 4 года назад +111

      😮

    • @jpnrndr7983
      @jpnrndr7983 4 года назад +41

      You don't to be smart to know that, also don't comment with shitty emoji

    • @branflakes2600
      @branflakes2600 4 года назад +113

      Jackson shut up

    • @guestuser2373
      @guestuser2373 4 года назад +85

      # turn it upside down, not flip it upside down.

    • @pork108
      @pork108 4 года назад +136

      @@jpnrndr7983 You fr just commented "you dont to be smart" and "dont comment with shitty emoji" m8 it sounds to me like your grammar is the equivalent to an 11 year old Spanish speaker who's been playing around with duolingo for the last week and a half so I suggest you stfu

  • @barneymcwhat6241
    @barneymcwhat6241 5 лет назад +2280

    played this with my young nephew. only instead of coins, marbles, or pegs, there were sweets. and instead of losing, if there were no sweets left to take, and it was your go, you'd have to take and bite into a wedge of lemon.
    because what else are nephews for

    • @curtislevey7639
      @curtislevey7639 5 лет назад +53

      I like lemon so why not

    • @tcoren1
      @tcoren1 5 лет назад +129

      Barney McWhat honestly this is the better version of the game to play, as it isn’t inherently rigged, there is actual strategy. If you’re losing, you can take 3 sweets per turn, forcing your opponent to take one. If they choose to take more, you can force them into eating the lemon. If they don’t, you at least get the majority of sweets...

    • @kurumi394
      @kurumi394 3 года назад +8

      I am honored to make this comment have 666 likes because this is quite devilish

    • @goclbert
      @goclbert 3 года назад +13

      As a young child I would straight up eat lemons so I would have loved your game.

    • @mistymysticsailboat
      @mistymysticsailboat 3 года назад +1

      @@goclbert wth

  • @devoid-of-life
    @devoid-of-life 5 лет назад +4682

    Dr. Nim hates him for this one simple trick

  • @mikosoft
    @mikosoft 8 лет назад +112

    From the screenshot I thought Dr. Nim would have some mechanics hidden inside. It's simplicity makes it even more amazing. It's pretty much a mechanical flowchart!

  • @Rurike
    @Rurike 3 года назад +447

    I remember seeing a version of this game on an old show called cyberchase, they even explained the same group of four trick and a version where you dont want to be left with the last marble. Kinda neat.

    • @economicapple2609
      @economicapple2609 2 года назад +55

      CYBERCHASE WE’RE MOVIN
      WE’RE BEATIN HACKA AT HIS GAME

    • @xleplayVA
      @xleplayVA 2 года назад +24

      COSMIC WORLDS, FREAKY PLACES THAT WE'VE SEEN!

    • @retro3188
      @retro3188 2 года назад +12

      We’ve got the power-of 1, 2, 3, 4!

    • @bagelz3359
      @bagelz3359 2 года назад +11

      Oh yes the cartoon with the Bird that sounds like he chain smokes cigarettes. Great show

    • @gtmsnba13
      @gtmsnba13 2 года назад +13

      @@bagelz3359 he was voiced by gilbert gottfried

  • @seanhub2243
    @seanhub2243 7 лет назад +516

    Thank you for this explanation. I have a new proffession as a NIM gambler and have won alot of money using this strategy to outwit people on the playground, those year 7s will never see whats coming.

    • @sqeechysquuchy9076
      @sqeechysquuchy9076 5 лет назад +2

      Who says year 7’s

    • @ThomasFarquhar2
      @ThomasFarquhar2 5 лет назад +11

      @@sqeechysquuchy9076 UK people

    • @smoog
      @smoog 5 лет назад +3

      Like you're allowed within 500 yards of a primary school.

    • @rehmmyteon5016
      @rehmmyteon5016 5 лет назад

      i'm year 7 and that's offensive.
      i know integral calculus

    • @zaeroses1096
      @zaeroses1096 2 года назад +1

      @@ThomasFarquhar2 people in many more places than the UK. I'd imagine most English speaking countries, but I'm not sure. I know that in three out of the four countries I've lived in have been sorted into years like this.

  • @JeffFrmJoisey
    @JeffFrmJoisey 6 лет назад +846

    I had Dr. Nim as a kid!! The manual was the most detailed, text filled set of toy instructions I ever got (not including model instructions). If I'm remembering correctly, there was a section at the end of the manual which explained computer programming or the logic needed for one. I remember using that info and programming my own Dr. Nim game in HP Basic on a "time share" HP1000 computer. Oh, and, it was saved on lunched yellow paper tape that you had to reload to play.

    • @Roflmager
      @Roflmager 6 лет назад +36

      lol one of the comment replies linked a pdf version. I checked it out and got flashbacks to my math and computer science textbooks

    • @JeffFrmJoisey
      @JeffFrmJoisey 6 лет назад +11

      Jimmy Yuan Hahahahahahaha!!

    • @Nicks_Pix
      @Nicks_Pix 6 лет назад +17

      Must have been a real pain keeping that little bird fed that lived inside the machine (snicker - I used one of those as well)

    • @b0r0din988
      @b0r0din988 5 лет назад +5

      i added the 256 like for the lols (and the binary) :)

    • @orbonds3603
      @orbonds3603 5 лет назад +1

      I like pu**y but money comes first...willie d

  • @0x777
    @0x777 5 лет назад +181

    You could simply sum up the strategy in one single sentence: Make sure there's a multiple of 4 tokens on the table when it's your opponent's turn.
    The game was actually pretty popular with aging con men that didn't have the speed in their hands anymore to swindle money out of people with the three shell game.
    But the mechanical implementation is really awesome.

  • @Ben_the_Rosafan
    @Ben_the_Rosafan 3 года назад +165

    Now I'd really like to see Matt do a video on the Mario Party 2 minigame "Honeycomb Havoc". It's basically an inversion of Nim: 4 players, you can take 1 or 2 items on your turn, and the object is to NOT take the last item, whoever does is eliminated.

    • @MD-vs9ff
      @MD-vs9ff 2 года назад +25

      That's not an inversion, it's literally the same game. You just win if you take the second to last item, instead of the last. The strategy is identical, except instead of leaving a multiple of 3 behind, you leave 3x+1 behind after your turn.

    • @backlogbuddies
      @backlogbuddies 2 года назад +13

      Md, the issue with honeycomb havok is 4 players at once taking 1-2 and it's not an even amount between each honeycomb

    • @donovanmahan2901
      @donovanmahan2901 2 года назад +7

      At the 1v1 it simplifies to NIM, while the rest is people deciding which of the others can lose or contunue

  • @finn_underwood
    @finn_underwood 8 лет назад +4876

    So... to win when you go first, you discretely add a coin?
    Correct me if I'm wrong, but that sounds an awful lot like cheating...

    • @iamchillydogg
      @iamchillydogg 8 лет назад +622

      Isn't playing with the knowledge that if you go second you are unbeatable cheating?

    • @finn_underwood
      @finn_underwood 8 лет назад +279

      iamchillydogg
      The game itself isn't inherently rigged. When players use a strategy that never fails, it's not cheating, it's just simple strategy. They aren't changing or breaking rules.Just taking advantage of a winning maneuver. Like going against someone in Tic-Tac-Toe, but they have an actual strategy while you're just randomly filling in boxes. If they win, its because they had a better strategy, not because they were cheating. At least, that's my perspective on it.
      As long as both players can agree on and follow established rules, anything goes, provided it doesn't break those rules. When being taught the game, the new player would learn that there are twelve coins, and thus it becomes one of the foundation rules. Adding an extra coin is breaking said rule.

    • @iamchillydogg
      @iamchillydogg 8 лет назад +244

      +Finn Underwood
      Knowing the second player always wins is the definition of rigging.

    • @finn_underwood
      @finn_underwood 8 лет назад +57

      iamchillydogg
      Rigging isn't necessarily cheating. Besides, this version doesn't break any rules. It could be called strategy in a court of law, and it would have a fair shot of getting out scott free, if you compare it to adding the coin. One of these tactics is subtle, one is not. Adding the coin makes it go from a strategic misdirection and manipulation into downright cheating and lying.
      Note: I am going off of MY definition of cheating, which is simply breaking rules of a game. Having a strategic advantage is permitable if no rules or regulations are broken. It's not really fair, no; it's playing dirty. Playing dirty is frowned upon, sure, but it isn't breaking any rules.

    • @curtisbrown547
      @curtisbrown547 8 лет назад +160

      the game is inherently unfair. trying to say that player 2 is using a "strategy" is nonsense. there is a right way to play the game as player 2 an a wrong way. it's utterly binary. on the other hand there is no correct way of playing player 1's role other than to quit. there is no strategy. there is litteraly correct an incorrect. thus player 2 is already cheating because if he is playing correctly player 1 can't win. no matter what happens. the presumption of playing a game is that you can win. if one player cannot win then that is cheating. if you say it is not cheating then it is not a game. thus if playing for money it is stealing. which is a form of cheating. if not being played for money well it's not longer a game so you can't say it's fairplay because it's not a game. it's a time waster. but it can be argued that your cheating people out of there time if they do not understand the player 2 = winner strategy

  • @breakingaustin
    @breakingaustin 5 лет назад +2755

    *Doctors hate him! Australian man beats game with this one simple trick!*

    • @vincentlok8894
      @vincentlok8894 5 лет назад +58

      Have laws changed in your area? (*insert pic of girl in bikini in handcuffs*)

    • @papipepe9659
      @papipepe9659 5 лет назад +15

      *pulls out a sledgehammer*

    • @nothosaur
      @nothosaur 5 лет назад +43

      Try not to gasp when you see what the game looks like now!

    • @vincentlok8894
      @vincentlok8894 5 лет назад +8

      And the internet can't even

    • @vincentlok8894
      @vincentlok8894 5 лет назад +32

      You won't believe what happens next.

  • @tejasviization
    @tejasviization 8 лет назад +198

    The levels of video editing is unreal on this on. (Multiple Camera Angles and Text Overlay WOOT!!!)

    • @standupmaths
      @standupmaths  8 лет назад +51

      Thanks! I do what I can. Probably spent too long on the text overlay. And one day I'll get a better second camera.

    • @wobblysauce
      @wobblysauce 8 лет назад +10

      +standupmaths The anticipation at @9:50, flicks the equalizing paddle, and does not give a play through.

    • @Anvilshock
      @Anvilshock 8 лет назад

      +tejasviization Worlds better than Haran's nauseating wannabe MTV-style action zoom woobly cam.

    • @НикитаМурашов-ц1щ
      @НикитаМурашов-ц1щ 7 лет назад +1

      tejasviization

  • @nickhersheys2706
    @nickhersheys2706 5 лет назад +214

    Here is a trick to slip in an extra coin in case you are the first one to play. Or lets say there is a dispute to who plays first.
    Throw 12 coins on the table .(Not in a straight line. You can place the last coin with dollar bills aside)
    Now take an extra coin out of your pocket and ask the other player for heads or tails and the winner plays first.
    If the other player wins the toss, GREAT ! Put the toss-coin back in your pocket and let the game BEGIN !.
    If YOU win the toss, no problem, casually put the toss-coin in the play to make it 13 coins :) and let the game BEGIN !.

    • @klausbrinck2137
      @klausbrinck2137 2 года назад +2

      Very cunning! You, sir, own the art of diplomacy...!

    • @Rolan7196
      @Rolan7196 2 года назад +8

      The epitome of "Heads I win, tails you lose"!

  • @johnbeauvais3159
    @johnbeauvais3159 8 лет назад +3116

    Wow, that's pretty impressive the level of design of a plastic kids toy in the 1960's, also way to teach kids the system is rigged against them.

    • @maxmustermann-ie6ic
      @maxmustermann-ie6ic 7 лет назад +90

      John Beauvais
      Why? I mean its not like people were any dumber in the past (actually looking at the news I'm starting to think it might be the other way around lol)

    • @moon2a379
      @moon2a379 7 лет назад +19

      max mustermann yeah totally no way this generation is dumber than the 60's why because kids are more intelligent than ever according to study's

    • @MrBob-bj6kk
      @MrBob-bj6kk 7 лет назад +2

      John Beauva

    • @13ivanogre13
      @13ivanogre13 6 лет назад +5

      Imagine having the Internet back in the 60's. It would be like having The Library of Congress in your house!

    • @vincentlok8894
      @vincentlok8894 5 лет назад +25

      Well, you know that in the 1960's they put a man on the moon using sliderules and an onboard computer with less computing power than a digital watch from the 80's. I suppose they also invented computers so, why couldn't they make a clever plastic toy?

  • @GuildmasterWigglytuff
    @GuildmasterWigglytuff 8 лет назад +436

    Wow, that is a really well-designed bit of plastic.

  • @liams923
    @liams923 8 лет назад +244

    I remember playing a game like this with my second grade class called 21, where you could say one, two, or three numbers in a row, and whoever said 21 lost. So, for example, player one goes 1,2 then player two goes 3, player four goes 4, 5, 6. Then if someone had to say 21, they were out and we started again. The last person left won. I remember being very proud of myself for finding out the trick described in the video

    • @bobbobby9056
      @bobbobby9056 8 лет назад

      I played it to back in early 90s

    • @bobbobby9056
      @bobbobby9056 8 лет назад

      +bob bobby
      *too

    • @norinavalkyrie6654
      @norinavalkyrie6654 8 лет назад +1

      Ive played it recently. Its called 21 dares. The loser has to do a dare.

    • @solidsnakeeathe
      @solidsnakeeathe 8 лет назад +2

      what if he said 20? what if somebody take 10/12 coins? I never knew about this game, just want to clarify this

    • @solidsnakeeathe
      @solidsnakeeathe 8 лет назад

      what if he said 20? what if somebody take 10/12 coins? I never knew about this game, just want to clarify this

  • @RichardWinskill
    @RichardWinskill 2 года назад +36

    Periodically this comes back round in my recommendations, and every time for 6 years it frustrates me that Matt never demonstrated beating Dr Nim using the equaliser paddle...

  • @cryptexify
    @cryptexify 8 лет назад +109

    This was my data structures project.
    We make the game of Nim (take 1 or 2) with n number of marbles, the computer generates the decision tree for it, assigns values for each node, then makes a decision on its turn using the MinMax algorithm.

    • @standupmaths
      @standupmaths  8 лет назад +13

      Good work! It's a nice game to decision-tree as the optimal-play strategy is easy to follow.

    • @cryptexify
      @cryptexify 8 лет назад +14

      standupmaths
      This is particularly true for zero-sum games like Nim.
      What's interesting about the 1/2 version of Nim is that its tree has a number of nodes that increases according to the Fibonacci sequence (exponential growth in the numberof nodes) as you increase n, which is intuitive since you either take one ball and go one direction in the tree, or two balls and go in the other, so the number of nodes (let's call it V(n)) is:
      V(n) = V(n-1) + V(n-2) +1.
      And of course solving this gives you the closed formula for the Fibonacci sequence + a constant.

    • @happmacdonald
      @happmacdonald 8 лет назад +2

      @standupmaths Relevant XKCD xkcd.com/832/

    • @happmacdonald
      @happmacdonald 8 лет назад +12

      Rule #1 of XKCD club: every situation has a relevant XKCD. Congratulations on being one of today's 10,000 xkcd.com/1053/

    • @AshtonSnapp
      @AshtonSnapp 8 лет назад

      Finian Blackett What is XKCD?

  • @jordangraham4817
    @jordangraham4817 5 лет назад +392

    At 5:23 - "Um sir, you have 13 coins."
    5:25 - *Removes a coin* You were saying?

    • @silyu97
      @silyu97 4 года назад +6

      sleight of video cut

    • @Bill-vl3np
      @Bill-vl3np 4 года назад +6

      Glad someone else saw this

    • @DivyanshMMMUT
      @DivyanshMMMUT 3 года назад +1

      Exactly

    • @slkjvlkfsvnlsdfhgdght5447
      @slkjvlkfsvnlsdfhgdght5447 3 года назад

      @@robertgarza301 no it isn't, you need to turn it upside down, and then flip it left/right

  • @plumeater1
    @plumeater1 8 лет назад +3635

    Instructions Unclear
    Won the lottery

    • @vicr123
      @vicr123 8 лет назад +35

      Oops! :P

    • @Chrnan6710
      @Chrnan6710 8 лет назад +113

      I hate when that happens.

    • @shinydewott
      @shinydewott 8 лет назад +74

      kemboy323 thats unfortunate

    • @provalvez284
      @provalvez284 7 лет назад +37

      im so sorry about that

    • @s1v3bid
      @s1v3bid 7 лет назад +112

      kemboy323 im sorry for your loss

  • @MyBohemianDreams
    @MyBohemianDreams 3 года назад +17

    I had Dr. Nim as a child in the 60s and like you I was fascinated by how it worked and the math behind it.

  • @nnwp9160
    @nnwp9160 5 лет назад +457

    Why does this keep appearing in my recommend list every few months?
    RUclips keeps forgetting that I've seen this already. Does this happen to anybody else?

    • @mitchjohnson4714
      @mitchjohnson4714 5 лет назад +32

      Yes. RUclips assumes I forgot I watched a video and tries to serve it up to me again. It’s so annoying.

    • @ethelegend27
      @ethelegend27 5 лет назад +6

      Yeah me 2

    • @jochenstacker7448
      @jochenstacker7448 5 лет назад +32

      You need to beat the game, or else it will keep popping up

    • @BestHakase
      @BestHakase 5 лет назад +10

      Press the menu button, select "not interested", "i saw this before"

    • @benjaminnewlon7865
      @benjaminnewlon7865 5 лет назад +1

      Yep

  • @Bison162
    @Bison162 4 года назад +406

    How the hell did somebody invent this game? It’s insanely smart.

    • @condor2279
      @condor2279 3 года назад +78

      It was a bored mathematics professor apparently.

    • @OtakuUnitedStudio
      @OtakuUnitedStudio 3 года назад +44

      Like many games, it was likely just invented by a couple of bored soldiers that didn't get mathematically solved until much later.

    • @shirshajitsingha6484
      @shirshajitsingha6484 2 года назад +29

      late reply, but a similar version of this game exists in a kids game that my friends and I used to play. It's called 21, and basically you count but you can only say 3 numbers and then your opponent continues. And whoever reaches 21 loses and gets some arbitrary punishment. So the goal of the game is essentially to reach 20, so your opponent has to say 21 and lose. I, and many other kids, actually independently found this trick because it's not that hard to figure out. SO it's a fairly widespread mundane game, any many versions of it exist. It's not as universal as something rock-paper-scissors but it's certainly akin to it. And it's quite pointless to ask who invented those kind of games. It's a pretty simple game, so it's reasonable to assume that many versions of essentially the same concept were invented in many places independently and one version got standardized.

    • @stevejordan7275
      @stevejordan7275 2 года назад +11

      They didn't have the distraction/hazard of social media.

    • @hungry6677
      @hungry6677 Год назад

      @@stevejordan7275 bro RUclips is partly social media

  • @saschaschneider9157
    @saschaschneider9157 5 лет назад +91

    Cool! Didn't know there was a plastic verstion of nim. Back in the programming lectures at school we developed this game. It was meant as demonstration for us that AI's in games are not really AI's. In our version it were imaginary matchen wich the opponents have to get from the stack. That the "AI" not always wins, we put some randomness into the number it chooses to put the matches.

  • @vikramkrishnan6414
    @vikramkrishnan6414 5 лет назад +722

    And you didn't title the video "The Secret of NIM"?

    • @TheExplosiveGuy
      @TheExplosiveGuy 5 лет назад +10

      Lol I was thinking of that too. That is one trippy movie for kids, I watched it recently during an acid trip and had my mind blown lol

    • @seancascanet3428
      @seancascanet3428 5 лет назад +3

      NIHM

    • @maulino4036
      @maulino4036 4 года назад +14

      @@seancascanet3428 NIMH: national institute of mental health

    • @RainingOnMyParade
      @RainingOnMyParade 4 года назад +2

      dang it I'm 6 months too late

    • @jacobw1780
      @jacobw1780 4 года назад +1

      He shouldn't have

  • @DanDart
    @DanDart 8 лет назад +514

    > TFW when your plastic toy has a doctorate and you haven't

    • @U014B
      @U014B 8 лет назад +14

      and your soda

    • @DanDart
      @DanDart 8 лет назад +2

      +Noel Goetowski hah fair point. I've just been outsmarted by a drink!

    • @guepardiez
      @guepardiez 8 лет назад +25

      +Dan Dart "That feel when when"? What the WTF?

    • @OtakuNoShitpost
      @OtakuNoShitpost 8 лет назад +1

      +Guepardo Guepárdez Nah nah, That Face With when...

    • @DanDart
      @DanDart 8 лет назад +1

      +phoxxentswrath I thought it was That Face When when tbh

  • @williammitchell2046
    @williammitchell2046 5 лет назад +832

    thank you for telling me how to hustle drunks at a bar

  • @tommygarson8592
    @tommygarson8592 7 лет назад +278

    the fact that this thing is technically classified as a computer fucking amazes me

    • @Mabufu381
      @Mabufu381 7 лет назад +32

      John Gaquin technically, computers was just the name for dedicated mathematicians, who were trained to process equations. The computing machine took its name from their role. So theres another thing that used to be classed as a computer; people. #themoreyouknow

    • @eideticex
      @eideticex 7 лет назад +21

      That's because we throw around computer with absolutely no specificity. What you used to watch this video is a general purpose computer. Inside of it however is an example of a more specialized computer: the graphics card. it is a whole computer unto itself but ill suited for general purpose computing due to it's high degree of focus on vector based calculus. In printers you can find highly specialized computers that require massive reworking to be recognized in the same vein as an ordinary desktop computer and I'm not talking cosmetic changes.
      This computer is specialized in solving one specific equation. As such it's simple enough that you can easily see how it works with only elementary arithmetic and rudimentary mechanical knowledge.

    • @MrBackSTARR
      @MrBackSTARR 7 лет назад +13

      this isn't just a computer this is perfect gaming AI

    • @gusrussell8784
      @gusrussell8784 7 лет назад +5

      John Gaquin Its most definitely a computer. Not a complex one, but one nonetheless.

    • @petey9232
      @petey9232 6 месяцев назад +1

      A computer that uses gravitational potential energy rather than electrical energy.

  • @dreamwolf7302
    @dreamwolf7302 5 лет назад +299

    i literally had a player in a DnD campaign use this to trick the BBEG out of a world destroying weapon... "I challenge the Warlock to a game of Nim"
    Warlock (me as DM) rolled a 1 and thus, the Warlock fell for it...and went first...
    Gotta say, it was a smart move from the party's Barbarian, who was the only one above 1/4 HP...if they had tried to fight it would have been a loss...

    • @lextatertotsfromhell7673
      @lextatertotsfromhell7673 5 лет назад +11

      Dream Wolf liar, barbarians aren’t smart enough to know about this

    • @dreamwolf7302
      @dreamwolf7302 5 лет назад +67

      @@lextatertotsfromhell7673 The Barbarian was a bit smarter than most, he was a professional gambler (sleezebag scammer) of course, whenever he lost his temper or lost a match, he just killed the winner...

    • @RainingOnMyParade
      @RainingOnMyParade 4 года назад +10

      @@dreamwolf7302 omg thats amazing. I love it and want to do this in a campaign

    • @nicolamasiello2147
      @nicolamasiello2147 4 года назад +1

      Cool

    • @teridactyl1250
      @teridactyl1250 4 года назад +3

      Dream Wolf And the warlock accepted defeat?

  • @alterego2498
    @alterego2498 6 лет назад +1955

    NIM upside down is WIN hmmmm...

  • @codywaller2840
    @codywaller2840 5 лет назад +20

    I remember having to find a way to code this is high school for a final exam, but we called it match sticks. We had to program different difficulties with the hardest being “impossible”, where the program always wins. Looking back I never knew it was anywhere near this deep

  • @haxorinator8219
    @haxorinator8219 7 лет назад +863

    PSA: It was patched last update :/

    • @thecommonfool2110
      @thecommonfool2110 7 лет назад +28

      It works again after patch 1.56

    • @AlFredo-sx2yy
      @AlFredo-sx2yy 7 лет назад +16

      too op and game breaking, pls volvo fix

    • @limitlessbeast3867
      @limitlessbeast3867 6 лет назад +5

      Thanks, I missed those notes!

    • @uncle_lulu02
      @uncle_lulu02 6 лет назад +5

      They updated their privacy policy

    • @bad_milk9743
      @bad_milk9743 6 лет назад

      Haxor inator sorry but in patch 2.7 there is a bug where dr. Nim doesn't go.

  • @ИванХарламычев
    @ИванХарламычев 4 года назад +120

    The way he says NIM every time reminds me the knights who say NI

    • @My_initials_are_O.G.cuz_I_am
      @My_initials_are_O.G.cuz_I_am 3 года назад +1

      @Teun van Diedenhoven
      Stop *it.*

    • @Logarithm906
      @Logarithm906 3 года назад +4

      @@My_initials_are_O.G.cuz_I_am NEE NEE NEE NEE NEE, We demand a shrubbary!

    • @shardtheduraludon
      @shardtheduraludon 3 года назад +2

      @@My_initials_are_O.G.cuz_I_am Shrubber-plead for your ignorance to one of the best comedy flicks ever published.

    • @slkjvlkfsvnlsdfhgdght5447
      @slkjvlkfsvnlsdfhgdght5447 3 года назад

      ????????????????????????

    • @Carbon_Crow
      @Carbon_Crow 3 года назад

      @@slkjvlkfsvnlsdfhgdght5447 reference to Monty Python and the Holy Grail ( ruclips.net/video/zIV4poUZAQo/видео.html )

  • @TheLastHonk
    @TheLastHonk 8 лет назад +236

    1960's Game makers hate him!

  • @davincent98
    @davincent98 8 лет назад +278

    3:00 You're going to show us the secret of Nim?

    • @nutlet1
      @nutlet1 8 лет назад +3

      I guess it's dr.nim's go

    • @MagnusSkiptonLLC
      @MagnusSkiptonLLC 7 лет назад +39

      The secret is there's really a super-intelligent mouse running it inside that's voiced by Eric Idle.

    • @slaydgaming1581
      @slaydgaming1581 7 лет назад

      davincent98ko

    • @grantdoesanimation9490
      @grantdoesanimation9490 7 лет назад

      Haha

    • @-Zippy2707
      @-Zippy2707 7 лет назад +1

      I belidva that the top 3 plastic things control it all. And that it always ends with the last peg open

  • @MyChevySonic
    @MyChevySonic 8 лет назад +186

    To beat this, switch it back to your turn and just go again. Then declare computers will never be better than humans and viciously hammer and destroy the game board.

    • @obetcampos6585
      @obetcampos6585 7 лет назад

      Bits of Pulp this is the best.

    • @greenaum
      @greenaum 6 лет назад +3

      Yeah but these things probably go for a fortune on Ebay, so you lose.

    • @fatjuicytaco
      @fatjuicytaco 5 лет назад +1

      ez clap

  • @aaronwalderslade
    @aaronwalderslade 4 года назад +215

    Nym is a character from Shakespeare, derived from an old word "nimmer" meaning "thief"

    • @OrangeShellGaming
      @OrangeShellGaming 4 года назад +24

      ...which comes from the old English word "to nim" meaning "to take", which is more likely what this game was named after.

    • @scepticusverisimillimenonm8450
      @scepticusverisimillimenonm8450 4 года назад +16

      In German, you say "Nimm!" For "Take!" ...

    • @SkippiiKai
      @SkippiiKai 2 года назад

      @@scepticusverisimillimenonm8450
      I really like candy, so I'd always lose this game because I'd always take two. :(

    • @klausbrinck2137
      @klausbrinck2137 2 года назад

      @@scepticusverisimillimenonm8450 English derives from celtic but foremost, from german...

  • @Tytoalba777
    @Tytoalba777 7 лет назад +330

    Dr. Nim's AI is to OP, plz nerf

    • @temptica7982
      @temptica7982 6 лет назад

      xD It's not rainbow six siege or so xD

    • @justinmoody9784
      @justinmoody9784 6 лет назад +2

      I don’t know anything about this game other then what he explained but couldn’t you just release two balls immediately after each other so the ‘counter’ sees them as one balls, force the ‘computer’ to loose count. This way the computer will make all the moves to lose without knowing it. It’s a simple contraption and it seems that counting for this computer takes way to long, unless this is explicitly against the rules or the button is designed in a way to prevent this you should theoretically win every time

    • @fiftyplus2020
      @fiftyplus2020 6 лет назад +6

      Justin Moody r/whoosh

    • @elcabrondeldariel2291
      @elcabrondeldariel2291 6 лет назад

      Sakurai Plz nerf

    • @hardbathsalts3143
      @hardbathsalts3143 6 лет назад

      @@justinmoody9784 he said "if you play by the rules you wil always lose." I havent read the manual, but id bet thats against the rules.

  • @okrajoe
    @okrajoe 6 лет назад +3262

    Story of my life - getting beat by a 1950s plastic computer.

  • @shivdini6277
    @shivdini6277 7 лет назад +150

    Does this still apply to patch 2.0.17 ?

    • @humanrightsviolation7987
      @humanrightsviolation7987 7 лет назад +27

      No, this has been hotfixed apparently. Supposedly, there's someone else who claims they've been doing something similar on the PTR, so we'll have to see once that goes live.

  • @thebakermaker1500
    @thebakermaker1500 5 лет назад +57

    Thank you PBS Cyberchase for teaching me as a child how to beat this game.

  • @peterholthoffman
    @peterholthoffman 8 лет назад +20

    In the mid-1960s, I got an Amazing Dr Nim for my birthday when I was about 8. It was my favorite toy! The manual is really good and gave eight year-old me a lot to think about.

  • @drewboozer427
    @drewboozer427 5 лет назад +3630

    "You can tell it's 1960's America because there's a wholesome family having fun, with GUNS in the background."
    I'd like to say you're wrong but it's very true

    • @paulprecour3636
      @paulprecour3636 5 лет назад +113

      Rather, "You can tell it's 1960s America because there's a wholesome family having fun, due to the fact that they have guns in the background".

    • @xcvsdxvsx
      @xcvsdxvsx 5 лет назад +151

      Back when guns were everywhere but mass shootings were almost unheard of. Kids brought guns to school to target practice in PE. Imagine it. People like to make fun of boomers who blame video games for mass shootings, and I'm sure those people are atleast mostly wrong, but they are on to something in the sense that something did happen. Be that video games or something else, some force or influence, SOMETHING did screw up the culture.

    • @insertwittyname5649
      @insertwittyname5649 5 лет назад

      I had a bunch of 60s games from my mom. The happy family is par for the course but... The guns are kind of new to me lol

    • @aqueousone
      @aqueousone 5 лет назад +42

      Electronic Adventures tell me more about that “well regulated” part.

    • @rickw7903
      @rickw7903 4 года назад +46

      We had a shooting range in high school. Politicians will not disarm me.

  • @renyputman7118
    @renyputman7118 6 лет назад +655

    It's 3AM, not sleeping and what am I doing? I'm watching a video about a guy explaining the strategy of a game from the 60s and I'm enjoying it.

    • @hardstyledontstop356
      @hardstyledontstop356 6 лет назад +3

      Reny Putman I’m doing it right now

    • @Cyba_IT
      @Cyba_IT 6 лет назад +5

      Me too. Always find the most interesting stuff at 3am

    • @P3DR0877
      @P3DR0877 6 лет назад +2

      Right lol

    • @magichands135
      @magichands135 6 лет назад +4

      Reads this at exactly 3am

    • @michaelb4439
      @michaelb4439 6 лет назад

      Well, the Dr. Nim automated version of Nim from the 60s, but the game itself is from the 1500s or (most likely) earlier.

  • @darkfent
    @darkfent 3 года назад +7

    After 5 years, this got recommended again. Welcome back Nim. I think I got it recommended for the stone game in SMT Strange Journey

  • @barslyck
    @barslyck 5 лет назад +2724

    channel named Stand-up Maths
    *sits down*
    me:CLICKBAIT

  • @Mr.D.C.
    @Mr.D.C. 8 лет назад +159

    5:20 The mystery of the disappearing coin

    • @Mr.D.C.
      @Mr.D.C. 8 лет назад +74

      6:43 oh there it is. Nice Magic trick Mr. Parker

  • @tilty7522
    @tilty7522 8 лет назад +792

    I swear to god i counted 13 coins at the start until you demonstrated then there were just 12

    • @juan120535
      @juan120535 8 лет назад +20

      Mo cu AWP There are 13 at first.

    • @MrNex
      @MrNex 8 лет назад +51

      At 5:24 the camera changes from 13 coins to 12

    • @spectrelex3051
      @spectrelex3051 8 лет назад +1

      Mo cu AWP same

    • @ahe7320
      @ahe7320 7 лет назад

      NexGenInsanity a

    • @LittleBlueTugBoat
      @LittleBlueTugBoat 7 лет назад +5

      Cringe Master 9000 I quadruple checked and i count 13

  • @Bennyrulz01
    @Bennyrulz01 2 месяца назад

    I'm homeschooling this year and taught my kid a 3 row version I played in math class on the chalk board in 1992. I always thought the name Dr. Nim was strange name. I never knew about this until I googled and found your video. 30 yrs and I remember vividly how hype we would get over playing this. Teachers are wonderful ❤

  • @mirrimiau
    @mirrimiau 8 лет назад +956

    Nice save with the edit at 5:24. It was about to get awkward with 13 coins! :)

    • @mirrimiau
      @mirrimiau 8 лет назад +12

      Also, love your videos! You are an inspiration to us all

    • @standupmaths
      @standupmaths  8 лет назад +171

      Ha, very well noticed! I had accidentally left my bonus coin on the table when setting up.

    • @David460
      @David460 8 лет назад +6

      +Naksahtanut ha, I also noticed that but, by the time it got to the end I forgot :))))) good memory! P

    • @MrBob-bj6kk
      @MrBob-bj6kk 7 лет назад

      Naksahtanu

    • @suomidude5707
      @suomidude5707 7 лет назад

      Naksahtanut moi

  • @ThatMarisaPerson
    @ThatMarisaPerson 7 лет назад +109

    Basically for a tl;dr
    Make them go first, make sure 4 marbles/pennies/whatever are taken after you go, being sure 4 are taken after both players go. Do this and you win every time.

    • @davidbethke5463
      @davidbethke5463 7 лет назад +13

      This might have been clearer if he had used 4 red marbles, 4 blue marbles, and 4 green ones. Then you'd really see how Nim leaves the "board" at the end of his turns.

    • @xilo_infinite7445
      @xilo_infinite7445 6 лет назад

      Dam i don't think your speaking English

    • @sahibmujabee1177
      @sahibmujabee1177 6 лет назад +1

      UnKnOwN player59 ironic

    • @bhatkrishnakishor
      @bhatkrishnakishor 6 лет назад

      David Bethke useful for teaching kids multiples.

    • @KatorNia
      @KatorNia 6 лет назад +2

      @UnKnOwN player59
      -Dam- *Damn*
      -i- *I* (capital "i")
      -your- *you're*
      Add a full stop (period) at the end & you're all set.
      _I guess you're not speaking English either...?_ ;)

  • @taylorrobin8044
    @taylorrobin8044 8 лет назад +502

    Hi Matt, love your vids

    • @standupmaths
      @standupmaths  8 лет назад +80

      Thanks! I love your comments.

    • @taylorrobin8044
      @taylorrobin8044 8 лет назад +6

      +standupmaths I loved your book too btw

    • @Fematika
      @Fematika 8 лет назад +2

      And pi is better than tau. It is as simple as that.

    • @Fematika
      @Fematika 8 лет назад

      Why? What if you want to find the area of a circle/sphere?

    • @Fematika
      @Fematika 8 лет назад +1

      Yes, but all of the equations using tau, could you not just use 2*pi?

  • @raymondc9513
    @raymondc9513 3 года назад +5

    I'm glad this was in my recommended 5 years later. This is some cool stuff!

  • @lethalbacon3350
    @lethalbacon3350 8 лет назад +2026

    seems like cheating adding another coin

    • @theaquaforcegal1067
      @theaquaforcegal1067 7 лет назад +32

      Gustavo RockyTNT but they would want you to go first because they figured out the strategy. so now they are in the situation if you take 1 coin.

    • @supremecaffeine2633
      @supremecaffeine2633 7 лет назад +4

      Warange1x25 If it's a strategy it's not cheating.

    • @TreetopCanopy
      @TreetopCanopy 7 лет назад +94

      Since it changes the game conditions, it's cheating. It is a sting, though, so it's normal.

    • @supremecaffeine2633
      @supremecaffeine2633 7 лет назад +13

      Joseph Engelhardt Changing the conditions of the game is cheating? Well shit, u better go tell weather not to fuck up sporting events.
      Once a person knows how the game works it only makes sense to trip them up.

    • @TreetopCanopy
      @TreetopCanopy 7 лет назад +87

      "Weather may change" is part of outdoor sporting conditions. Slipping an extra coin in while the other player isn't looking is like deflating a football.

  • @mozartchopin3306
    @mozartchopin3306 6 лет назад +189

    Thank you for telling us the secret of nim

  • @khaozero
    @khaozero 5 лет назад +22

    This vid is recommended every year to me.

  • @SuperSpyMario
    @SuperSpyMario 4 года назад +17

    I think this game was the inspiration for creating the mini-game Honey Comb Havoc from Mario Party 2.
    Which by the way was so fun beating my friends and the CPU at it as I knew how to manipulate them to getting the bee hives.

  • @extrememiner9627
    @extrememiner9627 8 лет назад +19

    I have no idea why this was recommended but i watched it anyways for some reason.

  • @shadowdragon992001
    @shadowdragon992001 6 лет назад +7

    my first experience with this game was in Tales of Phantasia on the GBA. computer always picked a random number and would let you pick who goes first, or something. basically giving you the ability to beat him if you were smart enough.. but the game was also timed, so you had to do the math quick. loved it.

  • @Bradlalb123
    @Bradlalb123 7 лет назад +317

    This seems like a board game you would find in an insane asylum

    • @epicboomshine6595
      @epicboomshine6595 7 лет назад +12

      Cue Dr. Ashens staring into a numbers station broadcast with Tetris music while in a straitjacket.

    • @nightlydisaster5183
      @nightlydisaster5183 6 лет назад +10

      Wouldn’t board games in an insane asylum try to help people become less insane?

    • @casadilla111
      @casadilla111 6 лет назад +5

      Or put you in one, really.

    • @edgeisloveedgeislife5439
      @edgeisloveedgeislife5439 6 лет назад +1

      Nah, the plastic pieces are too sharp for that.

    • @one-for-sorrow
      @one-for-sorrow 6 лет назад +1

      @@nightlydisaster5183 You'd think, but when I was in hospital one of the only board games in there was a game called "mind trap". Which i though was hilarious, despite the fact that it's very existence was making me paranoid.

  • @sagelg
    @sagelg 3 года назад +6

    Idk how many times I’ve seen this video pop up in my recommended tab over the past like 4 years

    • @mattjns
      @mattjns 3 года назад +1

      Same. Here we are again!......(I’m totally watching again)

  • @Formulka
    @Formulka 8 лет назад +141

    rotate NIM upside down and you get WIN

    • @TijmenvandenBogaert
      @TijmenvandenBogaert 8 лет назад +44

      +Simon opdebeeck Did you say COINcidence?

    • @CoconutJones_
      @CoconutJones_ 8 лет назад +11

      +Formulka Also, if you rotate the NIM board upside down when you've finished a round, all the marbles will load themselves back into the top part, ready for the next game. Wins all round

    • @ryanzarmbinski7446
      @ryanzarmbinski7446 8 лет назад

      You've cracked the code!

    • @adampoultney8737
      @adampoultney8737 8 лет назад +1

      Illuminati confirmed

    • @JonasC22
      @JonasC22 8 лет назад +1

      but wont all the marbles fall out?

  • @bryanm6079
    @bryanm6079 5 лет назад +96

    5:20 Shoot, I've been doing this with 13 coins?!... screw it, we'll keep that footage in there

    • @EddieHart
      @EddieHart 5 лет назад +8

      Bryan M glad someone else noticed that too😂

  • @tupe444
    @tupe444 8 лет назад +818

    So this was the original dark souls?

  • @aqueousone
    @aqueousone 5 лет назад +4

    I loved this toy as a kid.... used it to do my math(s) homework! Ahh that rhythmic three-marble-drop sound of defeat brings back such feelings of failure.

  • @Nexxarian
    @Nexxarian 5 лет назад +200

    If you're gambling using this strategy and have to put down a 13th coin so you'll win, you'll get murked by your opponent.

    • @romusa10
      @romusa10 5 лет назад +11

      Hey you set the rule so you can go second, if they want to change the rule,you can also do it.
      Besides,if the opponent dont know the secret,you can still win even tho you go first

    • @Vandragorax
      @Vandragorax 5 лет назад +14

      Just add more coins, so using 21. Let them choose to go first, or if you do. Start off slightly differently by only taking 1 at a time and at some point along the way, just ensure that the remaining coins are a multiple of 4 (4, 8, 12, 16) at the end of one of your turns. Then revert back to using the strategy explained here and you will always win!
      If they try to outsmart you and say "Ok then whoever takes the last one LOSES not wins" then you can say alright, and do exactly the same but make sure that at the end of your turns the remaining coins are a multiple of 4 plus 1 (5, 9, 13, 17) and then again fall back to watching what they take and always make that up to 4 on your turn. Then you can force them to always take the last coin instead of you taking it.
      The only danger with that is that if they found out your strategy then they will be able to block you from reaching those multiples, but by this point you've probably played them so many times you can just call it off first or let them win once for the sake of it :D
      Simple and no cheating :D

  • @nathanapplegate5374
    @nathanapplegate5374 8 лет назад +247

    This reminds me of an episode of "Cyberchase."

  • @asamckaig8018
    @asamckaig8018 7 лет назад +416

    2+2 is 4 minus 1 is 3 quick maf... Oh Dr.Nim won again

  • @TheTomtaru
    @TheTomtaru 3 года назад +82

    Ah, a recommended video where is hair was still on top of his head instead of on his chin XD

    • @felipedeornelas8054
      @felipedeornelas8054 3 года назад +2

      Which looks much worse

    • @compoflask6262
      @compoflask6262 3 года назад +4

      Dude lmao how is he supposed to control baldness, with a math trick?

    • @rezneba101
      @rezneba101 3 года назад +3

      @@compoflask6262 Looks like he did actually try to control it.... not a good idea imo

  • @JeffFrmJoisey
    @JeffFrmJoisey 8 лет назад +5

    I had a Dr. Nim way back when. I actually wrote a BASIC program to play the game on the Time-Shared HP in New Hampshire via TTY based on the game's manual back in 1972.

  • @thesemoves
    @thesemoves 8 лет назад +4

    I've played multi pile nim. Great fun. I imagine you greatly love it as you can work out your winning strategy in binary! Great video Matt!

  • @torrace12
    @torrace12 5 лет назад +20

    Shift the angle of the red board to make the pellets roll back to the original position by themselfes.
    you dont have to move them by hand

    • @Keithustus
      @Keithustus 3 года назад +3

      Harder to present on video though.

  • @unbearifiedbear1885
    @unbearifiedbear1885 2 года назад +1

    We used to play this with a pen and paper - had no idea a mechanical version existed
    A substitute maths teacher taught us the game - thanks, Sir ❤

  • @chip2508
    @chip2508 4 года назад +30

    2:20 "And just to rub it in, as it wins, it puts the lever back over to say it's now my go to suck."
    *awkward silence*

  • @inkolore2
    @inkolore2 8 лет назад +392

    "You can tell it's 1960s America because there is a family having fun with guns in the background"
    My sides

    • @ketchup143
      @ketchup143 8 лет назад +1

      +IceNoob88 we haven't changed at all?

    • @RedHairdo
      @RedHairdo 8 лет назад

      +ketchup143 Just a bit. Sadly.

    • @Izandaia
      @Izandaia 8 лет назад +4

      +IceNoob88 As much to the point: A WHITE family with guns in the background.

    • @Izandaia
      @Izandaia 8 лет назад

      +delton No, the picture of the family on the box is also racist. But while the Chinese caricature is racist specifically against Chinese people, the whitewashed family on the box is racist against everybody who's not white by implying that only this (semi) nuclear family of white, middle class people is the norm, and anything else is an aberration.

    • @Pattonator14
      @Pattonator14 8 лет назад +19

      +Izandai so you want a family from each ethnic group printed one after the other? Get out. A single image does not suggest that its the norm.

  • @melkiorwiseman5234
    @melkiorwiseman5234 2 года назад +6

    I remember seeing a computer version of this Nim game using 21 "matches" (or any other item) where the object was the opposite - to force your opponent into having to take the last match. The strategy was the same, though.

  • @mickwilson1969
    @mickwilson1969 5 лет назад

    This game is brilliant. For many years years my kids beat at a game they called '21', the aim being, whoever reached and said 21 would lose i.e. player A counts 1 and player B counts 2,3,4 and so on, up to 21. Exactly the same mathematical principal but by ending on that odd number i.e. 1 greater than a multiple of 4, they forced me to lose every time. I never ever worked it out, they had to explain it to me. Admittedly I was gutted, but also very proud that they had outsmarted me.
    I'll be scouring eBay for a copy of the original Dr Nim for the foreseeable future.
    Excellent video!!

    • @Cheepchipsable
      @Cheepchipsable 5 лет назад +1

      Give it to them, then tell them they are out of the Will, see how they like that - Check and Mate!

  • @DanielSultana
    @DanielSultana 8 лет назад +8

    And once again, you do not disappoint, thanks

  • @jamesmiddleton8335
    @jamesmiddleton8335 5 лет назад +3

    I worked out how to win this game every time when I was 9. I have always loved working out things like this.

  • @Garbaz
    @Garbaz 8 лет назад +10

    The strategy isn't that impressive, but the physical implementation of it is amazing! I love physical computers like that.

  • @ncot_tech
    @ncot_tech 4 года назад +1

    A variation of this was given out one year as a GCSE Computer Science programming project. The variation the students had to code had 21 sticks to try and mask the maths needed to always win.

  • @Laurabeck329
    @Laurabeck329 8 лет назад +100

    Now we know what the secret of nim is. *cricket sound* I'll just walk myself out.

    • @nychold
      @nychold 8 лет назад +3

      +Mihovil Beck I see what you did there.

    • @evknucklehead
      @evknucklehead 8 лет назад +6

      +Mihovil Beck Mrs. Frisby would be so proud. Except for the (somewhat necessary) spelling difference...

    • @axelfirekirby
      @axelfirekirby 8 лет назад +1

      +Mihovil Beck LOL

    • @nychold
      @nychold 8 лет назад +1

      ErizotDread Excuse me, pardon me.

    • @ErizotDread
      @ErizotDread 8 лет назад +2

      nychold
      lol...BRIIIIIIIIIIIIISSSSBEEEEEEEEEEE...oh no, Auntie Shrew!

  • @aliyah9254
    @aliyah9254 2 года назад +6

    A slightly different version of this game is played in the 1961 French New Wave film Last Year at Marienbad. The character who plays it uses it as a sort of parlor trick, fascinating all his fellow aristocrats by his unmatched skill. It vaguely serves as a metaphor for this character's controlling and manipulative nature, but it's never demonstrated in the film that it's a hermetically sealed set of forcing moves determined from the outset, so it's very cool to see some of the mechanics behind it.

    • @ericdietz1795
      @ericdietz1795 Год назад

      Roger Ebert liked the movie a lot more than I did; neither of us seem to have made much sense of the game.

  • @yutuberocks22
    @yutuberocks22 5 лет назад +13

    Thank you for teaching me the secret of NIM.

    • @tylerepp626
      @tylerepp626 5 лет назад

      Underrated comment award winner.

  • @topquark22
    @topquark22 2 года назад +1

    Incredibly clever, ticks tocks and toggles, marbles on a plastic board. Could this have been the inspiration for Turing Tumble?

  • @vejymonsta3006
    @vejymonsta3006 8 лет назад +593

    NIM upside-down is WIN

    • @hellodownthere3763
      @hellodownthere3763 8 лет назад +42

      backwards and upside-down

    • @confuzedgraphite
      @confuzedgraphite 8 лет назад +11

      shawn wicks yes definitely NIM backwards is DEFINITELY win it's not like there's no w or anything

    • @hiiroji_5419
      @hiiroji_5419 8 лет назад +13

      shawn wicks bro.... NIM backwards is MIN with a reversed N..... smh

    • @confuzedgraphite
      @confuzedgraphite 8 лет назад +2

      Ethan Ho okay? What are you trying to get at? If you're saying it like a list, as in 'NIM upside down is win, the same is true if it's backwards' that's incorrect. Or if you're saying it as a movement, as in 'I flipped the letters in NIM backwards and then upside down.' It's still incorrect. If you flipped the letters in NIM in they will not spell win, not unless you had a mirror, but that's cheating.

    • @amandab5941
      @amandab5941 7 лет назад +8

      Ethan Ho,
      not backwards, just upside down. write it out and flip the paper.

  • @Jhet
    @Jhet 8 лет назад +68

    it's not a piece of plastic from the 60s
    it's THE piece of plastic from the 60s

  • @ethanmacmillan1375
    @ethanmacmillan1375 8 лет назад +174

    NIM upside down spells WIN cause it always wins!!!

    • @ColHogan-le5yk
      @ColHogan-le5yk 8 лет назад +9

      Elliot Lockett no, he is right.

    • @jan_h
      @jan_h 8 лет назад +35

      +Ethan Macmillan Actually, WIИ

    • @julian.castro18
      @julian.castro18 8 лет назад +25

      Actually, ИIW

    • @trabajador_
      @trabajador_ 7 лет назад +9

      Jesus fucking Christ, Ethan was right. Flip the comment upside down and NIM becomes WIN almost perfectly.

    • @tortture3519
      @tortture3519 7 лет назад +3

      Ethan Macmillan 10:18

  • @hhhsp951
    @hhhsp951 3 года назад +7

    Still waiting for that video on multi-pile NIM by the way

  • @doodlevib
    @doodlevib 5 лет назад +6

    We learned about a version of Nim in the game theory section of an upper-level mathematics course! It's an example of a game in which there exists a winning or optimal strategy, where by playing perfectly one player can always guarantee a certain outcome (in this case, beating the opponent). As discussed in the video, depending on how you configure your version of Nim (i.e. number of starting coins, marbles, etc.) you can always guarantee that the first or second player can win by playing perfectly. The mechanical computing board is a fascinating and a terribly clever design!
    Tic-tac-toe is another interesting example because in some sense both players have an optimal strategy: in any game of perfect play neither can win. By responding to the first player's moves appropriately, the second player can always force a tie game. No one-sided winning strategy exists, unlike in Nim where one player is guaranteed to lose.

    • @louistournas120
      @louistournas120 5 лет назад

      Can a mechanical version of tic tac toe be made?

    • @doodlevib
      @doodlevib 5 лет назад +2

      @@louistournas120, I think a mechanical tic-tac-toe playing system is certainly possible and sounds like fun! As you may or may not know, recreating the algorithm for playing an optimal game of tic-tac-toe is a common introductory-level computer science/programming class assignment because most people know how to play from experience and it helps students practice thinking like a computer (checking variables, logical decision trees, etc.). A mechanical system (perhaps using weights, balls, or levers to mark player moves) for deciding optimal tic-tac-toe moves could certainly be engineered. Maybe it would instruct the human player where to place the mechanism's chosen tic-tac-toe marks. I picture something like a box that fits on a small tabletop, with mechanical switches on top for players to mark their choices. Inside, those switches could be connected to little barriers that redirect a little ball through a branching path with multiple levels. By blocking certain pathways and leading the ball to one of nine end-of-path choices, it would represent the mechanical computer's choice of placement. There might be more elegant solutions using weights or springs but that's what comes to my mind. I think your idea is a good one!

    • @louistournas120
      @louistournas120 5 лет назад +1

      @@doodlevib :
      Yes, we did that in a computer science course which was about assembly programming. We had to draw stuff on screen ourselves. I wrote a function to draw a vertical line, a function to draw a horizontal line, a function to draw a circle, a function to draw diagonal lines.
      We didn't program the AI side. It was suppose to be played by 2 human players and the code detects when someone wins.
      Years later, I did a version that runs on iphones/ipads.

    • @doodlevib
      @doodlevib 5 лет назад +1

      @@louistournas120, thanks for sharing. Some classmates of mine made a tic-tac-toe playing AI in Python as a class project. The graphical component was probably easier for them than for you because they used a Python module with a library of graphical tools, rather than doing it all by hand in assembly-level language.
      A harder AI to program than tic-tac-toe is one that plays a game called "Bagels" (sometimes called "Pico, Fermi, Bagels"), which is a 3-digit number guessing game. There are simple explanations of the rules online. It's not hard for humans to intuit an optimal strategy that gets you the right answer in the fewest number of guesses, but writing out a decision tree for an AI to play that well is much more challenging.

  • @MisterAppleEsq
    @MisterAppleEsq 7 лет назад +900

    Why is everyone insulting his hair? It might be less good than other people's hair, but it is Parker Hair, after all.

    • @ipodtouch470
      @ipodtouch470 6 лет назад +11

      Mister Apple Plus one if ya don't get it look up the video parker square

    • @stickykeys2795
      @stickykeys2795 6 лет назад +1

      Haha

    • @expendableround6186
      @expendableround6186 6 лет назад +5

      Mister Apple
      They are just disappointed that standupmaths didn’t dye his hair like a loser.
      I personally prefer short, naturally colored hair.

    • @IvanPowell-dt6vb
      @IvanPowell-dt6vb 6 лет назад

      Mister Apple, how many licks does it take to get to the center of a lollipop? ¨The World Will Never Know¨

    • @wcsxwcsx
      @wcsxwcsx 6 лет назад +1

      It's not too late for Rogaine.

  • @MecchaKakkoi
    @MecchaKakkoi 5 лет назад +91

    5:25 - Realises he'd put 13 coins down.

  • @aztextwistt8024
    @aztextwistt8024 3 года назад +2

    yooooo, I remember watching this in 2017 but i forgot about it then I got it in my recommendations.
    thanks to my recommendations for resurfacing this treasure i lost

  • @c17bykenshi67
    @c17bykenshi67 5 лет назад +4

    My little brother and I had a similar ,,fun“ little game we used to call ,,21“ easily rules, everyone counts up from 0 to 21 and the person who says 21 looses, you may only count up by 3 numbers (again, similar to doctor Nim) I figured out after I get the number 4 I have already won because no matter if my enemy picks 1/2/3 i‘ll just say 3/2/1 and land on 8 as we continue the same strategy and land on 16 the enemy counts up by 1/2/3 i just pick whatever makes me land on 20 so my enemy has to take 21 making me win

  • @TheUketube
    @TheUketube 7 лет назад +6

    was looking at the title of that book upside down and NIM spells out WIN

  • @hiker64
    @hiker64 2 года назад +2

    The first game I remember having when I was little in the 1960s - I had no idea what I was doing. I just liked playing with the marbles.

  • @vinnybonboot
    @vinnybonboot 3 года назад +2

    Would love to see a follow up on the 5-year anniversary of this video! Maybe talking about the multi-pile nim strategies?