From a8da2b71bc9f726d8d8afaf917739fa0c799d80c Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Mon, 7 Jun 2021 21:06:27 +0200 Subject: [PATCH] add rounds --- rounds/2021-04-26-round-01.json | 50 +++++++++++++++++++++++ rounds/2021-04-26-round-02.json | 50 +++++++++++++++++++++++ rounds/2021-04-26-round-03.json | 50 +++++++++++++++++++++++ rounds/2021-05-24-round-01.json | 71 ++++++++++++++++++++++++++++++++ rounds/2021-05-31-round-01.json | 72 +++++++++++++++++++++++++++++++++ rounds/2021-05-31-round-02.json | 72 +++++++++++++++++++++++++++++++++ rounds/2021-05-31-round-03.json | 71 ++++++++++++++++++++++++++++++++ rounds/2021-06-07-round-01.json | 50 +++++++++++++++++++++++ rounds/all.sh | 7 ++++ rounds/data | 13 ++++++ rounds/gen.py | 44 ++++++++++++++++++++ 11 files changed, 550 insertions(+) create mode 100644 rounds/2021-04-26-round-01.json create mode 100644 rounds/2021-04-26-round-02.json create mode 100644 rounds/2021-04-26-round-03.json create mode 100644 rounds/2021-05-24-round-01.json create mode 100644 rounds/2021-05-31-round-01.json create mode 100644 rounds/2021-05-31-round-02.json create mode 100644 rounds/2021-05-31-round-03.json create mode 100644 rounds/2021-06-07-round-01.json create mode 100644 rounds/all.sh create mode 100644 rounds/data create mode 100755 rounds/gen.py diff --git a/rounds/2021-04-26-round-01.json b/rounds/2021-04-26-round-01.json new file mode 100644 index 0000000..28441fe --- /dev/null +++ b/rounds/2021-04-26-round-01.json @@ -0,0 +1,50 @@ +{ + "map": "SR", + "winner-side": "1", + "winners": [ + { + "playerId": "Phirop", + "isFake": false + }, + { + "playerId": "xXxMarethyuxXx", + "isFake": false + }, + { + "playerId": "iTrash", + "isFake": false + }, + { + "playerId": "JuckF Bierhuhn", + "isFake": false + }, + { + "playerId": "ENTAC", + "isFake": false + } + ], + "losers": [ + { + "playerId": "TryhardYordle", + "isFake": false + }, + { + "playerId": "ChessGM lbfxd", + "isFake": false + }, + { + "playerId": "TheSlapstick", + "isFake": false + }, + { + "playerId": "Vyne", + "isFake": false + }, + { + "playerId": "ESE Felix", + "isFake": false + } + ], + "duration": 1456, + "startTime": "2021-04-25T22:00+02:00" +} diff --git a/rounds/2021-04-26-round-02.json b/rounds/2021-04-26-round-02.json new file mode 100644 index 0000000..eb85be7 --- /dev/null +++ b/rounds/2021-04-26-round-02.json @@ -0,0 +1,50 @@ +{ + "map": "SR", + "winner-side": "0", + "winners": [ + { + "playerId": "ESE Felix", + "isFake": false + }, + { + "playerId": "Vyne", + "isFake": false + }, + { + "playerId": "ESE Kniveless", + "isFake": false + }, + { + "playerId": "JuckF Bierhuhn", + "isFake": false + }, + { + "playerId": "ENTAC", + "isFake": false + } + ], + "losers": [ + { + "playerId": "TryhardYordle", + "isFake": false + }, + { + "playerId": "TheSlapstick", + "isFake": false + }, + { + "playerId": "xXxMarethyuxXx", + "isFake": false + }, + { + "playerId": "ChessGM lbfxd", + "isFake": false + }, + { + "playerId": "Phirop", + "isFake": false + } + ], + "duration": 1932, + "startTime": "2021-04-25T21:00+02:00" +} diff --git a/rounds/2021-04-26-round-03.json b/rounds/2021-04-26-round-03.json new file mode 100644 index 0000000..3e627c9 --- /dev/null +++ b/rounds/2021-04-26-round-03.json @@ -0,0 +1,50 @@ +{ + "map": "SR", + "winner-side": "1", + "winners": [ + { + "playerId": "Phirop", + "isFake": false + }, + { + "playerId": "Vyne", + "isFake": false + }, + { + "playerId": "ESE Felix", + "isFake": false + }, + { + "playerId": "ChessGM lbfxd", + "isFake": false + }, + { + "playerId": "TheSlapstick", + "isFake": false + } + ], + "losers": [ + { + "playerId": "ENTAC", + "isFake": false + }, + { + "playerId": "xXxMarethyuxXx", + "isFake": false + }, + { + "playerId": "ESE Kniveless", + "isFake": false + }, + { + "playerId": "JuckF Bierhuhn", + "isFake": false + }, + { + "playerId": "TryhardYordle", + "isFake": false + } + ], + "duration": 2017, + "startTime": "2021-04-25T20:00+02:00" +} diff --git a/rounds/2021-05-24-round-01.json b/rounds/2021-05-24-round-01.json new file mode 100644 index 0000000..1261e04 --- /dev/null +++ b/rounds/2021-05-24-round-01.json @@ -0,0 +1,71 @@ +{ + "map" : "SR", + "winner-side" : 1, + "winners" : [ + { + "playerId" : "TryhardYordle", + "playerName" : "TryhardYordle", + "isFake" : false, + "activeTime" : 1971 + }, + { + "playerId" : "ESE Schmohi", + "playerName" : "ESE Schmohi", + "isFake" : false, + "activeTime" : 1971 + }, + { + "playerId" : "Area 522", + "playerName" : "Area 522", + "isFake" : false, + "activeTime" : 1971 + }, + { + "playerId" : "iTrash", + "playerName" : "iTrash", + "isFake" : false, + "activeTime" : 1971 + }, + { + "playerId" : "Téa Jay", + "playerName" : "Téa Jay", + "isFake" : false, + "activeTime" : 1971 + } + + ], + "losers" : [ + { + "playerId" : "Phirop", + "playerName" : "Phirop", + "isFake" : false, + "activeTime" : 1971 + }, + { + "playerId" : "ENTAC", + "playerName" : "ENTAC", + "isFake" : false, + "activeTime" : 1971 + }, + { + "playerId" : "BoringBookCover", + "playerName" : "BoringBookCover", + "isFake" : false, + "activeTime" : 1971 + }, + { + "playerId" : "ESE Litzuck", + "playerName" : "ESE Litzuck", + "isFake" : false, + "activeTime" : 1971 + }, + { + "playerId" : "ESE MarsUltor", + "playerName" : "ESE MarsUltor", + "isFake" : false, + "activeTime" : 1971 + } + ], + "duration" : 1971, + "startTime" : "2021-05-24T20:00+02:00" +} diff --git a/rounds/2021-05-31-round-01.json b/rounds/2021-05-31-round-01.json new file mode 100644 index 0000000..b3e9bbe --- /dev/null +++ b/rounds/2021-05-31-round-01.json @@ -0,0 +1,72 @@ +{ + "map" : "SR", + "winner-side" : 0, + "winners" : [ + { + "playerId" : "Vyne", + "playerName" : "Vyne", + "isFake" : false, + "activeTime" : 1927 + }, + { + "playerId" : "ESE Kniveless", + "playerName" : "ESE Kniveless", + "isFake" : false, + "activeTime" : 1927 + }, + { + "playerId" : "ESE Vinnie", + "playerName" : "ESE Vinnie", + "isFake" : false, + "activeTime" : 1927 + }, + { + "playerId" : "ESE Litzuck", + "playerName" : "ESE Litzuck", + "isFake" : false, + "activeTime" : 1927 + }, + { + "playerId" : "ESE MarsUltor", + "playerName" : "ESE MarsUltor", + "isFake" : false, + "activeTime" : 1927 + } + + ], + "losers" : [ + { + "playerId" : "ESE Schmohi", + "playerName" : "ESE Schmohi", + "isFake" : false, + "activeTime" : 1927 + }, + { + "playerId" : "ESE Nemesis", + "playerName" : "ESE Nemesis", + "isFake" : false, + "activeTime" : 1927 + }, + { + "playerId" : "ENTAC", + "playerName" : "ENTAC", + "isFake" : false, + "activeTime" : 1927 + }, + { + "playerId" : "Area 522", + "playerName" : "Area 552", + "isFake" : false, + "activeTime" : 1927 + }, + { + "playerId" : "Subsidiary", + "playerName" : "Subsidiary", + "isFake" : false, + "activeTime" : 1927 + } + + ], + "duration" : 1927, + "startTime" : "2021-05-31T20:00+02:00" +} diff --git a/rounds/2021-05-31-round-02.json b/rounds/2021-05-31-round-02.json new file mode 100644 index 0000000..3c626a1 --- /dev/null +++ b/rounds/2021-05-31-round-02.json @@ -0,0 +1,72 @@ +{ + "map" : "SR", + "winner-side" : 1, + "winners" : [ + { + "playerId" : "Vyne", + "playerName" : "Vyne", + "isFake" : false, + "activeTime" : 1864 + }, + { + "playerId" : "ESE Kniveless", + "playerName" : "ESE Kniveless", + "isFake" : false, + "activeTime" : 1864 + }, + { + "playerId" : "ESE Vinnie", + "playerName" : "ESE Vinnie", + "isFake" : false, + "activeTime" : 1864 + }, + { + "playerId" : "ESE Litzuck", + "playerName" : "ESE Litzuck", + "isFake" : false, + "activeTime" : 1864 + }, + { + "playerId" : "ESE MarsUltor", + "playerName" : "ESE MarsUltor", + "isFake" : false, + "activeTime" : 1864 + } + + ], + "losers" : [ + { + "playerId" : "Muchlove the One", + "playerName" : "Muchlove the One", + "isFake" : false, + "activeTime" : 1864 + }, + { + "playerId" : "ESE Nemesis", + "playerName" : "ESE Nemesis", + "isFake" : false, + "activeTime" : 1864 + }, + { + "playerId" : "ENTAC", + "playerName" : "ENTAC", + "isFake" : false, + "activeTime" : 1864 + }, + { + "playerId" : "Area 522", + "playerName" : "Area 552", + "isFake" : false, + "activeTime" : 1864 + }, + { + "playerId" : "Subsidiary", + "playerName" : "Subsidiary", + "isFake" : false, + "activeTime" : 1864 + } + + ], + "duration" : 1864, + "startTime" : "2021-05-31T21:00+02:00" +} diff --git a/rounds/2021-05-31-round-03.json b/rounds/2021-05-31-round-03.json new file mode 100644 index 0000000..f65ee1e --- /dev/null +++ b/rounds/2021-05-31-round-03.json @@ -0,0 +1,71 @@ +{ + "map" : "SR", + "winner-side" : 0, + "winners" : [ + { + "playerId" : "Vyne", + "playerName" : "Vyne", + "isFake" : false, + "activeTime" : 1450 + }, + { + "playerId" : "ESE Kniveless", + "playerName" : "ESE Kniveless", + "isFake" : false, + "activeTime" : 1450 + }, + { + "playerId" : "Muchlove the One", + "playerName" : "Muchlove the One", + "isFake" : false, + "activeTime" : 1450 + }, + { + "playerId" : "ESE Litzuck", + "playerName" : "ESE Litzuck", + "isFake" : false, + "activeTime" : 1450 + }, + { + "playerId" : "ENTAC", + "playerName" : "ENTAC", + "isFake" : false, + "activeTime" : 1450 + } + ], + "losers" : [ + { + "playerId" : "ESE MarsUltor", + "playerName" : "ESE MarsUltor", + "isFake" : false, + "activeTime" : 1450 + }, + { + "playerId" : "ESE Nemesis", + "playerName" : "ESE Nemesis", + "isFake" : false, + "activeTime" : 1450 + }, + { + "playerId" : "Area 522", + "playerName" : "Area 552", + "isFake" : false, + "activeTime" : 1450 + }, + { + "playerId" : "Takki", + "playerName" : "Takki", + "isFake" : false, + "activeTime" : 1450 + }, + { + "playerId" : "ESE Vinnie", + "playerName" : "ESE Vinnie", + "isFake" : false, + "activeTime" : 1450 + } + + ], + "duration" : 1450, + "startTime" : "2021-05-31T23:00+02:00" +} diff --git a/rounds/2021-06-07-round-01.json b/rounds/2021-06-07-round-01.json new file mode 100644 index 0000000..256d948 --- /dev/null +++ b/rounds/2021-06-07-round-01.json @@ -0,0 +1,50 @@ +{ + "map": "SR", + "winner-side": "0", + "winners": [ + { + "playerId": "Phirop", + "isFake": false + }, + { + "playerId": "ENTAC", + "isFake": false + }, + { + "playerId": "Victor Lustig", + "isFake": false + }, + { + "playerId": "TSo", + "isFake": false + }, + { + "playerId": "ESE MarsUltor", + "isFake": false + } + ], + "losers": [ + { + "playerId": "Téa Jay", + "isFake": false + }, + { + "playerId": "Heinz sama", + "isFake": false + }, + { + "playerId": "Area 522", + "isFake": false + }, + { + "playerId": "Byndeskanzler", + "isFake": false + }, + { + "playerId": "ESE Schmohi", + "isFake": false + } + ], + "duration": 2019, + "startTime": "2021-06-07T20:00+02:00" +} diff --git a/rounds/all.sh b/rounds/all.sh new file mode 100644 index 0000000..3bc2841 --- /dev/null +++ b/rounds/all.sh @@ -0,0 +1,7 @@ +curl -X POST -H "Content-Type: application/json" -d @2021-04-26-round-01.json http://localhost:10010/submitt-round +curl -X POST -H "Content-Type: application/json" -d @2021-04-26-round-02.json http://localhost:10010/submitt-round +curl -X POST -H "Content-Type: application/json" -d @2021-04-26-round-03.json http://localhost:10010/submitt-round +curl -X POST -H "Content-Type: application/json" -d @2021-05-24-round-01.json http://localhost:10010/submitt-round +curl -X POST -H "Content-Type: application/json" -d @2021-05-31-round-01.json http://localhost:10010/submitt-round +curl -X POST -H "Content-Type: application/json" -d @2021-05-31-round-02.json http://localhost:10010/submitt-round +curl -X POST -H "Content-Type: application/json" -d @2021-05-31-round-03.json http://localhost:10010/submitt-round diff --git a/rounds/data b/rounds/data new file mode 100644 index 0000000..531974f --- /dev/null +++ b/rounds/data @@ -0,0 +1,13 @@ +1 +24:16 +TryhardYordle +ChessGM lbfxd +TheSlapstick +Vyne +ESE Felix +Phirop +xXxMarethyuxXx +iTrash +JuckF Bierhuhn +ENTAC +2021-04-25T22:00+02:00 diff --git a/rounds/gen.py b/rounds/gen.py new file mode 100755 index 0000000..f2ed5fe --- /dev/null +++ b/rounds/gen.py @@ -0,0 +1,44 @@ +#!/usr/bin/python3 + +winnerside = input("Winnerseide (0/1 , 0=bue, 1=red): ") +duration = input("Duration: ") +duration = int(duration.split(":")[0])*60+int(duration.split(":")[1]) + +print("Blue Team") +blueTeam = [] +for i in range(5): + pname = input("Name: ") + p = dict() + p.update({"playerId" : pname}) + p.update({"isFake" : False}) + blueTeam += [p] + +print("Red Team") +redTeam = [] +for i in range(5): + pname = input("Name: ") + p = dict() + p.update({"playerId" : pname}) + p.update({"isFake" : False}) + redTeam += [p] + +if winnerside == 0: + winners = blueTeam + losers = redTeam +else: + winners = redTeam + losers = blueTeam + +startTime = input("Start Time: ") + +retDict = {} +retDict.update({ "map" : "SR" }) +retDict.update({ "winner-side" : winnerside }) +retDict.update({ "winners" : winners}) +retDict.update({ "losers" : losers}) +retDict.update({ "duration" : duration }) +retDict.update({ "startTime" : startTime}) + +import json +print() +print(json.dumps(retDict, indent=4, sort_keys=False))