shoo

Crates.ioshoo
lib.rsshoo
version0.1.0
created_at2026-01-15 05:45:18.260376+00
updated_at2026-01-15 05:45:18.260376+00
descriptionLibrary for blackjack games and trainers
homepagehttps://matth2k.github.io/shoo/
repositoryhttps://github.com/matth2k/shoo
max_upload_size
id2044663
size57,124
Matt Hofmann (matth2k)

documentation

https://matth2k.github.io/shoo/

README

Docs crates.io

Shoo: A Library for Blackjack training

Description

A Rust library to assist in creating your own blackjack trainer or game.

Getting Started

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());
}

Commit count: 0

cargo fmt