added scripts to extract information from game logs
parent
ff381a5f3c
commit
28b01aa12e
|
@ -0,0 +1,15 @@
|
|||
BEGIN {
|
||||
FS = "\t"
|
||||
}
|
||||
|
||||
/Saved Player/ {
|
||||
getline
|
||||
getline
|
||||
|
||||
if ($8 == "0") {
|
||||
C = "W"
|
||||
} else {
|
||||
C = "B"
|
||||
}
|
||||
print ai1 " " ai2 " " C
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
/^MCTS/ {
|
||||
show = 1
|
||||
}
|
||||
|
||||
/^\*/ {
|
||||
if (show) {
|
||||
show = 0
|
||||
print $0
|
||||
}
|
||||
}
|
||||
|
||||
/lost the game/ {
|
||||
print
|
||||
print ""
|
||||
}
|
Loading…
Reference in New Issue