]> git.sesse.net Git - remoteglot-book/blobdiff - count.proto
Fix base opening-stats.pl for the new computer game count.
[remoteglot-book] / count.proto
index c9321a59f3a875e24c5197a8402ed2327e9d799a..80e026d824360acfc8447d2d60a5a9a12818c314 100644 (file)
@@ -4,6 +4,9 @@ message Count {
        optional int32 draw = 2;
        optional int32 black = 3;
 
+       // Number of games played by computers.
+       optional int32 computer = 12;
+
        // Opening number (32-bit hash value).
        optional fixed32 opening_num = 4;
 
@@ -12,6 +15,12 @@ message Count {
        optional int64 sum_black_elo = 6;
        optional int32 num_elo = 7;
 
-       // First timestamp this position/move was seen. 
+       // First timestamp this position/move was seen, and the byte offset
+       // into the PGN file for that game.
        optional int64 first_timestamp = 8 [default=32503680000];
+       optional int32 pgn_file_num = 9;
+       optional int64 pgn_start_position = 10;
+
+       // Moves seen from this position.
+       repeated string move = 11;
 };