32 lines
570 B
Protocol Buffer
32 lines
570 B
Protocol Buffer
message Team {
|
|
string team_name = 1;
|
|
string team_id = 2;
|
|
}
|
|
|
|
message GameService {
|
|
// urls for s3
|
|
string service_url = 1;
|
|
string checker_url = 2;
|
|
//board config
|
|
string checker_type =3;
|
|
|
|
int gets = 4;
|
|
string name = 5;
|
|
int places = 6;
|
|
int puts =7;
|
|
int default_score = 8;
|
|
int checker_timeout = 9;
|
|
|
|
}
|
|
// all time is in unixtime
|
|
message StartGameRequest {
|
|
int teams = 1;
|
|
repeated GameService services = 2;
|
|
repeated Team teams = 3;
|
|
|
|
int game_starts_at = 4;
|
|
int rounds = 5;
|
|
int network_opens_at = 6;
|
|
|
|
}
|