Allow joining an existing room and validating tile placement
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
use board_network::protocol::ServerMessage;
|
||||
use board_shared::game::Hand;
|
||||
use futures::channel::mpsc::UnboundedSender;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Player {
|
||||
pub name: String,
|
||||
pub score: u32,
|
||||
pub hand: Hand,
|
||||
pub ws: Option<UnboundedSender<ServerMessage>>,
|
||||
}
|
||||
|
Reference in New Issue
Block a user