Magic Number
About
Experience the thrill of the unknown with our Magic Number game! Think of a number and answer a series of yes or no questions to reveal you're correct number in just a short time. This game is exciting and it will blow your mind.
This is made in C programming and maybe I can make this as a project in the future.
You can see my C code in Github Gist:
https://gist.github.com/Dalmanski/d2691558f9ff4f5fdfd07ad4c6e76aa9
If the EXE and APK don't work, the First is to download the C Compiler, DevC++ for PC, and CxxDroid for Android. After that, you can copy my code on Github Gist on this Link and paste it on your C Compiler. Maybe it doesn't work on Online C Compiler because of a lack of header and code.Released on January,28,2023 on GitHub.
Update: 01/28/23:> New interaction that automatically chooses a number from 1 to 31 if your input is 0 or a letter.
> If you do not press enter after the introduction, it will say "I told you to press Enter."
> If your answer is not 'yes' or 'no,' it will automatically be interpreted as 'no'.
> You can try again by inputting 't' while answering yes or no.
01/29/23:> Reformatted, correcting grammatical errors and adjusting tabs.
> Added a function to determine the number of digits.
> Replaced the use of \t with a for loop for adding spacing based on the number of digits in the last number.
> Changed the introduction set-up from repeating yes or no to choosing a number from 1 to...?
01/30/23:> Reformatted, Like changing "rep2 = geoseq + rep2" to "rep2 += geoseq."
> Adjusted the column of the number generation based on the number of digits in the last number.
> Added a header #include
> Added a system to ask if you would like to extend the range or change it. For example, if you input 28, it will ask if you want to extend it to 1 to 31 or keep it 1 to 28 or change it.
> Added an end text if your answer to 'yes' or 'no' is not found on the number, then the number detected is above the current number.
> Adjusted the 4 columns again for numbers 31 and below.
Some updates have not been announced yet. You can view my revisions on Github Gist.