gamie-0.3.0 has been yanked.
gamie
A Rust library provides abstractions for several classic tiny games.
gamie aims to provide simple yet adequate abstractions for several classic tiny games. It is quite lightweight - came with dependencies fewer than the fingers on one hand, no AI, just pure game implementions. It can be easily integrated into your projects.
Usage
To use gamie, you should enable modules you need in Cargo.toml. For example tictactoe:
[]
= { = "0.3", = ["tictactoe"] }
Now you can use the tictactoe:
use *;
let mut game = new;
game.place.unwrap;
game.place.unwrap;
game.place.unwrap;
game.place.unwrap;
game.place.unwrap;
game.place.unwrap;
game.place.unwrap;
game.place.unwrap;
game.place.unwrap;
assert!;
assert_eq!;
Check the docs for further usage information.
Modules
Currently, the following modules are available:
License
GNU General Public License v3.0