Tweak frontend and game logic
This commit is contained in:
@ -15,9 +15,12 @@ class LayerDto(BaseModel):
|
||||
name: str
|
||||
objects: list[LayerObjectDto]
|
||||
|
||||
class GameStatePlayerDto(PlayerDto):
|
||||
reached_destination: bool
|
||||
|
||||
|
||||
class GameStateDto(BaseModel):
|
||||
board: BoardDto
|
||||
destination: DestinationDto
|
||||
players: list[PlayerDto]
|
||||
players: list[GameStatePlayerDto]
|
||||
layers: list[LayerDto]
|
||||
|
||||
Reference in New Issue
Block a user