News for hackers. Stuff that matters.
Re:Show HN: Looptap – A minimal game to waste your time by dheera on Thursday January 13, 2022 @02:57PM (#29925960)
Mine was this

    loopTapApp.startPlay();
    setInterval(() => {
      if(loopTapApp.getBallAngle() > loopTapApp.arc[0] && loopTapApp.getBallAngle() < loopTapApp.arc[1]) {
        loopTapApp.tap({preventDefault: ()=>{}, stopPropagation: ()=>{}});
      }
    }, 50);

There are no comments on this comment yet.