Giter Site home page Giter Site logo

tennis's Introduction

Tennis Roster Generator

Running the generator

Online

The latest public version is hosted on ValHook's GitHub.

Locally

To use it locally, you will need to serve it. All the logic runs in the browser; there is no backend.

The easiest way is to serve the site is by executing the following from the project's root directory:

python3 -m http.server

You can then visit your locally served website at http://localhost:8000.

Compiling

Dependencies

For Google APIs, used for exporting Google Sheets, you will need to pull in the following dependencies through npm:

npm install --save bootstrap @types/bootstrap @types/gapi @types/gapi.auth2 @types/gapi.client.sheets-v4

For compiling, you will need Typescript and a linter. To install them through npm, execute:

npm install -g typescript prettier

Writing changes

Write your changes in ts/ and compile them by executing:

./ts/compile.sh

While doesn't matter which directory you execute the shell script from, note that this script for Mac and Linux only. Windows users may want to use WSL.

This regenerates the ts/generated directory which the index.html page is configured to load.

tennis's People

Contributors

pflammertsma avatar valhook avatar

Watchers

 avatar

Forkers

pflammertsma

tennis's Issues

Human-readable UI

The JSON output is great, but if you just want to follow the roster on the court, a human-readable version would be nice.

Export to Google Sheets

Awesome that it generates machine readable JSON, but allowing it to export to Google Sheets would make it convenient in use.

Allow editing of rosters

Sometimes you make a mistake when entering values. It would be nice to be able to adjust the inputs after creating a roster.

Preferential matching based on skill level

Sometimes you end up playing singles against a really good player, or doubles where it's unbalanced in terms of skill level. Perhaps optimale, players can have a skill level value to optimize pairing?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.