Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
SwePalm
/
golf-stat-tracker
like
0
Running
App
Files
Files
xet
Community
main
golf-stat-tracker
50.1 kB
1 contributor
History:
3 commits
SwePalm
undefined - Follow Up Deployment
097ed24
verified
4 months ago
.gitattributes
Safe
1.52 kB
initial commit
4 months ago
README.md
Safe
218 Bytes
Golf Stat Tracker Web App Requirements 1. Application Goal Develop a single-page web application for tracking golf statistics per hole, per round. The app should allow users to input data for each hole played and visualize trends over time. 2. Core Functionality 2.1. Round Registration Users must be able to register a new golf round with the following information: Course Name: Text input (e.g., "Pebble Beach Golf Links"). Date Played: Date input (e.g., "2025-06-18"). 2.2. Hole-by-Hole Stat Entry For each hole played in a registered round, users must be able to input the following statistics: Bad Tee Shot: Checkbox (Yes/No). If "Yes," then require text input for Club Used (e.g., "Driver," "3-wood") and radio button selection for Direction (Left/Right). Penalty Strokes: Number input (e.g., 0, 1, 2). Missed Green from Inside 120m: Checkbox (Yes/No). If "Yes," then require number input for Distance (e.g., "75" meters) and text input for Club Used (e.g., "PW," "9-iron"). Green Save (if Missed Green): Checkbox (Yes/No). This input should only be enabled if "Missed Green from Inside 120m" is "Yes." Three Putt (if Green in Regulation - GIR): Checkbox (Yes/No). This input should only be enabled if "Missed Green from Inside 120m" is "No" (implying a GIR). 2.3. Round Overview The application should display an overview table of all registered rounds, including: Course Name Date Played Total Score (This will need to be calculated based on inputting the actual score for each hole, which isn't explicitly listed above, so the AI might need to infer this or you might need to add it later. For now, let's assume 'Total Score' is a sum of strokes which will be entered implicitly with penalties, or you'll add a 'Strokes for Hole' field later). 2.4. Round Detail View Upon selecting a round from the overview, users should be able to view all the detailed statistics entered for each hole within that specific round. 2.5. Trend Visualization Users must be able to select individual statistics (e.g., "Bad Tee Shot percentage," "Average Penalty Strokes per round," "Green Save percentage") and view a trend over time. This could be a simple line graph or bar chart. 3. User Interface (UI) Considerations The application should be a single-page interface, potentially with different sections or views accessible via navigation. The design should be clean and intuitive for data entry and visualization. 4. Technical Considerations (Optional, but good for AI) The application should be a web app (HTML, CSS, JavaScript). Data persistence is required (e.g., local storage, or a simple embedded database if the AI can manage it, to save rounds between sessions). - Initial Deployment
4 months ago
index.html
Safe
48 kB
Golf Stat Tracker Web App Requirements 1. Application Goal Develop a single-page web application for tracking golf statistics per hole, per round. The app should allow users to input data for each hole played and visualize trends over time. 2. Core Functionality 2.1. Round Registration Users must be able to register a new golf round with the following information: Course Name: Text input (e.g., "Pebble Beach Golf Links"). Date Played: Date input (e.g., "2025-06-18"). 2.2. Hole-by-Hole Stat Entry For each hole played in a registered round, users must be able to input the following statistics: Bad Tee Shot: Checkbox (Yes/No). If "Yes," then require text input for Club Used (e.g., "Driver," "3-wood") and radio button selection for Direction (Left/Right). Penalty Strokes: Number input (e.g., 0, 1, 2). Missed Green from Inside 120m: Checkbox (Yes/No). If "Yes," then require number input for Distance (e.g., "75" meters) and text input for Club Used (e.g., "PW," "9-iron"). Green Save (if Missed Green): Checkbox (Yes/No). This input should only be enabled if "Missed Green from Inside 120m" is "Yes." Three Putt (if Green in Regulation - GIR): Checkbox (Yes/No). This input should only be enabled if "Missed Green from Inside 120m" is "No" (implying a GIR). 2.3. Round Overview The application should display an overview table of all registered rounds, including: Course Name Date Played Total Score (This will need to be calculated based on inputting the actual score for each hole, which isn't explicitly listed above, so the AI might need to infer this or you might need to add it later. For now, let's assume 'Total Score' is a sum of strokes which will be entered implicitly with penalties, or you'll add a 'Strokes for Hole' field later). 2.4. Round Detail View Upon selecting a round from the overview, users should be able to view all the detailed statistics entered for each hole within that specific round. 2.5. Trend Visualization Users must be able to select individual statistics (e.g., "Bad Tee Shot percentage," "Average Penalty Strokes per round," "Green Save percentage") and view a trend over time. This could be a simple line graph or bar chart. 3. User Interface (UI) Considerations The application should be a single-page interface, potentially with different sections or views accessible via navigation. The design should be clean and intuitive for data entry and visualization. 4. Technical Considerations (Optional, but good for AI) The application should be a web app (HTML, CSS, JavaScript). Data persistence is required (e.g., local storage, or a simple embedded database if the AI can manage it, to save rounds between sessions). - Initial Deployment
4 months ago
style.css
Safe
388 Bytes
initial commit
4 months ago