-
-
Save starise/9cc936f1d8157a2d2e57bf198633f9ce to your computer and use it in GitHub Desktop.
Paperclips
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var loop = setInterval(function(){ | |
clipClick(1); | |
buyingWire(); | |
letsQuantumCompute(); | |
runTournament(); | |
}, 2) | |
function buyingWire(){ | |
//if (wireCost < wireBasePrice && wire < 1000000 || wire < 1){ // Not working well for early game | |
if (wire < 1){ | |
buyWire(); // Game defined function | |
} | |
} | |
function runTournament(){ | |
if (document.getElementById("btnNewTournament").disabled == false && (memory * 1000) <= operations){ | |
newTourney(); | |
runTourney(); | |
} | |
} | |
function letsQuantumCompute(){ | |
if (qChips[0].value + qChips[1].value + qChips[2].value + qChips[3].value + qChips[4].value + qChips[5].value + qChips[6].value + qChips[7].value + qChips[8].value + qChips[9].value > 0){ | |
qComp(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment