There are $n$ bowling pins arranged from left to right, numbered from $1$ to $n$ in the order they are standing. Two people throw bowling balls and hit them in turn. Each time they hit a pin, they knock over that pin, and its two adjacent pins. (If you hit pin number $x$, then pins $x$, $x-1$ and $x+1$ will fall, if they had not fallen earlier). The player who hits the last pin wins. Who can win?
For example, if you hit pin 3, and pins 2 and 4 are all standing, you will knock down pins 2, 3, and 4. If you hit the 3th pin, but only the 3rd and 4th pin is standing, you will knock down the 3rd and 4th pins. If you hit pin 3, and the 4th and 2nd pins are not standing, you will only knock down pin 3.
I guess when $n\ge 4$, if $n$ is an odd number, the first hand can hit the middle three, and then mirror the operation of the second hand, and the first hand will win. If n is even, it seems a little complicated?
Here's a simple Python script to calculate the nim-value of this game (i.e., the size of the equivalent Nim heap) for each starting number of pins. The precise rule I'm using is that you can knock down 2 or 3 pins from the end of a row, or any adjacent 3 from the middle.
Running this script shows the periodicity to be $34$, and that the second player wins when the initial number of pins is sufficiently large and is equal to $4$, $8$, $20$, $24$, or $28$ (mod $34$). In fact "sufficiently large" isn't that large... the only deviations from this rule are $N=14$ and $N=34$, which are also second-player wins.