마블끼리

테이블 (4)

게임방 (Room)

  • Field (Primary.key) — NOT NULL
  • id (고유 방 ID) — UUID / PK
  • max_players (최대 인원 수) — Integer
  • gmae_mode (게임 모드) — String
  • current_turn_num (현재 턴 번호) — Integer
  • status (게임 상태) — String

미션 (Mission)

  • Field (Primary.key)
  • id (미션 ID)
  • text (미션 내용)
  • level (난이도)

타일 (Tile)

  • Field (Primary.key)
  • index (칸 번호)
  • game_id (속한 게임)
  • mission_id (연결된 미션)
  • type (타이머칸, 벌칙칸 등)

플레이어 (Player)

  • Field (Primary.key)
  • id (플레이어 ID)
  • game_id (속한 게임)
  • nickname (별명)
  • position (현재 위치)
  • count (지나온 칸 개수)