sorta discard a tile

This commit is contained in:
Tao Tien 2026-02-13 07:49:09 -08:00
parent 63e21713ab
commit 8c4132e628
7 changed files with 199 additions and 26 deletions

View file

@ -18,6 +18,8 @@ pub struct Lobby {
pub game_state: GameState,
pub turn_state: TurnState,
// pub dealt_idx: i8,
}
#[table(name = wall)]
@ -29,7 +31,7 @@ pub struct DbWall {
}
#[table(name = tile)]
#[derive(Debug)]
#[derive(Debug, Clone, Copy)]
pub struct DbTile {
#[primary_key]
#[auto_inc]