Skip to content
Snippets Groups Projects
Commit 1cf6c672 authored by Max Rapp's avatar Max Rapp
Browse files

Merge branch 'master' of gl.kwarc.info:teaching/AI

parents cc5fc874 8b007531
No related branches found
No related tags found
No related merge requests found
# 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 is a description regardless:
```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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment