CPT Project Overview
Our CPT project is a video geam website that allows users to select from multiple fun games to play and enjoy. Certain games are free to play while others need the user to create and account for. I specifically made the users feature and I would like to highlight the modify function that includes favorites which changes user data.
Component A - Program CodeCollege Board Requirements | Response |
---|---|
Instructions for input from one of the following: the user, a device, an online datas stream, a file. | My part of the project takes text input from the user and assigns information regarding personal information to the user. |
Use of at least one list (or other collection type) to represent a collectino of data that is stored and used to manage program complexity and help fulfill the users purpose. | The backend I created stores the information about the users preffered/faorite game on our website so their profile can be personalized to the liking. The backend uses and SQLite database that passes inputs and outputs using JSON. |
At least one procedure that contirubted to the program’s intened purpose where you have defined: the name, return type, one or more parameters: | This function is named update, takes the parameters self, name, uid, password, and favorite and returns the updated user information |
An algorithm that includes sequencing, selection, and iteration that is in the body of the selected procedure | This algorithm shows sequencing, selestion, and iteration by checking a list of gameData to check and render the game if it corressponds to the user preferance data |
Calls to your student-developed prodcedure: | |
Instructions for output (tactile, audible, visual, or ) based on input and program functionality | This code renders the preferred game using the game ID which was fetched from the backend and was stored and set by the user. |
Collegboard Requirements | My Video |
---|---|
Input to program | Seen in video, entering game ID in text format |
At least one aspect of the functionality of your program | The favorite game editor that changes user data |
Output produced by program: | The favorite game being added and displayed in the favorites page |
My video does not have: | any distinguishing information and voice narration |
My video is | a .webmb, less than 1 minute in length, less than 30MB in file size. |