mkhowaja / ice-hockey-assignment Goto Github PK
View Code? Open in Web Editor NEWSabermetrics, except for hockey
Sabermetrics, except for hockey
calculate pointPS in coach object
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
run playerload in coachload to store a temp palyer
then temp.length * number of lines per player
consider renaming br if bugs occur
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
How many fields are calculated and how many fields are prompted for? (in prompt method in class Forward)
-save everything
-loadplayers
-loadcoaches
-promptCoaches
-promptPlayers
Like, after we display sorted list, ask if they wanna save. :D
working sorts:
->1-7
9, 14
37
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
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)
-> 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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.