Set the allowed number of boards per player (we don't have this yet; need to create and enforce in DB if possible, otherwise in new board form action handler).
Pick objectives for the game using the UI created from #8
Create a link to Invite users to a game. This is a touch different from inviting users to the platform (which Supabase supports), in that it needs to also add that particular user who signs up to the official list of invites for this game (which... is just a table of game_id / user_id). The link should be potentially changeable during edit if someone starts spamming it.
Set game end date/time?
Not sure if we want a way to search for existing users and add them, since the link kinda takes care of both non-existing and existing users for now.
The creating user should become that games' admin upon submission.
Editing
Using hopefully the same form/component:
Edit the game title
Edit the number of allowed boards per user
Edit players list (is this just a "kick" action?)
Edit objectives: until the game is "started", all objectives can be edited. Afterward, objectives can only be added. This prevents users from re-using the same game over and over again with completely unrelated objective sets if we decide to monetize this at all.
Edit game end date / time (before starting)
Start the game: allows board creation by players to begin
Adding
Create a way for users to add a new game.
game_id
/user_id
). The link should be potentially changeable during edit if someone starts spamming it.Not sure if we want a way to search for existing users and add them, since the link kinda takes care of both non-existing and existing users for now.
The creating user should become that games' admin upon submission.
Editing
Using hopefully the same form/component: