JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 15
  • Score
    100M100P100Q35801F
  • License MIT

Base class for a tournament of tournaments

Package Exports

  • tourney

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tourney) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Tourney

Build Status Dependency Status experimental

This module provides a base class for tournament types that is built up of several fixed size tournaments.

The underlying tournaments are assumed to inherit from tournament.

Implementions:

Specifics

Tourney extend all match ids from a sub tournament with t and p tags; t is the tourney stage, and p is the parallel segment. The idea is that all the matches with the same t can be played simultaneously, but each stage can consist of multiple disjoint tournament segments.

Usage

Inherit from the exported class, or find implementations that do what you want. For more details read this source, or the source of implementations listed above. This module is still quite fresh.

Installation

For specific tournament usage, install the modules you want:

$ npm install groupstage-tb duel --save

To use these on in the browser, bundle it up with browserify

$ npm dedupe
$ browserify -r groupstage-tb -r duel > bundle.js

Running tests

Install development dependencies

$ npm install

Run the tests

$ npm test

License

MIT-Licensed. See LICENSE file for details.