4 ms·
Thank you! I didn't peek and ended up with the same solution as you, so for an extra bit of fun I tried to golf it to be as short as possible. There's probably
by air7 5y ago
Thank you!
I didn't peek and ended up with the same solution as you, so for an extra bit of fun I tried to golf it to be as short as possible. There's probably room for much improvement: (94 chars)
setInterval("l=loopTapApp;b=l.getBallAngle();a=l.arc;b+6>a[0]&b-6<a[1]&&l.tap(new Event(1))")
- axiosgunnar 5y agoThis entire comment thread is hilarious
- Datagenerator 5y agoStrangely enough this shorter version reads and clicks better into my tiny brain
- ElbertF 5y agoNice! Managed to shave off a couple of bytes: setInterval("l=loopTapApp;b=l.getBallAngle();[a,c]=l.arc;b+6>a&b-6<c&&l.tap(new Event(1))")