The Amazing Dr. Nim Scale Model

16K6233

Intro: The Amazing Dr. Nim Scale Model

The Amazing Dr. Nim is a toy invented by John Thomas Godfrey and manufactured by Education Science Research (E.S.R., Inc.) in the mid-1960s. It consists of a marble-powered plastic computer capable of playing the game of Nim. The machine selects its moves through the action of the marbles falling through the levers of the machine.

The "game board" is a based on the mechanical Digi-Comp II digital computer (also a Godfrey creation). It has memory switches that hold bits of data. The unit is programmed by lobed levers that affect and are affected by marbles that are released from the top of the game. Three of the levers set the start position. The fourth lever is the 'equalizer' option; if set, the player can win if they play perfectly. The last lever is used to indicate who's turn it is, the human or Dr. Nim's.

There are many good online references for the game. The following video is especially informative and entertaining:

The Unbeatable Game from the 60s: Dr NIM

And this article speaks to the relevance of a game like Dr. Nim in today's digital world:

Evil Mad Scientist Laboratories - Dr. Nim

Along with the STL files for this project, you will find a PDF of the manual that came with the original Dr. Nim. I brought this file to a local copy center and had them print me a few stapled booklets on glossy paper and was super happy with the results.

The Dr. Nim offered here is a 2/3rd scale model of the original (.673 to be precise). This keeps the size of the game down to about 210 mm x 205 mm which will hopefully make Dr. Nim accessible to more 3D printers out there (including mine ;-). I have tried to keep the game as true to the original as possible within the constraints of the differing technologies (FDM vs injection molding) and the information available to me. One other concession was to 3D print the folding stand rather than attempting to employ the wire stand of the original.

I did not in fact own an original Dr. Nim when I created this model. The model you see here was developed from pictures obtained online, and from pictures and information graciously provided by Dr. Nim owners. Thank you so much Jaap Scherphuis and Charles E. Leiserson!

Recently I did acquire a vintage Dr. Nim. Upon inspection the only thing I changed was the angle that the game is played at (about 30 degrees) as determined by the Hinge Stoppers.

Design Notes

As with my other E.S.R. project (Think-a-Dot Replica) the real design work for Dr. Nim happened back in the mid 60's. I just did the modelling. The Amazing Dr. Nim game was mostly modeled in Fusion 360 with some of the simpler pieces done with Tinkercad. What I liked about this project was that once the Base was done, all of the other pieces are quite small and print quickly. This allowed me to iterate and fine tune them with short turn around times.

The Amazing Dr. Nim was done as a tribute to John Thomas Godfrey and E.S.R. for their brilliant work many decades ago. My hope is to re-introduce these toys to a whole new generation of inquiring minds.

STEP 1: Print the Parts

Print Resolution: 2 mm

Infill: 20% and 100%

Filament: AMZ3D PLA in Red and White

Notes: All parts were printed with PLA at .2mm. The Base unit was printed with 20% infill and 5 top and bottom layers. Everything else was printed at 100% infill. To create an Amazing Dr. Nim you will need to print the following parts:

  • 1 Base (the main Dr. Nim board)
  • 3 Flip Flop
  • 1 New Game
  • 1 Player Select
  • 1 Hinged Stand
  • 2 Hinge Stopper
  • 5 Shaft Support
  • 5 Shaft Cap
  • 1 Trigger
  • 2 Trigger Fulcrum
  • 2 Trigger Support Long
  • 2 Trigger Support Short
  • 1 Trigger Lock

STEP 2: Preparing the Parts for Assembly

Here are some tools that you will need to complete this build: fine grit sandpaper, a hobby knife, some good glue, tweezers, and a medium size paper clip.

Using a fine grit sandpaper (I used 220 grit) lightly sand the shafts of the Flip Flops, New Game, and Player Select switches close to the switch piece itself to about half way up the shaft. We are trying to get these parts to swivel easily and smoothly when installed into the Base holes.

I have my first layer set pretty aggressively and as a result I end up with a bit of a "lip" around the edges of the first layer. I used a hobby knife to carefully remove any of this excess material from bottom of the 5 through holes in the Base, and from the 5 Shaft Support pieces, so that the holes are an even 4 mm all the way through. Also the trigger slots might need some attention to ensure a consistent 2 mm width throughout.

STEP 3: Install the Shaft Supports

Attach the 5 Shaft Support pieces to the bottom of the Base. For each, push the shaft from one of the switches through from the front to use as a guide to align the Shaft Support with the hole in the Base. They should be lined up as precisely as possible. Use a small amount of glue near the outside bottom edge of the Shaft Support to attach it to the Base, being careful not to get any glue of the shaft itself. When the Shaft Support is in place remove the guiding shaft while the glue dries.

STEP 4: Install the Trigger Supports

Attach the Trigger Support pieces to the back of the Base. The most important of these are the two Trigger Fulcrums. These need to be lined up with the horizontal opening in the middle of the Trigger area. It is essential that the groove in the bottom of the Trigger Fulcrum piece aligns with the horizontal opening in the Base.

Attach the other Trigger Fulcrum and Trigger Support pieces as in the picture above. Make sure that all of the Trigger support pieces approach the edge of the vertical openings but do not go over. When the Trigger is installed it must be able to move freely within the vertical slots.

STEP 5: Install the Front Switches

Install the 5 switch pieces: the 3 Flips Flops, 1 New Game, and 1 Player Select by sliding their shafts through the appropriate Base holes. Use the picture above as a guide. It's important that the pieces be positioned as depicted when installing. The pieces should slide easily into the holes without binding. If they do bind a bit sand the shaft a little at a time until they insert readily and can be rotated without any sticking.

Attach the switches to the Base by pushing the 5 Shaft Caps onto the shafts from the rear of the Base. The Caps should slide all the way down into the Shaft Support rings and should hold the switch in place without having to use any glue. Once installed you should still be able to freely rotate the switch. If the piece sticks a little when rotated, remove and lightly sand the outside of the Shaft Cap and try again. If a Shaft Cap does not hold the shaft in place use a small amount of glue to attach it, being careful not to get any in the Shaft Support. Check the free rotation of the switch while the glue dries.

STEP 6: Install the Trigger

Cut a 6 mm piece of wire from the paper clip. Position the Trigger into the vertical slots as in the picture above. While pushing the central part of the Trigger gently up from below slide the short piece of wire into the Trigger's pivot hole (this is where the tweezers might help). Once the wire is in, release the tension on the Trigger. The wire should drop into the grove in the Trigger Fulcrums.

When you are satisfied the trigger has been positioned correctly and the wire pivot is seated, snap the Trigger Lock in place.

STEP 7: Install the Stand

Glue the two Hinge Stoppers onto the Hinge as pictured above.

When the Hinge Stopper glue has dried, position the hinge onto the back of the Base as shown above. The Hinge aligns horizontally with bottom of the Base, and can be pushed up against the Trigger Fulcrum support on the left for the vertical alignment. Apply glue to the top of the Hinge (under where the Stoppers are) and attach the Hinge to the bottom of the Base.

STEP 8: Finishing Touches

That's about it. I used white satin hobby paint to highlight the Dr. Nim logo on the game board. Some of the pictures I have seen have the Dr. Nim in white and some are just red plastic. I do not know if the white just wore off over 50+ years of use or if there were two different batches. I like the white look best.

STEP 9: Try to Beat the Amazing Dr. Nim

This scaled down version of Dr. Nim has been optimized to work with 10 mm (3/8 inch) steel balls in lieu of marbles. The picture above shows the setup for a 15 ball game where the "player" left with the last ball bearing loses. There are multiple other starting positions listed in the manual.

In this case the human goes first. By lightly tapping the Trigger button the human releases one, two, or three balls one at a time letting them completely cascade through the game before initiating the next press. When the player is done, flick the Player Select switch from Player to Dr. Nim and tap the trigger button only once.

Dr. Nim will automatically select one, two, or three balls and when done flick the Player Select switch back to Player. Human and Dr. Nim alternate turns in this manner until there is only one ball left and a loser has been determined.

20 Comments

Thank you so much for sharing this. I have wanted to have a Dr. Nim set for years, but I’ve never found one. I have never attempted 3-D printing. Can you recommend the best company and process for me to use to make my own set using your instructions? Thanks very much. Best to you. David
I added the accents with some Metalic Sharpies. They work great. The one issue I'm having is sometimes the balls want to launch themselves. One is launched and then several follow. Any advice?
You build looks great! Some people have added small weights to the trigger. There is a version of the trigger STL file on Thingiverse with a small hole added for this purpose. Small nuts or magnets seem to work well. Also make sure that the trigger itself is not rubbing against the sides of the slot. If so it can be sanded down a bit.
I got the trigger working pretty well with a counterweight. I'm just finding the weight of all the balls sliding down still tends to make several want to come down. Right now I made a little "flap" of tape to help slow the balls down and it works pretty well. I'm experimenting with printing little "bumps" to put onto the board to help slow things down better. My plan is to hopefully enclose the game in a clear plastic cover so that it is completely self contained.
Cool ideas. A clear plastic cover would be awesome.
The one issue I'm having is sometimes the balls want to launch themselves. One is launched and then several follow. Any advice?
Great project, thanks for posting it! My print seems to need a little weight added to the top part of the trigger arm to get it to want to reset itself. Does the original Dr. Nim sit at about a 30 degree angle like the mounting hinge for this one seems to want to sit at?
Thanks for sharing. You are not the first person to mention adding a little weight to the trigger. I should maybe update the instructions. The original Dr. Nim does I’m fact sit at almost exactly 30 degrees.
I was thinking about reworking the trigger in F360 and adding some mass to the trigger print on the top end. I assume that your Dr. Nim works great without adding any weight?

I just assembled my Prusa a couple of days ago and am brand new to printing. I printed the part with 20% infill. Could that be the problem, not enough mass in the top end because of the infill setting?
I'm assuming that you are using Slic3r PE with the default settings. Depending on your layer height it might not matter if the infill was 20%. At .2mm layer height and 4 or 5 top and bottom layers it will be almost 100% anyway. Mine works fine without the weight, but as I said others have had to use a weight (see the comments for my Dr. Nim post on Thingiverse: https://www.thingiverse.com/thing:3192730/comments). Also in images of the original Dr. Nim prototypes that I have seen they had weights attached as well. I'll update the instructions in the next couple of days. BTW I love the look of your build. What color filament did you use?
When I was researching Dr. Nim a while back I came across the video of the original prototype and I think that is where I saw that a weight had to be added to make the game play correctly. I then found your instructable and thought maybe I need a 3d printer...

The filament is the default silver that comes with the Prusa machines. My machine is sort of like the original Fords, you can print anything you like so long as it is in silver.
Looks like fun, but it uses "balls" NOT "ball bearings". (Just a nit I needed to pick 8^)
Fixed. Thanks. Truthfully I did not know the difference until you pointed it out. Explains why I kept seeing what I now know to be actual ball bearing in my Amazon search results. Live and Learn.
Is it capable to be enlarged?
In all honesty I'm not really sure if enlarging everything by a fixed percentage will work or not.
Fantastic!. I had one of these as a kid in the late 's. I figured how it worked and it really intrigued me- an excellent toy. One comment, I noticed that the 3d view files are mixed up- the base.stl view gives you something else etc. The downloaded files appear correct. Thanks and great work!
I just checked and you are right. This is something that Instructables generates automagically. I suspect that the name of the file has to be unique somehow. It's funny that the 3D Flip Flop showing in this project is the one from my other Think-a-Dot project. I tried changing the name in this Instructable but no effect. I'll see if I can post something to the site administrators.
3d views now fixed. I had to re-upload all the files with a unique prefix for each file name (TADN). Instructables is going to have a developer look into the issue.
Oh. my. goodness.You could SELL these!!
I've always loved Dr. Nim. It was always crazy to me as a kid that I could never win.