summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
blob: 51afafcf548f6e0ce99259db7c2891dbb95963b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Shared library for zagan-bet.
//!
//! The client and server binaries are thin adapters around these modules:
//! terminal/TLS/SQLite wiring stays in `src/bin/`, while game rules, protocol
//! handling, storage, and view logic live here so they can be tested from
//! `tests/` without a network or a terminal.

pub mod blackjack;
pub mod client;
pub mod crash;
pub mod history;
pub mod protocol;
pub mod roulette;
pub mod server;
pub mod slots;
pub mod tofu;