Git Product home page Git Product logo

ice-hockey-assignment's People

Contributors

avkid019 avatar clemmy avatar mkhowaja avatar pavanjakhu avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

pavanjakhu

ice-hockey-assignment's Issues

Fields to delete

remove both soGoals and avg so Goals in forward/defense, then add short hand goals
rewrite all per season variables
removed avg power play goals per game
remove number of penalties

clemmy's planning

run playerload in coachload to store a temp palyer
then temp.length * number of lines per player

consider renaming br if bugs occur

  1. loadPlayers -> use flags
  2. loadCoaches -> try {read}, catch {null pointer}, finally set boolean endofFile
  3. declare br in main, send in as parameters (Done) Needs Testing

todo: players needs to skip lines in the beginning

team = methods.loadTeam("H:\Mustaqeem\Grade 12\Computer Science\Resources\file.txt"); (On my USB, Change accordingly)
league.addTeam(team);
will there be a referencing error

methods to make

-save everything
-loadplayers
-loadcoaches
-promptCoaches
-promptPlayers

To Do

prompt forward/defense..
Fix structure of program so its one text file
If someone has time, move the prompting, loading and saving to the class method

To Do:

Comment
Debug
-> convert strings/integers to proper data types when loading/saving/prompting
-> updating calculated fields in all the prompts (ex. conference/division in team is not accounted for in the constructors even though instance methods are created)

-> rename prompts

FUNCTIONS:
-> sort players by the specified field (string/double methods)
-> order players by rating
-> rank teams by rating (mean of player ratings)
->cost efficiency (rating/salary)

update methods in constructors

-> updating calculated fields in all the constructors (ex. conference/division in team is not accounted for in the constructors even though instance methods are created)

//actually, I'm reading over your addTeam() right now
Head hurts from it. .___.
Are there only 2 conferences?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.