BrainDen.com - Brain Teasers
• 0

## Question

I've been playing some brain game and i've seen this one "The Game of Marienbad" ,where there's a traingle

like figure formed from sticks above each other (( 1-3-5-7 )) .you and "M" will have turns to pick as many

sticks as u wish ,but from a single row.and the loser is the one to pick the last .

So i was wondering ,what is the best strategy to use if you begin first or second.

## 4 answers to this question

• 0
Molly Mae    101

I've been playing some brain game and i've seen this one "The Game of Marienbad" ,where there's a traingle

like figure formed from sticks above each other (( 1-3-5-7 )) .you and "M" will have turns to pick as many

sticks as u wish ,but from a single row.and the loser is the one to pick the last .

So i was wondering ,what is the best strategy to use if you begin first or second.

This is the misere version of Nim. The winning strategy is for a player to always leave an odd total number of 1's, 2's, and 4's. This variation is arranged in such a way that whoever plays first will lose.

##### Share on other sites
• 0

For this version of the the game

second.

The game in question is called NIM, there is another popular flash version called Pearls Before Swine.

The algorithm I have always used is to convert each row to a binary number and then add the columns. Each column must add to an even number for you to win.

int the 1-3-5-7 configuration they use in this version the columns start adding to an even number. so I went second and kept taking away the appropriate amount to make the binary columns add to an even amount and won..

##### Share on other sites
• 0
Guest

the two above posters got it; how about something more challenging?

```
/_\

/_\ /_\

/_\ /_\ /_\

```

you can pick up sticks along any of the three main lines. the goal is the same, force your opponent to pick up the last one.

what's the optimal strategy?

Edited by phillip1882

##### Share on other sites
• 0
Guest

sorry, hope this makes it more clear.

## Create an account

Register a new account