Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 

Repository files navigation

MAGIC

This was one of my first projects.

Test

Choose a fruit, answer some questions and the fruit in your mind is shown before you!

Mechanism

Umm....
Oh yes, this is the explanation.

So, what happens is pretty magical. It's a secret cos it's magic, okay? Don't tell anyone! Soo, the project takes input from the users as answers to the questions asked. So, the first question will be... "Is your fruit here?" "Apple, Pineapple, Mango". If you say yes, it will add a one to the code. Wait, what? I didn't mention that there's a code?? Honestly, I thought I did. So, anyway there's a code of 1's and 0's. If you say no, it will add a zero to the code. Then the code is compared to a list of pre-prepared codes for each of the fruits. Each fruit has its own unique code. The one that the user's code matches to is the correct fruit!

That's it! 😁

About

Choose a fruit, answer some questions and the fruit in your mind is shown before you!

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages