Comment

Comment by whichdan

The game worked fine for me, just double check "challenge 1" since it asks for a range between "1 and 0"

A few observations:

- If you start <= 6, you will always lose, since you have to choose 1 less than the starting number.

- Whoever gets 6 on their turn will always lose.

- If you start between 7 and 11, you'll always win.

- If you start at 12 or higher, you'll usually lose, since the computer will try to get you to 6.

Still fun for a few minutes atleast. No idea how people are winning 20+ games.

parent whichdan 14 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton