nttb-support
Version:
A repository containing javascript functions to support NTTB application development
129 lines (116 loc) • 4.21 kB
text/typescript
import { Match } from './match'
import { RoundRobinPool } from './round-robin-pool';
// Short hand to create a new Match
function M(home: number, away: number): Match {
return new Match(home, away);
}
export const RoundRobinPool_3_Players: RoundRobinPool = {
matches: [
[],
[],
[],
]
};
export const RoundRobinPool_4_Players: RoundRobinPool = {
matches: [
[],
[],
[],
]
};
export const RoundRobinPool_5_Players: RoundRobinPool = {
matches: [
[],
[],
[],
[],
[],
]
};
export const RoundRobinPool_6_Players: RoundRobinPool = {
matches: [
[],
[],
[],
[],
[],
]
};
export const RoundRobinPool_7_Players: RoundRobinPool = {
matches: [
[], // 1
[], // 2
[], // 3
[], // 4
[], // 5
[], // 6
[], // 7
]
};
export const RoundRobinPool_8_Players: RoundRobinPool = {
matches: [
[], // 1
[], // 2
[], // 3
[], // 4
[], // 5
[], // 6
[], // 7
]
};
export const RoundRobinPool_9_Players: RoundRobinPool = {
matches: [
[], // 1
[], // 2
[], // 3
[], // 4
[], // 5
[], // 6
[], // 7
[], // 8
[], // 9
]
};
export const RoundRobinPool_10_Players: RoundRobinPool = {
matches: [
[], // 1
[], // 2
[], // 3
[], // 4
[], // 5
[], // 6
[], // 7
[], // 8
[], // 9
]
};
export const RoundRobinPool_11_Players: RoundRobinPool = {
matches: [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
],
};
export const RoundRobinPool_12_Players: RoundRobinPool = {
matches: [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
]
};