-
Notifications
You must be signed in to change notification settings - Fork 3
/
players.json
57 lines (56 loc) · 1.85 KB
/
players.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/* Player config. This file is JSON but with /*... comments.
*
* Each key should be the names of a directory under players/ containing the player code.
* The optional "build" attribute is a sequence of commands to build the player code.
* The "run" attribute is a command to start the player process.
* Both "build" and "run" commands are run from the player's directory.
*/
{
"vars": {
"": "$", /* to write '$$' to escape '$' */
"CC": "gcc", /* C compiler */
"JAVAC": "javac", /* Java compiler */
"JAVA": "java", /* Java virtual machine */
"PYTHON2": "C:/lang/anaconda/python"
/* "PYTHON3": the controller provides its own interpreter as a default */
},
"players": {
/* "example": {
"build": [["$CC$", "-O1", "example.c", "-o", "example"]],
"run": ["./example"]
}, */
"Scholar": {
"build": [["$CC$", "-O1", "Scholar.c", "-o", "Scholar"]],
"run": ["./Scholar"]
},
"ZombieMarch": {
"run": ["$PYTHON2$", "ZombieMarch.py"]
},
"JustEverything": {
"run": ["$PYTHON2$", "JustEverything.py"]
},
"BluntInstrument": {
"run": ["$PYTHON2$", "BluntInstrument.py"]
},
"Backline": {
/* needs Python 3.6 */
"run": ["$PYTHON3$", "Backline.py"]
},
"Prickly": {
"run": ["$PYTHON2$", "Prickly.py"]
},
"Lichess2013-2015": {
"run": ["$PYTHON3$", "Lichess2013-2015.py"]
},
"Pokey": {
"run": ["$PYTHON2$", "Pokey.py"]
},
"Memorizer": {
"run": ["$PYTHON3$", "Memorizer.py"]
},
"BlindMoveMaker1": {
"build": [["$JAVAC$", "BlindMoveMaker1.java"]],
"run": ["$JAVA$", "BlindMoveMaker1"]
}
}
}