Initial code outline

This commit is contained in:
2026-01-10 12:07:17 -05:00
parent 96f9cc1d98
commit 51426486e5
6 changed files with 19 additions and 2 deletions
View File
View File
View File
View File
+12
View File
@@ -0,0 +1,12 @@
use std::error::Error;
mod card;
mod hand;
mod deck;
mod gamestate;
pub fn run() -> Result<(), Box<dyn Error>> {
println!("Hello, world!");
Ok(())
}
+7 -2
View File
@@ -1,3 +1,8 @@
fn main() {
println!("Hello, world!");
use blackjack::run;
use std::error::Error;
fn main() -> Result<(), Box<dyn Error>> {
run()?;
Ok(())
}