{"id":18099396,"url":"https://github.com/hendrizzzz/os-midterm-group-project","last_synced_at":"2026-04-20T06:08:39.265Z","repository":{"id":260123997,"uuid":"865732107","full_name":"Hendrizzzz/OS-Midterm-Group-Project","owner":"Hendrizzzz","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-29T14:50:05.000Z","size":176,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T10:33:32.094Z","etag":null,"topics":["bash","bash-scripting"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hendrizzzz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-01T03:16:39.000Z","updated_at":"2024-10-29T14:50:09.000Z","dependencies_parsed_at":"2024-10-29T18:00:52.242Z","dependency_job_id":null,"html_url":"https://github.com/Hendrizzzz/OS-Midterm-Group-Project","commit_stats":null,"previous_names":["hendrizzzz/os-midterm-group-project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hendrizzzz%2FOS-Midterm-Group-Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hendrizzzz%2FOS-Midterm-Group-Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hendrizzzz%2FOS-Midterm-Group-Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hendrizzzz%2FOS-Midterm-Group-Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hendrizzzz","download_url":"https://codeload.github.com/Hendrizzzz/OS-Midterm-Group-Project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247435026,"owners_count":20938530,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","bash-scripting"],"created_at":"2024-10-31T21:08:28.787Z","updated_at":"2025-10-14T08:37:34.345Z","avatar_url":"https://github.com/Hendrizzzz.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DBA (Database Basketball Association) Management System\n\nThis is a Bash scripting project that manages a fictional basketball league called the DBA (Database Basketball Association). It includes player statistics, team standings, MVP records, championship history, and more. The project uses various shell scripts to handle operations such as logging games, adding/removing players, and displaying statistics.\n\n---\n\n## Table of Contents\n- [File Structure](#file-structure)\n- [Menu Options](#menu-options)\n- [Database Files](#database-files)\n- [Script Files](#script-files)\n\n---\n\n## File Structure\n\n### Database Files\n- **`current_year.txt`**: Stores the current year for the app.\n- **`players.csv`**: Contains data for 311 players across 8 teams, including their stats from 2020 to 2024 (current season).\n- **`champions.csv`**: Stores championship records, including the winning team, runner-up, and Finals MVP.\n- **`teams.csv`**: Keeps track of the win-loss records for all teams from 2020 to 2024.\n- **`mvps.csv`**: Records past MVPs, used for storing MVP data after each season.\n\n### Script Files\nThe following Bash scripts are located in the scripts package:\n- **`active_or_retired.sh`**: Lists active and retired players.\n- **`add_player.sh`**: Adds a new player to the database.\n- **`assists_or_apg_leaders.sh`**: Displays leaders in assists or assists per game.\n- **`champions.sh`**: Shows a list of past champions.\n- **`current_standings.sh`**: Displays current team standings.\n- **`delete_player.sh`**: Deletes a player from the database.\n- **`get_current_year.sh`**: Retrieves the current year from `current_year.txt`.\n- **`log_a_game.sh`**: Logs a game to update team and player stats.\n- **`main.sh`**: Main script that runs the DBA menu.\n- **`mvp_ladder.sh`**: Displays the current MVP ladder.\n- **`mvp_rating_calculator.sh`**: Calculates MVP ratings for players.\n- **`mvps.sh`**: Shows a list of past MVPs.\n- **`points_or_ppg_leaders.sh`**: Displays leaders in points or points per game.\n- **`rebounds_or_rpg_leaders.sh`**: Displays leaders in rebounds or rebounds per game.\n- **`retire_player.sh`**: Retires a player.\n- **`search_player.sh`**: Searches for a player in the database.\n- **`view_games_this_season.sh`**: Views all games logged in the current season.\n\n---\n\n## Menu Options\n\nThe main menu provides various options to interact with the DBA system:\n\n1. **Log a Game**: Log details of a game to update team and player statistics.\n2. **Add Player**: Add a new player to the database.\n3. **Delete Player**: Remove a player from the database.\n4. **Retire Player**: Mark a player as retired.\n5. **Team Standings**: View the current win-loss standings of all teams.\n6. **MVP Ladder**: Display the current MVP standings.\n7. **Points/PPG Leaders**: Show leaders in points or points per game.\n8. **Assists/APG Leaders**: Show leaders in assists or assists per game.\n9. **Rebounds/RPG Leaders**: Show leaders in rebounds or rebounds per game.\n10. **Champions**: Display past championship records.\n11. **MVPs**: Display a list of past MVPs.\n12. **Search a Player**: Search for a player and view their stats.\n13. **View Games**: View all games recorded in the current season.\n14. **Active/Retired Players**: List players who are either active or retired.\n15. **Exit**: Exit the DBA system.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhendrizzzz%2Fos-midterm-group-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhendrizzzz%2Fos-midterm-group-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhendrizzzz%2Fos-midterm-group-project/lists"}