gigtieup / quinnbireley7

Apache License 2.0
0 stars 1 forks source link

[fastpages] Automated Upgrade #13

Open gigtieup opened 1 year ago

gigtieup commented 1 year ago

Week 21 Individual Progress

On the game section of our website there is an option for how many shares of a certain stock you would like to purchase (the input), the program will then multiply the stock price by the imputed value and give the product of the equation as the amount spent (output).

Here is the code-

Screenshot 2023-02-06 114950

Data Abstraction & Managing Complexity
On the section of the website referred to as the “game” the output to the code above will be stored in a list and when called upon will subtract the stored (listed) values from your wallet (your cash holdings). The same information will be pulled to display a visual of your earning report when the game is finished playing. Here is the code- Screenshot 2023-02-06 115303
Procedural Abstraction
The values that were stored in the list above will be pulled and added to the players/users wallet (cash holdings) to display a new cash holding price (output) Here is the code- Screenshot 2023-02-06 115501

5.3/5.4 Notes