Unverified Commit 9cd97100 authored by Tom Wiesing's avatar Tom Wiesing
Browse files

Add Kalah WS2021 Data

parent 178004fc
# Kalah WS2021 Raw Data
This repository contains data about the Kalah Tournament.
Each round is contained in a separate file, the first round in `round1-4-4.json`, the second round in `round2-5-5.json` etc.
The first number indicates the round, the second number indicates the number of houses, the third number the number of seeds.
The fields contained within should be self-explanatory, but here it is nonetheless:
```ts
/* RoundJSON is what a single json file looks like */
interface RoundJSON {
/* the individual matches that took place during this round */
Matches: Array<Match>;
/* the resulting scores for this round, ordered from highest to lowest score */
Table: Array<Placement>;
}
/* Match represents a single match between two players that took place */
interface Match {
/* the name of the first player */
Player1: string;
/* the name of the second player */
Player2: string;
/* "Events" that took place during this match, see below */
Events: Array<MatchEvent>;
/* the winner of this match, "" if it resulted in a tie */
Winner: string;
/* the scores at the end of this match */
Final: MatchEvent;
/* additional output produced during this match, mostly exceptions */
ExtraLines: Array<string>;
}
/* MatchEvent represents an event that took place during a match */
interface MatchEvent {
/* the round number right before this event occured */
Round: number;
/* the score of Player1 right before this event occured */
Player1Score: number;
/* the score of Player2 right before this event occured */
Player2Score: number;
/* human-readable description of this event */
Event: string;
}
/* Placement represents a placement within the result table */
interface Placement {
/* name of the player */
Name: string;
/* points this player got */
Points: number;
/* Place this player got */
Place: number;
}
```
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{
"Matches": [
{
"Player1": "Agent007 (class \"Agent007\")",
"Player2": "BennoPaulJaro",
"Events": [
{
"Round": 24,
"Player1Score": 90,
"Player2Score": 60,
"Event": "Agent007 (class \"Agent007\") wins! 140:60"
}
],
"Winner": "Agent007 (class \"Agent007\")",
"Final": {
"Round": 24,
"Player1Score": 140,
"Player2Score": 60,
"Event": ""
},
"ExtraLines": []
},
{
"Player1": "BennoPaulJaro",
"Player2": "Agent007 (class \"Agent007\")",
"Events": [
{
"Round": 30,
"Player1Score": 98,
"Player2Score": 81,
"Event": "BennoPaulJaro wins early"
},
{
"Round": 31,
"Player1Score": 101,
"Player2Score": 81,
"Event": "BennoPaulJaro wins! 101:99"
}
],
"Winner": "Agent007 (class \"Agent007\")",
"Final": {
"Round": 31,
"Player1Score": 101,
"Player2Score": 99,
"Event": ""
},
"ExtraLines": []
}
],
"Table": [
{
"Name": "Agent007 (class \"Agent007\")",
"Points": 40,
"Place": 1
},
{
"Name": "BennoPaulJaro",
"Points": 0,
"Place": 2
}
]
}
\ No newline at end of file
{
"Matches": [
{
"Player1": "Ultrainstincts",
"Player2": "Agent007 (class \"Agent007\")",
"Events": [
{
"Round": 64,
"Player1Score": 237,
"Player2Score": 231,
"Event": "Ultrainstincts wins! 249:231"
}
],
"Winner": "Ultrainstincts",
"Final": {
"Round": 64,
"Player1Score": 249,
"Player2Score": 231,
"Event": ""
},
"ExtraLines": []
},
{
"Player1": "Agent007 (class \"Agent007\")",
"Player2": "Ultrainstincts",
"Events": [
{
"Round": 53,
"Player1Score": 204,
"Player2Score": 239,
"Event": "Illegal move by Ultrainstincts: -1"
},
{
"Round": 59,
"Player1Score": 219,
"Player2Score": 240,
"Event": "Ultrainstincts wins early"
},
{
"Round": 60,
"Player1Score": 219,
"Player2Score": 241,
"Event": "Ultrainstincts wins! 230:241"
}
],
"Winner": "Ultrainstincts",
"Final": {
"Round": 60,
"Player1Score": 230,
"Player2Score": 241,
"Event": ""
},
"ExtraLines": [
"Exception in thread \"Thread-461\" java.lang.NullPointerException",
"\tat info.kwarc.teaching.AI.Kalah.WS2021.agents.Ultrainstincts.alphaBetaSearch(Ultrainstincts.java:92)",
"\tat info.kwarc.teaching.AI.Kalah.WS2021.agents.Ultrainstincts.move(Ultrainstincts.java:73)",
"\tat info.kwarc.teaching.AI.Kalah.util.AgentThread.run(AgentAction.java:96)",
"\tat java.base/java.lang.Thread.run(Thread.java:834)"
]
}
],
"Table": [
{
"Name": "Ultrainstincts",
"Points": 48,
"Place": 1
},
{
"Name": "Agent007 (class \"Agent007\")",
"Points": 0,
"Place": 2
}
]
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment