Skip to content

Instantly share code, notes, and snippets.

@brfreeman36
Last active October 19, 2017 03:10
Show Gist options
  • Save brfreeman36/a52e92051a77392e2e1c58f7ec4c1ce9 to your computer and use it in GitHub Desktop.
Save brfreeman36/a52e92051a77392e2e1c58f7ec4c1ce9 to your computer and use it in GitHub Desktop.
Paperclips
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();
}
}
@mendel3
Copy link

mendel3 commented Oct 19, 2017

What does this do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment