# Bare bones monopoly game engine: sqlite db: monopoly Person as Node { id: ID token: string } & OutboundEdges { playing: Edge } & GraphQL { read { id } root } # Friends as Edge { # } & Bidirectional Player as Node { id: ID piece: string ownerId: ID gameId: ID } & OutboundEdges { properties: Edge playing: Edge owner: Edge } & GraphQL { read { id piece owner } } Game as Node { id: ID name: string } & OutboundEdges { players: Edge board: Edge } & GraphQL { read { id players board } } Property as Node { id: ID name: string ownerId: ID | null gameId: ID cost: float32 mortgaged: bool numHouses: int32 numHotels: int32 } & OutboundEdges { owner: Edge } & GraphQL { read { id name owner cost mortgaged numHouses numHotels } }