Live data from Hacker News

Show HN: An Open Source Number Game

zachschnell.com

11–20 of 34 posts

Re: Show HN: An Open Source Number Game

#14

Getting a sum of 21 the first time gets you a score, and the second time (since you've already used that sum) it gets you a loss. I think it should make you lose the first time! Also, cool game thanks for sharing.

The rules seem to be that it checks if it's an available multiple of 7 first and then if it's invalid. I initially thought the rules would work the way you have described, but if that was the case, would all multiples of 7 and 3 be off limits?

Re: Show HN: An Open Source Number Game

#15
post #14

Getting a sum of 21 the first time gets you a score, and the second time (since you've already used that sum) it gets you a loss. I think it should make you lose the first time! Also, cool game thanks for sharing.

The rules seem to be that it checks if it's an available multiple of 7 first and then if it's invalid. I initially thought the rules would work the way you have described, but if that was the case, would all multiples of 7 and 3 be off limits?

That's how it initially was. But I have now made it so that, as you say, it first checks to see if it's a multiple of 7. If it's a multiple of both 7 and 3 (regardless of whether or not you have played it before), then you will no longer be penalized.

Re: Show HN: An Open Source Number Game

#18
post #15
post #14

Earlier quoted context omitted.

The rules seem to be that it checks if it's an available multiple of 7 first and then if it's invalid. I initially thought the rules would work the way you have described, but if that was the case, would all multiples of 7 and 3 be off limits?

That's how it initially was. But I have now made it so that, as you say, it first checks to see if it's a multiple of 7. If it's a multiple of both 7 and 3 (regardless of whether or not you have played it before), then you will no longer be penalized.

I think I understand why you decided to do that, but it might be worth an explanation modification. I tested my understanding of the rules by trying 21, and was surprised. Not that it's a big deal!

Re: Show HN: An Open Source Number Game

#19
I would recommend removing "7" from the board at all. The easiest opening move is to just start clicking all the 7s (since that guarantees you all multiples of 7 until you run out of 7s).

This strategy requires 0-thinking and is a bit tedious. If the board has no 7's on it, you're required to add from the get-go.

EDIT: Also, very fun little game. Thanks for sharing!

Post reply on HN