Files
blackjack/src/lib.rs
Wesley Irvin b2e2d547ef Created Hand Type
Created a Hand type that can also calculate the sum of the cards in the
hand. Also wrote a display for it so that we can just print hands out.

Reviewed-on: #13
2026-01-11 16:25:37 -05:00

21 lines
225 B
Rust

use std::error::Error;
mod card;
pub use card::Card;
mod deck;
pub use deck::Deck;
mod gamestate;
mod hand;
pub use hand::Hand;
pub fn run() -> Result<(), Box<dyn Error>> {
println!("Hello, world!");
Ok(())
}