e72f8b2c3af672196dfd415fd5ae32bf538312e0
We know the sizes of the results of these functions beforehand. Fitting it into an ESI was a code smell really. Just return the arrays! Of course, now we need to do array::into_iter for iterator use, but this is way better. Excluding Card::iter_all since we can't know the size of it at compile time. PITA that we can't make it an ESI either.
┌───────────────────────────┐
│ ____ _ _____ │
│ | _ \(_) / ____| │
│ | |_) |_ __ _ | | │
│ | _ <| |/ _` | | | │
│ | |_) | | (_| | | |____ │
│ |____/|_|\__, | \_____| │
│ __/ | │
│ |___/ │
└───────────────────────────┘
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%