geerlingguy / beast-challenge

A control system for MrBeast's 1-100 challenge
GNU General Public License v3.0
26 stars 1 forks source link

Allow choosing colors for answers #9

Closed geerlingguy closed 1 year ago

geerlingguy commented 1 year ago

Need to add functionality for the game master to choose, at the end of a round, which 'option' (1/2/3 or 0/1/2 in code) was correct.

New Plan:

Add a form titled "Set Room Colors" in a card under the main round control table with a separate submit button.

Have a little help text like "Choose a color for each option for the live round. When you click 'Reveal Colors', the rooms will change to the colors associated with their current vote.

The form should have up to three radio button lists (or select lists) based on the current active/live round options, each one is "Option name" for the form label and then the options are 'off' (Default), 'white', 'red', 'green', 'blue'.

When someone clicks submit after choosing the colors, the submission would trigger some logic:

It would be nice to store the color associations somewhere but for now let's not.

Original Plan:

Preserved for historical reasons — this structure would be too restrictive for how they want to sometimes reveal who chose what.

geerlingguy commented 1 year ago

Yay, I love it when a plan comes together:

Screen Shot 2023-03-07 at 10 33 25 PM Screen Shot 2023-03-07 at 10 33 15 PM