By-weekly Challenge 2: I'm making a number guessing game based on the elements of The Periodic Table
- You will meet Clyde.
- Clyde will introduce himself. And interact with you.
- Afterwards, Clyde will pick a number from 1 - 118.
a. He picked an element on the Periodic Table. - You will have to guess that numberhe picked.
- Clyde will tell you whether your number was too big or too small.
- However, just because Clyde is a robot doesn't mean he has all day.
- Clyde has feelings too and he gets tired too.
- After 59 tries, Clyde will stop you and tell you the answer.
- Clyde also has a point system and will give you a score at the end of the game based on your performance
My project here has a ton of folders and files, so I need to explay what you need in order to be able to run the Code.
- Do't pay attention to
.replit
file. That file tells Repl.it what to do when I press the "Run" Button. - Pay Attention to the
PythonFiles
folder because it is where I stored all my important Python Files. - Once you get there, you will see another folder titled
__pycache__
. I don't know what the point of that folder is. - I assume that the folder was added by Repl.it when I transfered my repository there.
- Anyways, nothing there is important to me... All you have to pay attention are the three files below it
- Those being...
a.main.py
: Which is where the front of my progrom is. You have to run this file not the others.
b.Reponces.py
: This is where I stored all the functionality of the Code. Where the game was set up, and it contains the code that runs Clyde
c.Elem.py
: This is where I stored all the Elements of the Periodic table, and their information.