turn_state logic

This commit is contained in:
Tao Tien 2026-02-10 01:40:13 -08:00
parent f6361b9fa1
commit 1e6a3ca84b
10 changed files with 61 additions and 16 deletions

View file

@ -23,6 +23,7 @@ pub fn join_or_create_lobby(ctx: &ReducerContext, mut lobby_id: u32) -> Result<(
host_player_id: player.id,
players: vec![PlayerOrBot::Player { id: player.id }],
game_state: GameState::Setup,
turn_state: TurnState::None,
});
info!("created lobby: {:?}", lobby);