The Unbeatable Game from the 60s: Dr NIM

The Unbeatable Game from the 60s: Dr NIM


I’m gonna show you a game which seems difficult But! I’f you learn one simple trick, and i’m serious it’s genuinely this one simple trick The game becomes, so easy! Most people can be beaten by a piece of plastic, From the sixties. -music- Here’s the game of Dr.Nim I managed to find and buy online It came in a fantastic original 1960s box check that
out You can tell us nineteen sixties America
because there’s a wholesome family having fun with guns in the background! The game
starts with the row Marbles along the top of the board there, and the goal is
to take the last marble, whoever gets that one there wins the game, and each
time you have a go you can choose to take one two or three
marbles. but who am I going to play against? well
for dr.Nim you play, the piece of plastic itself
there are levers and things that toggle and bars underneath it will make its own
moves and in theory it will always beat me as the human i get the luxury of
going first there’s a little toggle down here it is on the left and means it’s Dr.Nim’s go, if it’s on the right it’s my go as a human and whenever I
want to release a ball i just hit the button on the side there there goes the first one and you know
what, i’m going to do two marbles on my first go so now I move the lever over to Dr.Nim’s
side and to set Dr.Nim going you hit the button once and it will choose
how many marbles that wants to take so here we go, going for one, oh wait it’s
gone for a second one oh! So it took two marbles and then moved
the lever back over to indicate it’s now my go well I only want one, so there’s my one
and it’s made it through, ever so often we get stuck I now go fine, dr.
Nim all yours I took one, what are you going to do?
that’s going for one, going for a second one its gone for a third one, and then switched
it back to my go okay there are four left, I think dr.
Nim may have me in a corner here, i’m going to take, oh goodness I’ll go with two again there’s- actualy you know what? Just one, I’ll do one, and gonna go straight back to dr.Nim, and you’re on dr.Nim one second, one and the winning third one and just to
rub it in as it winds it puts the lever back over, to say it’s now my go… …to suck… No matter how many times you play doctor
Nim, the plastic jerk as long as the human goes first as long
as you play by all the rules and don’t cheat it will beat you every single time this is based on a mathematical game
called unsurprisingly, NIM, and this is a plastic computer that has been built to
be any human in a simplified version of NIM, NIM is a great game to play it like
this piece of plastic you’re a big fan of beating other people
and i’m going to teach you how to always win at NIMH so you can use it to annoy your friends
and family, – music- the game of NIM has been known about
and studied by mathematicians for, well over a century, although people believe it
predates that by a long way specifically what we’re looking at here
is a version of NIM called single pile NIM,for dr.Nim all the marbles
came off one row the version i’m going to show you, all these coins will be in a
single line technically proper NIM can have more
than one pile, but believe me the strategies for multi pile NIMH get a lot more
complicated as very much another game for another video the way I would normally play NIMH in a bar
or similar setting against friends strangers you know, chumps, would be to
use something like 12 coins we start from one end each player can take one
two or three coins whoever takes the last coin wins while I
absolutely never encourage any form of gambling if you were the kind of person
who would like to do that you and your opponent can both put some money on the
game put it under the last coin or token and
whoever takes that one gets the cash, in a similar vein many years ago we were
involved in setting up something called mass of asking where we went outside and
did busking with mathematics on the street one of the routines involved putting 12
pigs on one of our buskers the 12 peg had 20 pounds underneath it very importantly 20 pounds of our money
but we knew if we played the correct strategy we would always be able to win
the game and keep money some people found that pretty annoying
they would go away come up with strategies come back trying to beat us, in
fact there are a few ways people can try and get you in a corner where you can no
longer win but I’ll get to that in a moment to start with here’s how you win 12 coin NIMH, a nice
way to start is by looking at the end game i got myself in before with dr.Nim
i had for marbles left or in this case for coins it was my go, and i knew i couldn’t
possibly win, and if you get your opponent in this situation you can always win
because if they take one you take three if they take to you take two they take
three you take one and they can’t take four according to the rules, so the goal of the game is to get
them into this situation but how do you guarantee that situation well imagine it earlier in the game and
there are eight remaining and it’s their go you’ve got the same deal going on with
just these four to leave these four left if they take one you take three they
take to you take two they take three you take one as long as
between them and you you take for away you’ll be left in that end game we can now go one step back to the very
beginning of the game where there are 12 coins all together you’re thinking of them in lots of four
for there for there for at the end for each round of full the other person goes
first you go second you need to make sure you
take enough coins after their go so between you you have taken four in
total once you know what’s going on it’s a very straightforward game to win
they take one you take three they take to you take two they realize
they can’t win they get annoyed you get the money the only problem arises when people
realize the trick themselves and this is what we had when we were basking people
would go away work it out come back and then they
would insist that we go first instead of them, so what you do is if any
of your friends caughten on to what you’re doing the next time you reset it you do what
we used to do you just take out an extra coin and put it on the end we would
suddenly increase the number of pegs to be greater than 12 you go first and you bring it down to
the now multiple of 4 it’s they go and you’re right back in
your winning situation -Some Extra Radical Music- so how does dr.Nim the piece of plastic
play by those rules with the top we have the 12 marbles as we would expect and then underneath that we have a
series of these little toggling plastic Levers, they keep track of how many
models have gone through the game so far and you can think of them as kind of
like a binary counter but it’s not true binary it’s more of a tally system that
keeps track of the marbles you start with the leftmost one up and
the other two flat down the first model release drop the left one that raises
the center one if I then send a second one it drops the things one raises the
right one the third marble just restore the right
one to being flat only when there’s a fourth marble your
left my one get raised back up again and we’re right back to where we started
that repeats every set of four marbles after they’ve gotten through what are
now calling the paddles the marbles can go one of two different ways they can
either go to the left or they can go to the right, if its Dr.Nim’s turn and
the switches over on their side any marbles which go to the left will
bump the switch over ending dr.Nim’s go any marbles which go to the right hit the button and release another
marble so we need to save from the different arrangements of the top three
paddles and it keeps track from each set of 4 is the first second third or fourth
ball do they cause dr.Nim’s go to end? or do
they cause them to take another marble let’s have a look i’ll just cycle
through a few marbles and will keep track first Marvel out ends dr. names go
second marble you take another ball third marble take another ball fourth
model and the go and it carries on like that first one will end his go on the
left second one goes to the right take another one third one go to the right
take another one for one goes to the left ending their go so what does this mean for dr.Nims
strategy where you can imagine all 12 marbles at the beginning works in their
groups of four and for each one it’s dr. him get to go on the first
fourth model they’re going to call their go to an end if they get to have a go on the second
or third they’re always going to carry on to another one when i first got the
game and I was investigating how it works actually found that a little bit odd
because dr.Nim doesn’t have to end their go on the first marble in theory
the human is always going to have the first model from each set of 4 why is it designed to go to the left is
it just easier to build that way It turns out if you read the admittedly
casually racist instruction manual you see they’re acting all different
ways of playing doc turn in their options for dr. need to go first and you
can do the same trick you can give them extra marbles the doctor named will just take straight
away in there are other versions where you have a fighting chance there are some versions of this game
where you can actually beat dr.Nim and that’s what this little paddle here is
for is called the equalizer paddle and you can set that so initially doctor
named doesn’t play with perfect strategy you get a chance at the beginning to
beat it but if you make one mistake it will take
over return to perfect play and you’re not going to win, and that’s why dr.Nim
has to end its go on the first position as well as the fourth position it would
only end in the fourth position there are some versions of the game
where you may have ended at a whole round of four in that case dr.Nim would take four
marbles that’s against the rules and it will have cheated and whoever designed
the dr.Nim game to their credit they made in such a way
that it will never cheat it will always play within the rules
admittedly in such a way that it would normally kick your ass so they are that is the game of dr.Nim, I find it absolutely fascinating as an example of a very early computing
based game the instructions for all their drawbacks
to go into a surprising amount of detail of the theory behind how dr.Nim
actually plays so you can see here there’s a whole section next to that
fantastic caricature which talks all about whether or not machines can
actually think, if you like this kind of real-world ridiculous physical computing
then you’re going to love my Domino computer check it out – thousand dominoes arranged in a pattern
such as they can do binary arithmetic if you like this general concept of
fascinating mathematics of course make sure you subscribe to my stand-up mass
channel and if you like winning drinks money or just admiration of your friends
when you do that how to playing them and please do go beat them -Last bit of Epic Music-

100 thoughts on “The Unbeatable Game from the 60s: Dr NIM

  1. One math teacher made the students play NIMB, but he didnt even knew that there was a way to always win. A friend and I realiced, so I told him that the person who starts could always win, he told me that wasnt true, and I won him in front of the class, it was fun.

  2. Everytime I watch this, you remind me of the scientist from the 70s Willy Wonka showing off the computer that can calculate where the tickets were sent or something like that.

  3. I've always liked the idea of physical computing, this would have been way cooler to me (still really cool) like 10 years ago, also navil targeting computers are awesome things too, and though not a computer, mechanical artificial horizons too

  4. I remember this game from way back then. There was a hidden Easter Egg: If you tried to cheat the game, the levers bit your fingers.

  5. The black background isn't doing any favours for your hair my man. Either way mate, you're braver than I could ever be.

  6. "You can tell it's 1960's America because there's a wholesome family having fun with guns in the background"

    There is definitely nothing special about the 1960's and guns. If anything, there were far fewer guns (per capita) back then. The fact that the "father" in that picture is doing something other than working, drinking or smoking is quite out of character for the time.

  7. He is trying so hard to not be bald. If he shaved, he would surely be more beautiful. Try it, brother. 🙂

  8. Why is it casually racist? Because of the chineses picture? Not racist, just going with the name Dr.Nim who 5ge makers thought sounded Chinese.

  9. 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

  10. Socialist/Leftist – Pseudo Intellectual CUCKS cannot handle Old Pics of GUNS… E.U. Leftist socialist Agenda CUCKS make me puke…Without Guns we and our Children, ALL OF US would have BOOTS ON OUR FACES, PERPETUALLY… IT IS BEYOND INSANE TO NOT HAVE AT LEAST A FEW GUNS IN THE HOME….. MULTICULTURAL SOCIALISM/GLOBALISM IS ORWELLIAN COMMUNISM…. ITS SATANIC… ITS DEATH…

  11. Please explain how the instruction manual is "casually racist." (@9:33) – What a cheap, meaningless shot. This "racist" label that is enjoying such foolish popularity, is literally creating racism where none existed. (But in reverse.) Go figure out THAT equation, genius.

  12. When will people get tired of finding racism in everything? The clouds in the sky are white, therefore, casually racist.

  13. I hate the way YouTubers talk. It makes the video so unenjoyable. You’re not on the news pal just talk like a normal person

  14. "casually racist"

    Getting real tired of people constantly saying that about things that aren't racist at all. Not to discredit a great video though.

  15. Did anyone else notice that he manually picks up the marbles to reset the game? All he has to do is tilt the board. It's made to be easy to reset. lol as brilliant as he is he didn't figure that out.

  16. Wow, thank you for the great explanation. Have you ever considered teaching? You would be great because I understood everything you said. Keep up the great work.

  17. Game invented by John Godfrey from Lansing Michigan. He passed away January 2019. RIP John. Game was distributed by E.S.R.

  18. Perhaps three years too late, but…
    If the change was to me, I would say, “I accept, but only if we agree not to copy each other’s last move unless that is the only move we can make.” (Only to be fair of course!)
    Win for me? (Of course.) But then again, how many coins do you put out to win if either rule (copy/not copy) was used?

Leave a Reply

Your email address will not be published. Required fields are marked *