This repository was archived by the owner on Mar 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Using Blooket.JS
RedYetiDev edited this page Feb 28, 2021
·
3 revisions
To join a game using Blooket.js, use the following command:
game.join(PIN,"NAME","BLOOK")This runs the join function, which then connects you to the game.
Throughout the game, blooket.js emits events. For more information on these events, see Events at blooket.js.org
To answer a question, catch QuestionStart like so:
game.on("QuestionStart", function() {
game.answer(game.autocorrect())
})or
game.on("QuestionStart", function() {
game.answer(/* Number 1-4 */)
})Blooket.JS is by RedYetiDev
License Details
Blooket.JS is licensed under a Creative Commons Attribution 4.0 International License. This means means that you are free to share and adapt this package. BUT you are required to give appropriate credit to me (RedYetiDev), and anyone else you see fit. See the license file for details