Basic quiz show logic, i.e.:
- when one button is pressed, turn on its light and disable all other lights and buttons
- master reset (MR) button resets the circuit to the initial state
MR is an N.C. w/ pullup; the "contestant" buttons are all N.O. w/ pulldowns.
Each SR latch will Set via its button (rising edge) and hold Reset on all the other latches. The Reset pins are all also tied to MR via OR gates.
For this and any other circuit, the logic is:
S1 = B1
S2 = B2
R1 = Q2 OR MR
R2 = Q1 OR MR
(Note: flip-flops with additional enable/reset pins might be preferable IRL)