875e9c879514c40b1433c8f97d1e0fe67994d4cc
Refs #17 Adds a 'Rematch' button to the game completion modal. Introduces a 'handleRematch' function in 'App.jsx' to create a new game with the same players and settings as the previous game. The 'onRematch' handler is passed down to the 'GameCompletionModal' component. Adds '.gitea' to '.gitignore' to prevent tracking local issue context.
Initialize Astro project structure and clean up legacy files\n\n- Added Astro project scaffolding and configuration:\n - .gitignore, .gitmodules, .vscode/extensions.json, .vscode/launch.json\n - astro.config.mjs, package.json, package-lock.json, tsconfig.json\n - public/favicon.svg, src/pages/index.astro\n- Added .cursor as a submodule (note: unstaged changes remain)\n- Removed legacy files from previous project setup:\n - LICENSE, TODO.md, favicon.ico, icon-192.png, icon-512.png, index.html, manifest.json, service-worker.js\n- Establishes a clean foundation for new development using Astro\n\nRefs #1
BSC Score
A modern, responsive web application for tracking billiards scores. Built with vanilla JavaScript and designed for mobile-first usage.
Features
- Track scores for different billiards game types (8-Ball, 9-Ball, 10-Ball, 14/1)
- Support for "Race to X" games
- Real-time score tracking
- Game history with active and completed games
- Player name history and quick selection
- Mobile-optimized touch interface
- Offline support with local storage
- Dark theme design
Usage
- Open
index.htmlin your web browser - Create a new game by clicking "Neues Spiel"
- Select or enter player names
- Choose game type and optional "Race to X" setting
- Use the score buttons to track points during the game
- Complete the game when finished
- View game history and filter by status
Development
The application is built using:
- Vanilla JavaScript (ES6+)
- HTML5
- CSS3
- LocalStorage for data persistence
No build process or dependencies required. Simply clone the repository and open index.html in a web browser.
Project Structure
The project consists of the following key files:
index.html: Main application file containing HTML, CSS, and JavaScriptREADME.md: Project documentation and setup instructionsLICENSE: GNU GPLv3 license textTODO.md: Roadmap and planned features
Features in Detail
Core Features
- Score tracking for multiple billiards game types
- Player name history with quick selection
- Game status management (active/completed)
- Local storage for offline functionality
- Mobile-optimized interface
User Interface
- Dark theme design
- Touch-friendly controls
- Responsive layout
- Game type selection
- Player name management
Data Management
- Local storage persistence
- Game history tracking
- Player name history
- Status filtering
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Roadmap
See TODO.md for a list of proposed features and known issues.
License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Description
A modern, responsive web application for tracking billiards scores. Built with vanilla JavaScript and designed for mobile-first usage.
Languages
HTML
71.6%
TypeScript
21.8%
CSS
6%
Astro
0.5%
JavaScript
0.1%