Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 2.75 KB

README.md

File metadata and controls

38 lines (27 loc) · 2.75 KB

CSC207ProjectNBA

-- PETER NOTES -- I have added the leaderboard use-case which is accessable from the "Menu" view. Currently it uses dummy functions to score players, and calculate their placements. If we would like to change the way we organize files, it is very easy to just move files around.

I based my implementation on the Week5CA assignment, so note the following:

I added seemingly pointless void methods for CommonUser and CommonUserFactory, as well as their interfaces. I just added them in so that I could run main without issues. (The original implementation of week5ca required users to have creation time, etc). I also edited the FileUserDataAccess object to include these interfaces. All of these changes are temporary, and whoever is working on Login/Signup use case will need to do a complete overhaul of these files.

Omar pointed out that we needed a distinction between the main menu and sign up pages so, for clarification: The "Menu" Use case is the first page users see when opening the application. It has the leaderboard, as well as a signup and login button. (We haven't implemented a login button yet, but whoever is doing the login/signup use case will work on this).

The "Sign-up" view is the view users get after deciding they want to create their own account in the application. (I haven't messed with this view).

The "LoggedinView" Will be the view users get after logging in. This view will have the options for users to compare teams, check leaderboard, choose teams, etc. I haven't touched this use case, so it will be the same as the week5ca loggedinview. Whoever is working on login/signup will need to do an overhaul on this view, and we will all need to edit this view as we add in our use cases (as users will access most usecases through this view)>

If we have issues with the names of these views/use-cases, we can refactor them quite easily.

-- OMAR NOTES -- Continuing what Peter was talking about:

  1. Basically for your use case, you will make a directory, inside the use_case directory, having the name of your use case. It will contain basically everything that defines a use case (including a view and everything associated with it), but without worrying about the DataAccess object/database. If you need something, define it using an interface. All that stuff will be defined relatively soon though.
  2. Regarding the views: You will have to make your own view (not in terms of coding it alone). We will have a LoggedInView (see in code) that will have a button for each of the usecases that will simply switch the ActiveView to the view of your usecase. Basically, for the most part, you do not need to know how the other views look like.
  3. Currently there is a non-nested view folder. It has just a few general files that are important for all views.