My friend (I think)made up this game called 20-19. The objective is to start at 20 and be the person to say one. You take turns, being allowed to say either 1 or 2 numbers. Ex: P1: 20, 19; P2: 18, and so on. Based on how fast the people who figured out the "trick" at school, they won every time without counting it down to see who'd win. This is probably a really easy question I for some reason don't understand or am overthinking, but how do you win this game? What's the trick? Is it that you follow a pattern in your 1's and 2's, or only land on odds? I'm stumped.
Thanks!
This is very similar to NIM but much easier.
The trick is if your opponent says x, you say 3 - x. Thus each time your opponent and you take full turns the result goes down by 3.
So if you go first say 2 and the result goes from 20 => 18. Then whatever x, the other person says, you say 3 - x and the result goes from 20 => 18 => {17,16} => 15. Keep going. The end result will be that in your second to last turn the result goes to 3 and you win no matter what.
Our more completely:
P1: 20 => 18; P2: => {17, 16}; P1 => 15; P2 => {14,13}; P1 => 12; P2 => {11,10}; P1 => 9; P2 => {8, 7}; P1 => 6; P2 => {5,4}; P1 => 3; P2 => {2,1}; P1 => 0. Player 1 will always will if she follows this pattern. If she ever screws up Player 2 can take advantage and win.
Whoever makes a multiple of 3 first, can keep ending up with multiples of 3 and will win. As you start at 20, Player 1 can always take 2 and make a multiple of 3. If you started with 21 then Player 2 can always win as player 1 can't make a multiple of 3 but whatever she does Player 2 can.
======
Oops! I see it is the player who say's "1" who wins; not the player who says "0".
Oh, well. It's still the same idea. Instead of trying to land on 3k (so you can say 0) you try to land on 3k+1 (so you can say 1).
So Player 1 say "19" then player 2 says "..." and player 1 say "16" (".." "13" "..." "10" ... "7" ... "4" ... "1! I WIN!").