| Crates.io | shoo |
| lib.rs | shoo |
| version | 0.1.0 |
| created_at | 2026-01-15 05:45:18.260376+00 |
| updated_at | 2026-01-15 05:45:18.260376+00 |
| description | Library for blackjack games and trainers |
| homepage | https://matth2k.github.io/shoo/ |
| repository | https://github.com/matth2k/shoo |
| max_upload_size | |
| id | 2044663 |
| size | 57,124 |
A Rust library to assist in creating your own blackjack trainer or game.
Below is a minimal example to get you started:
use shoo::{Card, Hand, Rank, Suit};
#[test]
fn test_hand() {
let mut hand = Hand::default();
hand.insert(Card::new(Suit::Spade, Rank::Ace));
hand.insert(Card::new(Suit::Heart, Rank::King));
assert!(hand.value().is_some());
assert!(hand.blackjack());
}