Crates.io | battlesnake-game-types |
lib.rs | battlesnake-game-types |
version | 0.17.0 |
source | src |
created_at | 2021-08-28 15:37:58.152875 |
updated_at | 2023-01-22 19:31:05.44286 |
description | game types for play.battlesnake.com |
homepage | |
repository | https://github.com/penelopezone/battlesnake-game-types |
max_upload_size | |
id | 443480 |
size | 743,461 |
A crate to represent game types in the game of battlesnake
The most common usage is decoding and encoding wire representation data:
use battlesnake_game_types::wire_representation::Game;
let g: Result<Game, _> = serde_json::from_slice(&body);
There are other useful tools that you can find better documented in the crate docs