Skip to content

Data Collection / Table - Open Lobbies #2

@LaustinSpayce

Description

@LaustinSpayce

We need a collection of open lobbies, if we're going to be filtering games out by some preference we need to have the data stored inside data doll.

Collection should be something like:

gameID number (we could use pocketbase to generate the game ID)
host user (essential for the block / filter functionality - have as a relation to the user table)
hero string (what hero is the host using, or filter)
format string (should we have format as an enum or other relation rather than just a string?)
allowUndo (we can have some custom game properties here as well)
forceChat (if people really want to talk we can have it switched on by default, people don't have to join if they don't want)

We could use it to store all lobbies so we can extend it to containing player 2 info and all that good stuff.

This can also be an opportunity to address the bug of a lobby not being playable if someone joins and then the host leaves.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions