Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kmm
on Jan 13, 2022
|
parent
|
context
|
favorite
| on:
Show HN: Looptap – A minimal game to waste your ti...
You get 5 points if you tap twice within 0.5 seconds, and 2 if the interval is within 1 second. The source code is very readable.
this.score = this.score + (tapInterval < 500 ? 5 : tapInterval < 1000 ? 2 : 1);
Consider applying for YC's W25 batch! Applications are open till Nov 12.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: