partialy draw a tile
wind assignment and turn ordering
This commit is contained in:
parent
b9c653f3a2
commit
63e21713ab
14 changed files with 189 additions and 38 deletions
|
|
@ -1,9 +1,11 @@
|
|||
use log::info;
|
||||
use spacetimedb::{ReducerContext, Table, reducer};
|
||||
use spacetimedb::{ReducerContext, Table, ViewContext, reducer, view};
|
||||
|
||||
use crate::tables::{player::player, *};
|
||||
|
||||
mod game;
|
||||
mod reducers {
|
||||
mod game;
|
||||
}
|
||||
mod tables;
|
||||
|
||||
#[reducer(client_connected)]
|
||||
|
|
@ -20,6 +22,7 @@ pub fn login_or_add_player(ctx: &ReducerContext) {
|
|||
sort: true,
|
||||
hand: vec![],
|
||||
pond: vec![],
|
||||
drawn_tile: None,
|
||||
}) {
|
||||
info!("added player: {:?}", player);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue