Hendrizzzz / OS-Midterm-Group-Project

MIT License
0 stars 0 forks source link

DBA Feature 6 : Points / PPG Leaders #14

Open Hendrizzzz opened 2 weeks ago

Hendrizzzz commented 2 weeks ago

Display (Improve UI)

1. Points leaders this season
2. PPG leaders this season
3. Points all-time leaders
4. PPG all-time leaders

Sample Output

then if 1 is chosen (they should be aligned)

Rank  Player                    Team                      Position        Total Points  
1     Nikola Jokić             Denver Nuggets       Center              1,200        
2     Stephen Curry            Golden State Warriors      Point Guard         1,180        
3     Giannis Antetokounmpo    Milwaukee Bucks           Forward             1,150        
4     Luka Dončić              Dallas Mavericks          Guard               1,130        
5     Joel Embiid              Philadelphia 76ers        Center              1,120        
6     Kevin Durant             Phoenix Suns              Forward             1,100        
7     Jayson Tatum             Boston Celtics            Forward             1,080        
8     Kawhi Leonard            Los Angeles Clippers       Forward             1,050        
9     Donovan Mitchell         Cleveland Cavaliers       Guard               1,030        
10    Devin Booker             Phoenix Suns              Guard               1,020      

if 2 is chosen (should be aligned, and should be 10)

Rank  Player                    Team                      Position        PPG  
1     Stephen Curry            Golden State Warriors      Point Guard         29.0  
2     Nikola Jokić             Denver Nuggets            Center              28.5  
3     Giannis Antetokounmpo    Milwaukee Bucks           Forward             27.3  
4     Luka Dončić              Dallas Mavericks          Guard               26.8  
5     Jayson Tatum             Boston Celtics            Forward             26.4  

if 3 is chosen (should be aligned)

Rank  Player                     Team                      Position        Total Points  
1     Kareem Abdul-Jabbar       Milwaukee Bucks           Center              38,387        
2     Karl Malone               Utah Jazz                 Power Forward       36,928        
3     LeBron James              Los Angeles Lakers        Forward             38,000        
4     Kobe Bryant               Los Angeles Lakers        Guard               33,643        
5     Michael Jordan            Chicago Bulls             Guard               32,292        
6     Dirk Nowitzki             Dallas Mavericks          Forward             31,560        
7     Bill Russell              Boston Celtics            Center              21,620        
8     Wilt Chamberlain          Philadelphia/San Francisco Warriors  Center   31,419        
9     Kevin Durant              Brooklyn Nets             Forward             27,000        
10    Oscar Robertson           Cincinnati Royals         Guard               26,710 

if 4 (should be aligned)

Rank  Player                     Team                      Position        PPG  
1     Michael Jordan            Chicago Bulls             Guard               30.1  
2     Wilt Chamberlain          Philadelphia/San Francisco Warriors  Center  31.4  
3     Kareem Abdul-Jabbar       Milwaukee Bucks           Center              24.6  
4     Elgin Baylor              Los Angeles Lakers        Forward             27.4  
5     Oscar Robertson           Cincinnati Royals         Guard               25.7  
6     Jerry West                Los Angeles Lakers        Guard               27.0  
7     Kevin Durant              Brooklyn Nets             Forward             27.0  
8     LeBron James              Los Angeles Lakers        Forward             27.0  
9     Karl Malone               Utah Jazz                 Power Forward      25.0  
10    Bill Russell              Boston Celtics            Center              22.5