add map to snake request body (#73)

This commit is contained in:
Rob O'Dwyer 2022-05-19 12:43:03 -07:00 committed by GitHub
parent e94d758a9b
commit 2d8342018e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 106 additions and 95 deletions

View file

@ -21,6 +21,7 @@
}
}
},
"map": "",
"timeout": 500,
"source": ""
},

View file

@ -21,6 +21,7 @@
}
}
},
"map": "",
"timeout": 500,
"source": ""
},

View file

@ -21,6 +21,7 @@
}
}
},
"map": "",
"timeout": 500,
"source": ""
},

View file

@ -21,6 +21,7 @@
}
}
},
"map": "",
"timeout": 500,
"source": ""
},

View file

@ -21,6 +21,7 @@
}
}
},
"map": "",
"timeout": 500,
"source": ""
},

View file

@ -21,6 +21,7 @@
}
}
},
"map": "",
"timeout": 500,
"source": ""
},

View file

@ -21,6 +21,7 @@
}
}
},
"map": "",
"timeout": 500,
"source": ""
},

View file

@ -13,6 +13,7 @@ func exampleSnakeRequest() SnakeRequest {
},
Timeout: 33,
Source: "league",
Map: "standard",
},
Turn: 11,
Board: Board{

View file

@ -14,6 +14,7 @@ type SnakeRequest struct {
type Game struct {
ID string `json:"id"`
Ruleset Ruleset `json:"ruleset"`
Map string `json:"map"`
Timeout int32 `json:"timeout"`
Source string `json:"source"`
}

View file

@ -21,6 +21,7 @@
}
}
},
"map": "standard",
"timeout": 33,
"source": "league"
},

View file

@ -21,6 +21,7 @@
}
}
},
"map": "standard",
"timeout": 33,
"source": "league"
},