7b5a6eb255ceb56d48fc265b2c4bbd563c950767
Returns the next or previous card based on deck ordering. Respects the deck of the current card (i.e. will return a card from the same deck) but will return None on the boundaries of the deck (3(D) and 2(S)).
┌───────────────────────────┐
│ ____ _ _____ │
│ | _ \(_) / ____| │
│ | |_) |_ __ _ | | │
│ | _ <| |/ _` | | | │
│ | |_) | | (_| | | |____ │
│ |____/|_|\__, | \_____| │
│ __/ | │
│ |___/ │
└───────────────────────────┘
A dynamic multiplayer playing card game, written in Rust.
Goals:
- Server/client setup for multiplayer games.
- Allow up to 12 players to interact in any one game.
- Player ranking system.
Requirements:
- Rust
Run:
$ cargo build
to compile the program.
Languages
Rust
100%