Tri 2 Reflection Final
Project Summary
Our CPT Project wwas a casino simulation that allowed users to bet fake digital money on the various games that we created. Our project had a focus on making the odds of winning extremely low to simulate the common losses that people have in their time at real casinos. We did this in order to educate people on the dangers of gambling and the addictive tendencies that can lead people to lose a lot of their money.
My Contributions to CPT Project
- Login & signup page code
- Fetch functions, direct user to website pages once logged in/signed up
- Styling and organization
- HTML formmating and button creation, linked to all features of website (easy accessibility)
- Background images and text/button positions on screen (clean/appealing look)
CPT Requirements
| Collegeboard Requirements | Our Project | |—————————|—————————–| | Instructions for input from one of the following: the user, a device, an online data stream, a file. | The project allows users to login or signup for an account and is authenticated when they login. They gain access to the casino simulator where each user’s money is saved by the program so they don’t lose progress. | | Use of at least one list (or other collection type) to represent a collection of data that is stored and used to manage program complexity and help fulfill the user’s purpose. | User data is collected when they sign up for a new account and is stored in the backend sqlite.db database. | | At least one procedure that contributed to the program’s intended purpose where you have defined: the name, return type, one or more parameters: | The fetch function in the login part of the program helped authenticate users by getting information from the database which allowed them to log into the casino. | | An algorithm that includes sequencing, selection, and iteration that is in the body of the selected procedure | Our login procedure authenticates users and redirects them by selecting code from the database in the backend. | | Calls to your student-developed procedure: | The amount of money that iss tracked based on each user’s spending is called from the backend repository and into the frontend. | | Instructions for output (tactile, audible, visual, or ) based on input and program functionality | The casino simulator provides output bassed on the input of money bet on the game. The different games have animations, visuals, and sounds that are output for the user. |