Back to front pageView on Hacker News (opens in a new tab)Show HN: Looptap – A minimal game to waste your time (opens in a new tab)looptap.vasanthv.com1241 pointsby vasanthv (on Hacker News)4 years agoComments (170) 84 threadsShow all commentsShowing thread 28 of 84dheera4 years ago#``` loopTapApp.startPlay(); setInterval(() => { if(loopTapApp.getBallAngle() > loopTapApp.arc[0] && loopTapApp.getBallAngle() < loopTapApp.arc[1]) { loopTapApp.tap({preventDefault: ()=>{}, stopPropagation: ()=>{}}); } }, 50); ```
Show HN: Looptap – A minimal game to waste your time (opens in a new tab)looptap.vasanthv.com1241 pointsby vasanthv (on Hacker News)4 years ago
dheera4 years ago#``` loopTapApp.startPlay(); setInterval(() => { if(loopTapApp.getBallAngle() > loopTapApp.arc[0] && loopTapApp.getBallAngle() < loopTapApp.arc[1]) { loopTapApp.tap({preventDefault: ()=>{}, stopPropagation: ()=>{}}); } }, 50); ```
Comments (170) 84 threads
Show all comments
Showing thread 28 of 84