## Welcome to BrainDen.com - Brain Teasers Forum

 Welcome to BrainDen.com - Brain Teasers Forum. Like most online communities you must register to post in our community, but don't worry this is a simple free process. To be a part of BrainDen Forums you may create a new account or sign in if you already have an account. As a member you could start new topics, reply to others, subscribe to topics/forums to get automatic updates, get your own profile and make new friends. Of course, you can also enjoy our collection of amazing optical illusions and cool math games. If you like our site, you may support us by simply clicking Google "+1" or Facebook "Like" buttons at the top. If you have a website, we would appreciate a little link to BrainDen. Thanks and enjoy the Den :-)
Guest Message by DevFuse

# The Game of Nim

3 replies to this topic

### #1 phil1882

phil1882

Senior Member

• Members
• 557 posts

Posted 20 September 2012 - 02:21 AM

not sure if it's been posted before but this is an interesting little puzzle.
the game of nim has very basic rules.
you start off with a pile of pennies, and separate them into several usually uneven stacks.
(they don't have to be uneven, but for the most part are.)
you can take as many pennies as you desire form any particular stack.
you cannot however take from more than 1 stack. and you must always take at least 1 penny.
the object of the game is to leave your opponent with only 1 penny left. whoever takes the last penny loses.
can you come up with a general winning strategy?
• 0

### #2 phil1882

phil1882

Senior Member

• Members
• 557 posts

Posted 28 September 2012 - 01:00 AM

it's been several days and it looks like no one is gonna attempt this so i'll just post the solution.
Spoiler for

• 0

### #3 Yoruichi-san

Yoruichi-san

"That Woman"

• Members
• 3395 posts
• Gender:Not Telling
• Location:Outside the box

Posted 28 September 2012 - 06:59 PM

It's an interesting game, but I think a lot of people already knew the general strategy, hence it would of seemed unfair to answer and ruin the fun for everyone else. *shrugs*
• 0
Women are definitely stronger. We are [Fe]males, after all...

Some of what makes me me is real, some of what makes me me is imaginary...I guess I'm just complex. ;P

<3 BBC's Sherlock, the series and the man. "Smart is the new sexy."

Chromatic Witch links now on my 'About Me' page! Episode 3 is finally here!

When life hands me lemons, I make invisible ink.

### #4 Pickett

Pickett

Senior Member

• Members
• 545 posts
• Gender:Male
• Location:40°N 83°W +/-10'

Posted 28 September 2012 - 07:50 PM

It's an interesting game, but I think a lot of people already knew the general strategy, hence it would of seemed unfair to answer and ruin the fun for everyone else. *shrugs*

Agreed...my dad used to frustrate me as a kid playing this game...because he would always end up winning. I finally figured out the strategy after a little while, except I didn't know anything about logical operators or anything like that...I just learned states that would work and ones that didn't. Finally, in high school, I revisited the game and figured out the logical/mathematical strategy to win. It is a great game to play with people that don't know the strategy, though :c)

Edited by Pickett, 28 September 2012 - 07:51 PM.

• 0

#### 0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users