moots-battle
v1.0.2
Published
Creates a Mutual Battle, simulated entirely in javascript, without any voting
Downloads
10
Maintainers
Readme
Moots Battle
Moots Battle is a module that essentially acts like those mutual battles you see on twitter, but fully automated and with no crowd voting
Example
const mootbattle = require("moots-battle")
var g1 = ["steam_sister", "SleepyBoi2852"]
var g2 = ["CapybaraGodess", "LMG_Wizard"]
var g3 = ["AnnasVirtual", "traumino02"]
var g4 = ["niko_abyss","ChepiShark_VT"]
const thirdResultLeft = mootbattle.runOne(g1, g2, g3, g4)
const sixthResultLeft = mootbattle.runTwo(thirdResultLeft[0],thirdResultLeft[1])
const fullResultLeft = mootbattle.runThree(sixthResultLeft)
console.log([g1,g2,g3,g4])
console.log(thirdResultLeft)
console.log(sixthResultLeft)
console.log(fullResultLeft)