final tri 2 • 10 min read

Description

Final tri 2

GROUP -Ishan

Our project is mainly focused around something everyone in my group enjoys, video games. Video games was something we could all agree on and something we enjoy playing regularly. Even though we all love video games there should only be a certain amount you should play a day, and thats why we made this project. Our project focuses on putting games right next to education and physical hubs so they are easy to access and motivate our users to while enjoying the game to do other things. Our project has features that help and give you tips on physical health and help studying and finding out what level of education you are at, while also letting the users relax and play games.

Individual Feature

My feature was the score and leaderboard features. I had to connect the score in the frontend to the backend and make a leaderboard that compared the scores. I also added the login and create user pages that were displayed on the second quiz. I edited the CSS for both the Login and Cookie Clicker.

Collegeboard Requirements

s Instructions for input from one of the following: the user, a device, an online datas stream, a file.

  • My feature signs you in as a user and takes in the value of their score and connects to that 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.

  • My feature takes a list of score values and connects each to a user. It also sorts the JSON that is being fetched by the leaderboard and sorting it by the descending score values. image

  • At least one procedure that contirubted to the program’s intended purpose where you have defined: the name, return type, one or more parameters: The put method requires the user id and returns updated data

s

  • An algorithm that includes sequencing, selection, and iteration that is in the body of the selected procedure The data has is iterated through before it is returned in order to properly order the data by the score value given to each user. s

  • Calls to your student-developed procedure: s

  • Instructions for output (tactile, audible, visual, or ) based on input and program functionality This is the code that puts the data. It returns to the user based on their user id. The payload is shown below

s

s

Video

input to program: the cookie button updating score in SQlite database. At least one aspect of the functionality of your program: The leaderboard displaying the correct numbers and rearangging No more than 1 minute in length No more than 30MB in file size

video

Personal Growth

  • Overrall I feel like I was able to complete a lot what I aimed to do at the end of last tri. Last tri I was a mainly frontend person and this tri I was the first person in our group to begin working on and understanding the backend. I was able to help our whole group begin setting up their backends. This tri I felt I was a lot more consistent with commits. I was able to get the login system working as well as getting most of the cookie clicking up. I have learned a lot about debugging, sqlite and the importance of downloading PyJWT. I learned the importane of keeping logs of everything I do as well as backups of old code.

this was the most important single line of code I added as it updated the backend to return a sorted list. most important

this was the most important commit as it updated the backend to have score commit

commits

PyJWT

cors

debugging plans