Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Collection / Tables - games in progress #4

Open
LaustinSpayce opened this issue Aug 25, 2023 · 1 comment
Open

Data Collection / Tables - games in progress #4

LaustinSpayce opened this issue Aug 25, 2023 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@LaustinSpayce
Copy link
Member

I think pocketbase is ideal to keep the list of current games in progress.

In php, when the game is closed/deleted/completed, the record should be removed from this pocketbase table.

It's much easier to query one small table for games currently in progress than for php to scan everything.

Suggested data structure:

gameID num
playerA user
playerB user
heroA string
heroB string
currentGameTurn number
format string
@LaustinSpayce LaustinSpayce added the enhancement New feature or request label Aug 25, 2023
@LaustinSpayce LaustinSpayce added this to the MVP milestone Aug 25, 2023
@LaustinSpayce
Copy link
Member Author

We'll also get the "games list" as a gimme yay - have the end point be public.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant