CPT Project Board Submission Plan
Week 20 Project Plan
What Portion I will use for CPT
For my CPT submission, I will use the login and signup mechanism in my group’s project. Here is an image of what the frontend looks like right now.
Code Plan
Row 1 - Program Purpose and Function
- Purpose: Allow users to log in or create an account so that they can entertain themselves by playing a matching game.
- Function: It takes in user information in order to order the highest scores in a leaderboard.
Row 2 - Data Abstraction
- Use a list to store user info.
- The data used in the list is the user’s input.
- The variables are the email, username, and password.
Row 3 - Managing Complexity
- A list that stores the users username, email, and password.
Row 4 - Procedural Abstraction
- The creation of the database, the info in the database being called to check if it matches up with the user’s input.
Row 5 - Algorithm Implementation
- The checking if information in the database match up with the user’s input.
Row 6 - Testing
- User input of their username, email, and password
- Output 1: If user exists in the database, then consule output should show them being logged in.
- Output 2: If the user doesn’t exist in the database, then a message should pop up, promting the user to make an account.
Video Plan
- User input of their username, email, and password
- If the user exists in the database, then consule output should show them being logged in.
- If the user doesn’t exist in the database, then a message should pop up, promting the user to make an account.
- Show database and api.