My son's high school physics teacher has something like this that appears to be a commercial product, with lots of IR remote controls that get pointed at an IR receiver connected to the teacher's laptop. He runs it sort of like Who Wants to be a Millionaire.