{"id":28327989,"url":"https://github.com/caaseey/basketball","last_synced_at":"2025-09-06T20:36:51.169Z","repository":{"id":272754299,"uuid":"917651799","full_name":"caaseey/Basketball","owner":"caaseey","description":"A Java program to manage and analyze basketball player statistics through a menu-driven interface. Perform actions like viewing player details, calculating total points, updating scores, and identifying the top scorer. Demonstrates OOP concepts, ArrayLists, and dynamic data handling.","archived":false,"fork":false,"pushed_at":"2025-01-16T11:58:53.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T12:57:49.832Z","etag":null,"topics":["arraylist","basketball","interactive-menu","java","oop","player-statistics"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caaseey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-01-16T11:52:11.000Z","updated_at":"2025-01-16T11:58:54.000Z","dependencies_parsed_at":"2025-01-16T13:11:30.868Z","dependency_job_id":"0a53d190-e36f-4396-b044-c2536e0b56d1","html_url":"https://github.com/caaseey/Basketball","commit_stats":null,"previous_names":["caaseey/basketball"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/caaseey/Basketball","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caaseey%2FBasketball","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caaseey%2FBasketball/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caaseey%2FBasketball/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caaseey%2FBasketball/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caaseey","download_url":"https://codeload.github.com/caaseey/Basketball/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caaseey%2FBasketball/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273960214,"owners_count":25198356,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["arraylist","basketball","interactive-menu","java","oop","player-statistics"],"created_at":"2025-05-26T04:22:47.232Z","updated_at":"2025-09-06T20:36:51.157Z","avatar_url":"https://github.com/caaseey.png","language":"Java","readme":"# Basketball Player Statistics Management\n\n## Overview\nThis Java application allows users to manage and analyze basketball player statistics through a menu-driven interface. The program demonstrates key object-oriented programming concepts and provides a dynamic way to interact with player data.\n\n## Features\n- **View Player Details**: Retrieve information such as name, age, jersey number, and total points scored.\n- **Calculate Total Points**: Display the total points scored by a player over the last 5 games.\n- **Update Player Scores**: Add or update points scored by a player in specific games.\n- **Find Top Scorer**: Identify the player with the highest total points.\n\n## Usage\n1. Clone this repository:\n   ```bash\n   git clone https://github.com/caaseey/Basketball\n   ```\n2. Open the project in an IDE (e.g., NetBeans, IntelliJ IDEA).\n3. Run the `AppLiga` class to start the program.\n4. Follow the on-screen menu to interact with player data.\n\n## Menu Options\n- **[1] Consult Player**: Enter a player name to view their details.\n- **[2] Total Points**: Enter a player name to see their total points scored.\n- **[3] Add Player Points**: Update the points for a specific game by entering the game position (0-4).\n- **[4] Top Scorer**: Display the player with the highest total points.\n- **[0] Exit**: Quit the program.\n\n## Code Structure\n- **`AppLiga`**: Main class containing the menu and user interaction logic.\n- **`Jugador`**: Player class that encapsulates attributes like name, age, jersey number, and scores. Includes methods for calculating total points and updating scores.\n\n## Example Players\nThe program includes the following predefined players:\n- LeBron James\n- Stephen Curry\n- Giannis Antetokounmpo\n\nYou can add more players by editing the `AppLiga` class.\n\n## Requirements\n- **Java Development Kit (JDK)** 8 or higher.\n\n## Example Output\n```\n[1] Consult Player\n[2] Total Points\n[3] Add Player Points\n[4] Top Scorer\n[0] Exit\nOption: 1\nEnter player name: Stephen Curry\nPlayer: Stephen Curry, Age: 35, Jersey: 30, Total Points: 215\n```\n\n## Author\n- **Casey Cleto Belen**\n\n## License\nThis project is licensed under the MIT License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaaseey%2Fbasketball","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaaseey%2Fbasketball","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaaseey%2Fbasketball/lists"}