Spades
Rust implementation of the four-player trick-taking card game Spades. Rules: pagat.com/auctionwhist/spades.html.
Installation
[]
= "1.1"
Library Usage
use ;
use SliceRandom;
use thread_rng;
let mut g = new;
g.play;
while *g.get_state != Completed
Server Mode
Optional HTTP server for hosting concurrent multiplayer games. Includes matchmaking, challenge links, WebSocket game subscriptions, SSE event streams, optional SQLite persistence, and Fischer increment timers.
See SERVER.md for the full API reference.
Bidding
Nil bids are supported (bet zero for +/-100 point bonus/penalty). Blind bids are not yet supported.
Documentation
Contributing
Issues and pull requests welcome.