8945b99782e3e3189990547e38a20517922fe6eb
Shows a red pill below the team rows when a PP is active, displaying the team on the power play and a ticking countdown. PP clock always resyncs from the API (no local anchoring) since 2-minute penalties are short enough that accuracy matters throughout. Removed the old inline PP text from team rows. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
NHL Scoreboard Web App
This web application displays live NHL game scores, team statistics, and game states in real-time. It retrieves data from the NHL API and presents it in a user-friendly interface.
Features
- Displays live NHL game scores.
- Sorts games based on priority to highlight the most exciting matchups.
- Responsive design for desktop and mobile devices.
Technologies Used
- Python: Backend scripting language.
- Flask: Web framework for Python.
- HTML/CSS: Frontend markup and styling.
- JavaScript: Client-side scripting for auto-refresh functionality.
Installation
-
Clone the repository:
git clone https://github.com/your-username/nhl-scoreboard.git -
Install dependencies:
pip install -r requirements.txt -
Run the application:
python run.py -
Open your web browser and navigate to
http://localhost:2897to view the scoreboard.
Usage
- The scoreboard will display live NHL game scores, team statistics, and game states.
- Games are sorted based on priority to highlight the most exciting matchups.
- The page updates automatically every 10 seconds to show the latest data.
- Responsive design ensures a seamless experience on desktop and mobile devices.
Credits
Special thanks to the NHL for providing the data through their API.
License
This project is licensed under the MIT License.
Description
Languages
Python
79.5%
JavaScript
11.1%
CSS
7.2%
HTML
1.7%
Dockerfile
0.5%