Share your repls and programming experiences

← Back to all posts
Kahoot Bot Flooder
AugustBenne (2)

It uses the kahoot.js library
I probably could find a way to make it work better using a loop
You put the game code into the code, replacing "######"
It joins the game with a lot of bots with random names

They don't answer the questions, they leave unanswered and fill the library

JacobMcPherson1 (241)

how do you get the numbers out of the names of the bots?

AugustBenne (2)

I just updated it to add customizable bot names at the top where you add the code. The numbers were to not have duplicates which the kahoot library doesn't like. If you want to change it, if you find where it says botname + Math.floor(Math.random() * Math.floor(max) you can change Math.floor(Math.random() * Math.floor(max) to something else. Just make sure that the bots don't have the same name!

JacobMcPherson1 (241)

@JacobMcPherson1 There's a syntax error in the code on line 25 btw