1 unstable release

0.1.0 Jan 3, 2020

#9 in #modelling

MIT license

17KB
532 lines

playing-cards

Learning Rust by playing cards.

let mut player = Player::new(42);
let mut deck = Deck::new();
let card = deck.draw();
player.give(card);
player.score += 13;

println!("{}", player) // Player 42 with score 13: A-S

See main.rs for an example implementation of Go Fish.

Dependencies

~1.4–2MB
~36K SLoC