Skip to content

Instantly share code, notes, and snippets.

@colinjfw
Created February 24, 2019 02:03
Show Gist options
  • Save colinjfw/c1a1b7121b80fa01652b40ca7bc74524 to your computer and use it in GitHub Desktop.
Save colinjfw/c1a1b7121b80fa01652b40ca7bc74524 to your computer and use it in GitHub Desktop.
{
"game": {
"id": "game-id-string"
},
"turn": 1,
"board": {
"height": 11,
"width": 11,
"food": [{
"x": 1,
"y": 3
}],
"snakes": [{
"id": "snake-id-string",
"name": "Sneky Snek",
"health": 100,
"body": [{
"x": 1,
"y": 3
}]
}]
},
"you": {
"id": "snake-id-string",
"name": "Sneky Snek",
"health": 100,
"body": [{
"x": 1,
"y": 3
}]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment