Skip to content

Commit

Permalink
Parameter files as examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelorme committed Mar 5, 2017
1 parent 39b7b19 commit a92bd7f
Show file tree
Hide file tree
Showing 5 changed files with 154 additions and 0 deletions.
33 changes: 33 additions & 0 deletions params/gitc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"Game": {
"Name": "GITC",
"Game bin": "python3",
"Arguments": [
"engines/gitc.py",
"$seed"
]
},

"Bots": [
{
"Name": "bot_1",
"Bin": "../blah",
"Arguments": [
]
},
{
"Name": "bot2",
"Bin": "../blah",
"Arguments": [
]
}
],

"Settings": {
"Log stderr": true,
"Log scores": true,
"Runs": 25,
"Threads": 4,
"Seed": 26111996
}
}
33 changes: 33 additions & 0 deletions params/gitc.json~
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"Game": {
"Name": "GITC",
"Game bin": "python3",
"Arguments": [
"engines/gitc.py",
"$seed"
]
},

"Bots": [
{
"Name": "silver_bot",
"Bin": "../gitc/cpp_version/gitc_silver",
"Arguments": [
]
},
{
"Name": "latest",
"Bin": "../gitc/cpp_version/gitc",
"Arguments": [
]
}
],

"Settings": {
"Log stderr": true,
"Log scores": true,
"Runs": 25,
"Threads": 4,
"Seed": 26111996
}
}
25 changes: 25 additions & 0 deletions params/test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"Game": {
"Name": "Tron",
"Simultaneous": false,
"Game bin": "./tron",
"Arguments": [
"2"
]
},

"Bots": [
{
"Name": "bot1",
"Bin": "./bot_1"
},
{
"Name": "bot2",
"Bin": "./bot_2"
}
],

"Settings": {
"Stderr": "log"
}
}
32 changes: 32 additions & 0 deletions params/tge.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"Game": {
"Name": "TGE",
"Game bin": "python3",
"Arguments": [
"./tge.py",
"2"
]
},

"Bots": [
{
"Name": "bot1",
"Bin": "./tge",
"Arguments": [
]
},
{
"Name": "bot2",
"Bin": "./tge",
"Arguments": [
]
}
],

"Settings": {
"Log stderr": true,
"Log scores": true,
"Runs": 4,
"Threads": 2
}
}
31 changes: 31 additions & 0 deletions params/tron.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"Game": {
"Name": "Tron",
"Game bin": "./tron",
"Arguments": [
"2"
]
},

"Bots": [
{
"Name": "bot1",
"Bin": "./bot_1",
"Arguments": [
]
},
{
"Name": "bot2",
"Bin": "./bot_2",
"Arguments": [
]
}
],

"Settings": {
"Log stderr": true,
"Log scores": true,
"Runs": 4,
"Threads": 2
}
}

0 comments on commit a92bd7f

Please sign in to comment.