Crates.io | blackjack |
lib.rs | blackjack |
version | 0.1.1 |
source | src |
created_at | 2019-05-14 19:38:50.301239 |
updated_at | 2020-07-20 18:01:07.802678 |
description | Crate for the popular casino card game Blackjack |
homepage | https://arc676.github.io/projects/blackjack.html |
repository | https://github.com/Arc676/Blackjack |
max_upload_size | |
id | 134372 |
size | 64,381 |
A Rust backend crate and command line frontend for the popular card game, Blackjack. This crate is designed to be compilable for linking with C.
This crate is available on crates.io.
The library provides data types for representing decks (specifically, multiple decks combined into a single deck), players, hands, and individual cards. These structs provide the necessary methods for implementing a simple game of Blackjack.
The Rust command line frontend provides a sample implementation as well as functional gameplay experience.
The repository includes a C header file indicating the exposed methods of the library. A command line frontend to the library written in C is also available. This can be compiled using the included Makefile
. If the Rust library output is stored at a path other than project_root/target/debug
, the references will have to be updated.
Project available under GPLv3. See LICENSE
for full license text.