Last active
December 16, 2024 07:50
-
-
Save khoan/cd0811c5c0335efdfa194cd61f9e27f8 to your computer and use it in GitHub Desktop.
Tournament representation in one file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
name: "Nittaku NHTTA April 2025", | |
events: [ | |
{ name: "Open Singles", entryCode: 1, maxRating: 5000 }, | |
{ name: "Division 1 Singles", entryCode: 2, maxRating: 2000 }, | |
{ name: "Division 2 Singles", entryCode: 4, maxRating: 1700 }, | |
{ name: "Division 3 Singles", entryCode: 8, maxRating: 1200 }, | |
{ name: "Division 4 Singles", entryCode: 16, maxRating: 1000 }, | |
{ name: "Division 5 Singles", entryCode: 32, maxRating: 900 }, | |
{ name: "Division 6 Singles", entryCode: 64, maxRating: 700 } | |
], | |
players: [ | |
{ | |
rcId: 1, | |
name: "Nguyen, Ken", | |
} | |
], | |
draw: [ | |
{ | |
groups: [ | |
{ players: [0, 1, 2] } | |
], | |
knockout: { | |
round1: [ | |
{ players: ["a1"] }, | |
{ players: ["a2","b3"] } | |
], | |
round2: [ | |
{ players: ["?"] }, | |
{ players: ["?", "?"] }, | |
] | |
} | |
} | |
], | |
scores: [ | |
{ | |
groups: [ | |
{ | |
matches: [ | |
{0: [11,11,10,11], 1: [1,2,12,3]}, | |
{1: [11,11,11], 2: [3,4,5]}, | |
{2: [11,11,11], 0: [9,9,9]} | |
], | |
tally: [ | |
{matches: {won: 1, loss: 1}, games: {won: 3, loss: 4}, points: {won: 70, loss: 51}}, | |
{matches: {won: 1, loss: 1}, games: {won: 3, loss: 3}, points: {won: 51, loss: 55}}, | |
{matches: {won: 1, loss: 1}, games: {won: 3, loss: 3}, points: {won: 45, loss: 60}} | |
], | |
rank: "cab" | |
} | |
], | |
knockout: { | |
round1: [ | |
{0: [11,11,11], 1: [0,0,1], rank: "ab"}, | |
{rank: "ba"} | |
] | |
} | |
} | |
] | |
} |
Author
khoan
commented
Dec 5, 2024
•
- https://prettier.io/playground
- https://jsonsilo.com/user/dashboard
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment