Enhance README with CLI room checking instructions and implement room name resolution in command handling. Updated handle_init_command and handle_join_command to use resolved room names, improving room access validation. Added CLI command handling in main.rs to list available rooms from the database or fallback configuration.
This commit is contained in:
@@ -78,6 +78,7 @@ pub(crate) struct DiceGame {
|
||||
pub(crate) total_scores: HashMap<ClientId, i32>,
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[derive(Clone, Debug, Default)]
|
||||
pub(crate) struct RoomMeta {
|
||||
pub(crate) name: String,
|
||||
|
||||
Reference in New Issue
Block a user