Implemented a deck shuffling algorithm. It will iterate over the deck of cards 1000 times and swap the card it is on with another random card to mix up the deck. Reviewed-on: #12
8 lines
95 B
TOML
8 lines
95 B
TOML
[package]
|
|
name = "blackjack"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
rand = "0.9.2"
|