Tweak frontend and game logic

This commit is contained in:
Eden Kirin
2023-03-26 00:37:58 +01:00
parent 3ac07f3072
commit f54344a17f
5 changed files with 88 additions and 26 deletions

View File

@ -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]