CSA-Tri-2 / DEA-project

0 stars 0 forks source link

Dec 1 Crossover Review #2

Open DavidVasilev1 opened 12 months ago

DavidVasilev1 commented 12 months ago

Frontend: https://dea-frontend.vercel.app/pages/fibonacci.html

Backend: https://dea.stu.nighthawkcodingsociety.com/

Fibonacci

Fibonacci - Backend

We use inheritance and abstraction shown in the code below:

image

image

Fibonacci - Frontend

image

Sorting

We first create a file to handle all of the animations that will be sent to the frontend. We use inheritance for the various animation classes and sort classes.

image

We then send the variables inputted by the user from the frontend as private variables, sending it into each sort class.

image

Merge Sort - Backend

This is how the backend handles merge sort, logging each step in the merge sort to send to the frontend to show the sorting.

image

image

Insertion Sort - Backend

This is how the insertion sort is currently logged, however there is still some things that need to be changed.

image

image

This is an output that is from the backend server:

image

Sorting - Frontend

This is how we would display the frontend animation with the data in the backend. We render the animation frame by frame and then we edit the divisions shown.

image

image

image

Similar methods will be implemented for the other sorts and they will be displayed in a similar way.

Key Commits

David - Insertion Sort

My key commit is creating the insertion sort algorithm in Java.

image

Ethan - Fibonacci and Bubble Sort

My key commit is the Fibonacci methods in the backend

Screen Shot 2023-12-01 at 9 30 52 AM

JishnuS420 commented 12 months ago

Team JDK (Jishnu, Derrick, Kaiden)

Glows: