Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fables-tales/battlesnake-game-types
https://github.com/fables-tales/battlesnake-game-types
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/fables-tales/battlesnake-game-types
- Owner: fables-tales
- Created: 2021-08-28T15:23:49.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-12T18:21:51.000Z (over 1 year ago)
- Last Synced: 2024-10-06T03:29:01.003Z (29 days ago)
- Language: Rust
- Size: 371 KB
- Stars: 4
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Battlesnake Game Types
![crates.io](https://img.shields.io/crates/v/battlesnake-game-types.svg)
* [docs](https://docs.rs/battlesnake-game-types/latest/battlesnake_game_types/)A crate to represent game types in the game of [battlesnake](https://play.battlesnake.com)
## Usage
The most common usage is decoding and encoding wire representation data:
```rust
use battlesnake_game_types::wire_representation::Game;
let g: Result = serde_json::from_slice(&body);
```There are other useful tools that you can find better documented in the crate docs