- Notifications
You must be signed in to change notification settings - Fork0
Simple app for creating tennis doubles matches that works offline
walkowl/tennis-match-manager
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Tennis Match Manager is a web application designed to help you organize and manage tennis matches efficiently.
- Player Selection: Easily select players for matches from a predefined list or add new players.
- Match Creation: Automatically generate matches based on selected players, ensuring balanced teams.
- Fairness Tracking: Implemented a system to ensure fairness in match creation by tracking player participation and pairings. This system aims to balance player involvement across matches.
- Clear Tracking Data: A new feature that allows users to clear match fairness tracking data. This action resets all match history, providing a fresh start for tracking future matches.
- Session Management: Start new sessions to reset player selections and match history.
To get started with Tennis Match Manager, follow these steps:
- Clone the repository:
git clone https://github.com/your-repo/tennis-match-manager.git
Tennis Match Manager is a Progressive Web App (PWA), which means you can install it on your Android or iOS device forquick and easy access. Here's how:
- Open the Tennis Match Manager in your Chrome browser.
- Tap the menu icon (three dots) in the top right corner of the browser.
- Tap "Add to Home screen."
- You'll be prompted to name the shortcut before tapping the "Add" button.
- The app icon will now appear on your home screen, and you can use it like any other app.
- Open the Tennis Match Manager in your Safari browser.
- Tap the share icon (the square with an arrow pointing out) at the bottom of the screen.
- Scroll down and tap "Add to Home Screen."
- You'll be prompted to name the shortcut before tapping the "Add" button.
- The app icon will now appear on your home screen, and you can use it like any other app.
After installing the Tennis Match Manager on your device, simply tap the icon to launch the application. From there, youcan start selecting players, creating matches, and managing your tennis sessions with ease. The intuitive interfacemakes it simple to navigate through the features, ensuring a smooth and efficient experience for organizing your tennismatches.
The application supports dynamically loading a list of predefined players from an external URL. This feature isparticularly useful for initializing the application with a custom set of players without hardcoding them into theapplication or revealing sensitive information.
To use this feature, you can provide the following URL parameters when accessing your application:
players_url
: Specifies the URL from which to fetch the list of players. Each player should be listed on a new line.overwrite_players
: A boolean value (true
orfalse
) that determines whether the fetched list of players shouldoverwrite any existing list stored in the application's local storage.Example usage:http://yourapplication.com/?players_url=https://example.com/path/to/players.txt&overwrite_players=true
Fetching from an external URL may lead to CORS policy issues. If the server doesn't include CORS headers, consider usinga CORS proxy or configuring the server to include these headers. For development, a CORS proxylikehttps://corsproxy.io/
can be used by prepending it to theplayers_url
.Important: Ensure secure data handling, especially when using third-party CORS proxies. Prefer HTTPS to protect datain transit.
To use a CORS proxy (for examplehttps://corsproxy.io/), prepend the proxy's URL to yourplayers_url
parameter:http://yourapplication.com/?players_url=https://corsproxy.io/?https%3A%2F%2Fpastebin.com%2Fraw%2FTNfcHCVUA2&overwrite_players=true
Important: Be mindful of the security and privacy implications when using a third-party CORS proxy. Ensure that theproxy is reliable and does not log or misuse the data passing through it.
About
Simple app for creating tennis doubles matches that works offline