Phase 11: mark buzzer answers, +1 for a correct one
The host marks the answering team "Got it" or "Wrong" (G / W). Wrong passes the turn to the next team in the buzz order; Got it closes the buzzers until "Next question" (B). Undo reverses either mark. In a direct game a correct answer adds 1 to the team's score in the game's first criterion, as an ordinary admin score row, so it flows through the scoring engine (multiplier, placement) and the existing range/step trigger. The point is written before the mark, so a refused point never leaves a "correct" with nothing behind it. Judged games only get the mark: the judges' scores stand. Needs supabase/migrations/0004_buzz_result.sql applied before deploying. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
-- Game Night Live — marking buzzer answers.
|
||||
-- The host marks the answering team's buzz correct or wrong. Run after 0003_buzzer.sql.
|
||||
--
|
||||
-- result null : not judged yet. The first such buzz (in buzz order) is the team answering,
|
||||
-- as long as nobody has been marked correct.
|
||||
-- result wrong : that team is out for this question; the turn passes to the next buzz.
|
||||
-- result correct : the question is decided; no more buzzes until the host clears.
|
||||
|
||||
create type buzz_result as enum ('correct', 'wrong');
|
||||
|
||||
alter table buzzes
|
||||
add column result buzz_result;
|
||||
Reference in New Issue
Block a user