>>> HOW DID THIS PROJECT GUESS YOUR NUMBER? <<< >>> SIMPLE INSTRUCTIONS (no explanation of concept) <<< There are 5 cards. Start with an empty variable (aka its value is 0). If you answer yes to the first card, add 1 to the variable. If you answer yes to the second card, add 2 to the variable. If you answer yes to the third card, add 4 to the variable. If you answer yes to the fourth card, add 8 to the variable. If you answer yes to the fifth card, add 16 to the variable. If you answer no to any of the cards, then don't add its respective number. In the end, the variable should be the number you're thinking of. >>> COMPLEX INSTRUCTIONS (explanation of concept) <<< First of all, do you know binary? "No, what is it?" Binary is an infinite numerical language made of 0's and 1's. Every number can be written in binary. Check the costumes tab for a diagram. Look at https://en.wikipedia.org/wiki/Binary_number if it's still unclear! "Yup, I understand it! How does it relate to this project?" There are 5 cards. The first card represents the rightmost digit; ANY binary number that has a value from 0 to 31 with a 1 in the rightmost digit is written on that first card. The second card represents the second card on the right; the third represents the third digit, and so on. That being said, if you say "yes" to any of the cards, the value of the digit that the card represents is part of your answer! EXAMPLE: Let's say my number is 5. In binary, it's 00101 or 101. That means that I'll say "yes" to the first and third card (it works when you count the digits in binary from right to left). That means the answer will be equal to 1 + 4, which is 5! I hope this helps! If it's unclear, try visiting binary websites, rereading this, or asking me how it works :)
Thanks to violet_raven for the original project ※ i will guess your number.