Discuss Scratch

cs11467
Scratcher
95 posts

Wordle, but with numbers.

A while back, I had an idea for a game show. There would be a number and you'd be given clues as to its identity, and you'd have to guess what the number was. Then I realized that was basically Wordle but with numbers.

So I made this instead.

https://scratch.mit.edu/projects/984988223/

You're given eight tries (to prevent brute-forcing, it has to be less than 10) to guess a number between 3 and 16 digits long (you choose the length of the number at the start), and every incorrect guess reveals the digits that were correct, if any, as well as an additional clue. To start you off, you get three clues: the ones-place digit, whether or not the number is prime, and the number's digital root (that is, if you were to add all the digits together, look at the sum, add all the digits of that sum together, etc, etc, etc, until you only had a one digit number left, that would be the digital root)

Some of the clues, however, seem a bit… opaque. I've been trying to have clues that are both easy to understand and scale well to larger numbers, but I fear that I have accomplished neither of these. If you have any suggestions for clues, feel free to send them my way! Also, fair warning: Any clue that relies on a number's factors tends to be very slow, so please be patient.

The clues I currently have can be sorted into two categories: Booleans and Numerical.

Clues that are Boolean:
1. Is it prime? (guaranteed first Boolean clue; mutually exclusive with Boolean clues 5, 6, and number clues 4, 11)
2. Is it part of the Fibonacci sequence?
3. Are all of its digits in increasing order? (mutually exclusive with clue 4)
4. Are all of its digits in decreasing order? (mutually exclusive with clue 3)
5. Is it a perfect square? (mutually exclusive with clue 1)
6. Is it the power of a prime? (mutually exclusive with clue 1)
7. Can you make an equilateral triangle with this many balls?
8. Is it an evil number? (mutually exclusive with clue 9)
9. Is it an odious number? (mutually exclusive with clue 8)
10. Is it a palindrome?
11. Does it contain (a certain digit)? (this digit can never be the ones-place digit)

Clues that are a number:
1. What is its digital root? (guaranteed first numerical clue)
2. How many unique digits does it have?
3. What is the number modulo 6?
4. What is the smallest prime number to be a factor of the number? (mutually exclusive with Boolean clue 1)
5. What is the lowest digit contained in the number?
6. What is the highest digit contained in the number?
7. What is the average of all the digits in the number? (rounded to the nearest integer)
8. How many of its digits are odd? (mutually exclusive with clue 9)
9. How many of its digits are even? (mutually exclusive with clue 8)
10. How many copies of the ones-place digit exist in the number?
11. How many factors does the number have? (mutually exclusive with Boolean clue 1)
12. Is the number abundant, deficient or perfect, and if one of the former two, by how much?

Another challenge is that, while a word is restricted by its language's orthography, phonotactics, graphotactics, etc., a number can literally be anything and everything.

Last edited by cs11467 (March 28, 2024 06:27:57)

cs11467
Scratcher
95 posts

Wordle, but with numbers.

One clue I had considered adding, only for five-digit numbers, was “If the number were a postal code, what state is the city it would represent in?”, but I'm not sure how to do that without just making a list of every single postal code in the entire world, which would be unwieldy.

Powered by DjangoBB