Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 565 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 565 Bytes

Battlesnake Game Types

crates.io

A crate to represent game types in the game of battlesnake

Usage

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