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:
Torsten Schulz (local)
2026-03-04 17:55:53 +01:00
parent aca290f1d0
commit 9478e6a91a
4 changed files with 105 additions and 23 deletions

View File

@@ -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,