Explained Hacking Kahoot June 2022

Hey! This is a fun activity that leaders can do with their clubs. It walks users through the process of controlling a Kahoot user with Node.js using the kahoot.js-updated npm module. The module has been deprecated, however this workshop should still function.
A few quick tips for the workshop:
The challenge version of Kahoot is used in the workshop since it is the most adaptable.
Because the workshop is a slideshow, you’ll need a lot of energy to make the activity spectacular.
Prepare to adapt and assist participants as they complete the programme.
Preparing
Now, here’s a step-by-step method to preparing for the Kahoot activity.
To begin, go to kahoot.com and sign up for an account.
Go to this page and select a Kahoot that you believe will appeal to your club’s members.
Press the Play button.
Select the right-hand option.

Configure them as shown in the image below, then click Create.

Make a note of the Game PIN and keep it securely.

Repeat this process two more times.
You’re ready once you receive your game codes.
Executing
Load the slideshow from here on the day.
Run the presentation, making sure to give the attendees enough time to write down their code.
Make sure students fork the beginning repo at https://hack.af/kahoot-repl.
When you get to the Let’s try it! slide, pass the Kahoot code to your students and let them run their applications. Open the Kahoot reports page and display the student’s results.
The challenge section follows. Begin by following the instructions on the slides. However, if the students are having difficulty, load up the beginning repl and add the following code:
require(“kahoot.js-updated”); const Kahoot
new Kahoot(); const client
join(‘000000’, Math.random() + “- Your Name”);
let finalNo array function verifyProperty(array, property)
forEach(function(value, i) { if (value[property] === true) {finalNo = i} }); return(finalNo) }
() => client.on(“QuizStart”) console.log(“The quiz has begun!”); );
client.on(“QuizEnd”) = console.log(“The quiz is over.”); );
client.on(“QuestionStart”, question = console.log(question) question.answer(0);
This code combines the code they should have written during the session with the helper function described in the slideshow. The Kahoot module is loaded, and a new client is created. This client then joins the game with a random name and the pin 000000 in this block. The helper function then returns the index of an item in an array when the specified property is true. It is then configured to record when the quiz begins and stops. Finally, when it is asked a question, it selects the first option.
Now, with the help of your attendees, investigate the question object to identify the options option.
Then, employ the helper function and insert the following code:
client.on(“QuestionStart”, query =>
verifyProperty(question.choices, “correct”));
Allow students to write this code for themselves and then run a demo using your second Game PIN.
Finally, run the hacking section for students and demonstrate it to them. Prepare to assist the students.

Here are a few examples:
Spam Kahoot with a large number of new members; it repeats the join command 100 times or until Kahoot limits our rate.
Sending the Rick Roll lyrics to Kahoot results in a string of the song lyric being split into an array, which is then looped over and joined with the username being a song lyric line.
When a new question is added to a Custom Kahoot CLI, it displays the options and then solicits user feedback for the answer.
People also ask
Is it possible to cheat in Kahoot?
What is the website where you can hack Kahoot?
Can you participate in an anonymous Kahoot?
How can I obtain a Kahoot code?
In kahoot, how did Beluga cheat?
How do you view kahoot answers?
Scroll down to General in the Game options box and enable “Show questions and answers on players’ devices.”