Hacker News new | ask | show | jobs
by randtrain34 1378 days ago
Using a variation of this:

```

for(let j=0; j<5; j++){

  window.captureBtnLeftFunc({preventDefault: () => {}})
  
  for(let i=0; i<200; i++){
    
    if (window.prediction == window.lastKey) {
      
      window.captureBtnRightFunc({preventDefault: () => {}})
      
    } else {
      
      window.captureBtnLeftFunc({preventDefault: () => {}})
      
    }
    
  }
  
}

```

actually got me a pretty linear upward win line for thousands of simulated clicks