thrustin 1.0.1

xperience epic adventures by THRUSTING some THRUSTERS into THRUSTEES https://THRUSTIN.rs. E
Documentation
use crate::thrust::Deck;
use std::collections::HashMap;

// Struct that manages game specific settings
// These are reset to new() at game start
#[derive(Clone, Debug)]
pub struct LobbyGame {
    // current thrustee (player)
    pub thrustee: usize,
    // Deck that lobby will be actively playing with
    pub deck: Deck,
    // Deck that lobby will keep as reference when needing to refill thrusters/thrustees
    pub deck_reference: Deck,
    // current thrustee (card)
    pub current_thrustee: String,
    // submitted thrust index mapped to (token, thruster)
    pub current_thrusts: HashMap<usize, (u32, String)>,
    pub thrusted_players: Vec<u32>,
    pub thrustee_choices: Vec<String>,
}

impl LobbyGame {
    pub fn new() -> LobbyGame {
        LobbyGame {
            deck: Deck::new(),
            deck_reference: Deck::new(),
            current_thrustee: String::new(),
            current_thrusts: HashMap::new(),
            thrusted_players: Vec::new(),
            thrustee: 0,
            thrustee_choices: Vec::new(),
        }
    }
}