TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Looptap – A minimal game to waste your time

1241 点作者 vasanthv超过 3 年前

78 条评论

nathas超过 3 年前
One of my favorite things to do with these neat little games is to build something that plays them for me by just pasting stuff into the browser JS console.<p><a href="https:&#x2F;&#x2F;pastebin.com&#x2F;aTYuaNVS" rel="nofollow">https:&#x2F;&#x2F;pastebin.com&#x2F;aTYuaNVS</a><p>At a score of 1,619 the ball is moving so fast it no longer works! I switched to a new tab (hoping that the event loop would be sent to the background&#x2F;context switch&#x2F;whatever) and ta-da - it misclicked. High score of 1,637.
评论 #29923562 未加载
评论 #29927221 未加载
评论 #29923636 未加载
评论 #29926957 未加载
评论 #29924057 未加载
评论 #29941148 未加载
评论 #29924113 未加载
评论 #29924353 未加载
评论 #29923612 未加载
评论 #29925960 未加载
评论 #29943736 未加载
评论 #29940895 未加载
评论 #29923446 未加载
评论 #29926821 未加载
评论 #29923627 未加载
评论 #29923793 未加载
cousin_it超过 3 年前
Great stuff, got 315 on third try. I made a game in the same vein sometime ago: <a href="https:&#x2F;&#x2F;vladimirslepnev.itch.io&#x2F;zigzag" rel="nofollow">https:&#x2F;&#x2F;vladimirslepnev.itch.io&#x2F;zigzag</a><p>One thing to note about this kind of endless runner games is the scoring system. Everyone uses the system &quot;get as much points as possible in one run, each run starts from zero&quot;. But that forces people to slog through the early parts each time, and also makes them more likely to stop playing after an especially good run. I thought about this for a while, and came up with the idea that a better system would <i>dock points for mistakes</i>. The run would continue, a misclick would just give you a short breather and set you back fifty points or so.<p>I made some prototypes like that and the effect was striking: you stick with one run for a long time, falling into a kind of meditative state, never wanting to stop. Eventually you find an equilibrium where wins and losses balance out, and keep playing there, at the best of your ability. If I ever release an endless runner again, it will use that system.
评论 #29924453 未加载
评论 #29925098 未加载
评论 #29928457 未加载
评论 #29937091 未加载
评论 #29953857 未加载
评论 #29929292 未加载
评论 #29929801 未加载
djfdat超过 3 年前
This is a great little time waster!<p>Couple of recommendations, in no particular order:<p>1. Keep the ball moving even after you die. Instead of pressing start, the user will just click when the ball is back inside the colored area. 2. You can click anywhere to restart, but you have to click the play button to restart. You should allow the user to just click anywhere to restart. 3. When you fail, show where the ball was. 4. As for collision detection, I think you should err on being lenient and count success if the bounds of the circle overlap, rather than the center or entirely. I think this is also due to the rounded linecaps for the arc potentially not counting as part of the valid area. 5. Show where the next arc will be. This is more of a game design thing. If you do this, quick fade out of the old and fade in on the new would look nice.<p>I understand that this was probably a small little one off project, and that there&#x27;s always more you can iterate on, so I just want to say nice job in putting out a fun little time waster!
评论 #29925249 未加载
1-6超过 3 年前
Thanks, you&#x27;ve just wasted valuable engineering time of multiple people. The actual cost of this game is much more than what we realize.
评论 #29926972 未加载
评论 #29927680 未加载
MrOrelliOReilly超过 3 年前
It&#x27;d be more fun if you somehow got &quot;bonus points&quot; for reducing the time between clicks. I kept playing it safe trying to time the ball but it kind of felt like cheating!
评论 #29930704 未加载
评论 #29922787 未加载
评论 #29924019 未加载
评论 #29925738 未加载
butz超过 3 年前
Feature request: show where the ball was on game over screen, because now it quickly resets to start position. Maybe show its &quot;ghost&quot; in different color or just outline.
misterbwong超过 3 年前
Cool game! I know you&#x27;re trying to keep it simple but a couple suggestions that might help and won&#x27;t increase game complexity too much:<p><pre><code> 1. Add a share button to share your score 2. Add a timer component (can be hidden). It will add urgency. 3. Speed up the ball as time goes on (maybe i haven&#x27;t gotten far enough for this to happen...?) 4. If you&#x27;re adding more points for &quot;same rotation hit&quot;, make it clear that it&#x27;s doing that and don&#x27;t just add more points to the score (shake the number, throw some fireworks, or something). Your focus is on the ball not the score so you won&#x27;t even notice the number went up a little bit more than usual until you lose.</code></pre>
评论 #29924122 未加载
评论 #29925207 未加载
alex_smart超过 3 年前
Because it had to be done:<p><pre><code> let robot = function () { const ballAngle = loopTapApp.getBallAngle(); const arc = loopTapApp.arc; if (ballAngle + 6 &gt; arc[0] &amp;&amp; ballAngle - 6 &lt; arc[1]) { window.dispatchEvent(new Event(&#x27;mousedown&#x27;)); } } var timer = setInterval(robot, 10);</code></pre>
评论 #29925000 未加载
评论 #29929354 未加载
评论 #29930969 未加载
thom超过 3 年前
It seems possible to click when the circle intersects the shape, but still lose. I guess it&#x27;s based on the centre of the circle, but feels a little frustrating to me.
评论 #29922713 未加载
评论 #29923703 未加载
hamasho超过 3 年前
Fantastic!<p>I feel really superior when I succeed in clicking immediately after the previous click. I clicked on the target arc and was relieved. But I immediately realize the next arc is right there, or I&#x27;m even on the arc now! Then adrenaline kicks in, and I click again immediately! Don&#x27;t think, feel! And it continues because I haven&#x27;t missed it.<p>Like I was a top F1 driver...
leetrout超过 3 年前
Feature request:<p>Start the game by pressing &quot;space&quot; as well.
评论 #29922706 未加载
Aachen超过 3 年前
Nice! My grandma enjoys mobile games but is, uh, let&#x27;s say she&#x27;s not a pro just yet. This is something she can do! Let&#x27;s see if she&#x27;ll enjoy it :)
michaelhoffman超过 3 年前
Without a &quot;share&quot; button that creates an emoji summary of your results, this will never get as viral as Wordle
评论 #29931000 未加载
评论 #29923897 未加载
mxmilkiib超过 3 年前
<a href="https:&#x2F;&#x2F;i.imgur.com&#x2F;liFqyj3.png" rel="nofollow">https:&#x2F;&#x2F;i.imgur.com&#x2F;liFqyj3.png</a> felt like i might have clicked too early, but it&#x27;s showing in on game over
bap超过 3 年前
Fantastic.<p>Feature Request: I&#x27;d love to see the ratio of successful points to number of times the ball traverses the circle. I think others have already said things about scoring mechanisms for faster taps, I wonder if there could be one around a sweet spot on the line (earlier is better? Later?!)<p>Well done, you&#x27;ve made me late for a meeting!
charleshan超过 3 年前
This is well made! Easy to understand, challenging, and a hint of variable reward.
RankingMember超过 3 年前
Simple addictive games like this always remind me of that ball-in-a-cup game that everyone got addicted to in that &quot;The Game&quot; episode of &quot;Star Trek: The Next Generation&quot;.
评论 #29926123 未加载
laumars超过 3 年前
Good game though there seems to be a bug where if you tap twice quickly, not even a doubt tap but just relatively quickly, it doesn’t register the second tap.<p>Safari, iOS (whatever the latest update is)
tyingq超过 3 年前
For autoplay, paste this into the console and click the play button.<p><pre><code> setInterval(function() {loopTapApp.arc=[0,359];loopTapApp.tap(document.createEvent(&#x27;Event&#x27;))},5);</code></pre>
评论 #29923566 未加载
throwawayHN378超过 3 年前
Cool. I haven’t read the comments but I did find a possible bug. If I successfully click in the painted area the generation of the next painted area may land on top of my current “cursor”. I wasn’t quick enough to click it and the game didn’t fail me ( it let the cursor go around the perimeter again at which time I clicked when the cursor was over the painted area and was awarded a point ). Might not necessarily be a bug but it adds unnecessary ambiguity to the game.
danbolt超过 3 年前
I feel like the variation in placement and length helps. Or, it pushes towards the &quot;randomness&quot; that makes some skinner boxes more sticky than others.
catskul2超过 3 年前
Missed opportunity to name it &quot;ball tap&quot;.
评论 #29924111 未加载
codevandal超过 3 年前
Nice! Reminds me of the Cyclone &#x2F; &quot;stop the light&quot; arcade games. If anyone wants to play a similar game on iOS, I made one about 7 years ago called hyper•loop <a href="https:&#x2F;&#x2F;apps.apple.com&#x2F;us&#x2F;app&#x2F;hyper-loop&#x2F;id944029806" rel="nofollow">https:&#x2F;&#x2F;apps.apple.com&#x2F;us&#x2F;app&#x2F;hyper-loop&#x2F;id944029806</a>
marcos100超过 3 年前
Played twice. Immediately knew that I should stop.<p>Great game!
nope96超过 3 年前
This reminds me of this cat toy - the circle with a ball in it (or at least it made me feel like a cat for a minute)<p><a href="https:&#x2F;&#x2F;m.media-amazon.com&#x2F;images&#x2F;I&#x2F;617M1m5N-aL._AC_SS450_.jpg" rel="nofollow">https:&#x2F;&#x2F;m.media-amazon.com&#x2F;images&#x2F;I&#x2F;617M1m5N-aL._AC_SS450_.j...</a>
mesozoic超过 3 年前
I think the score should go down when the ball makes a full revolution. Encourage more same revolution taping
dheera超过 3 年前
``` loopTapApp.startPlay(); setInterval(() =&gt; { if(loopTapApp.getBallAngle() &gt; loopTapApp.arc[0] &amp;&amp; loopTapApp.getBallAngle() &lt; loopTapApp.arc[1]) { loopTapApp.tap({preventDefault: ()=&gt;{}, stopPropagation: ()=&gt;{}}); } }, 50); ```
DaveSapien超过 3 年前
This is brilliant!!<p>I made a game quite similar that took me years to complete. And I feel this is much more immediately engaging, could just be me being hyper critical of my own work...but its always amazing to see how other designers approach similar ideas.<p>Either way I love it!!!!
dcow超过 3 年前
There might be a bug. I “died” but the ball appears in the live zone <a href="https:&#x2F;&#x2F;i.imgur.com&#x2F;XJdKgDL.png" rel="nofollow">https:&#x2F;&#x2F;i.imgur.com&#x2F;XJdKgDL.png</a>. Happened to my partner too.
评论 #29933275 未加载
jugg1es超过 3 年前
A cool variation would be to show the bar that&#x27;s up next in a faint outline.
ZeroOne_010101超过 3 年前
Great lil game! The color is just gray after 550 taps, maybe rotate the colors?
robbiejs超过 3 年前
Cool game, works nicely on my android phone.<p>One thing that you could improve is add user-select:none to the page. Quickly tapping the document did select the counter text and opened a google mini popup, distracting from the game.<p>Well done!
IAmNotAFix超过 3 年前
The ryhtm should accelerate each N clicks so that the game eventually ends. Otherwise no matter how many points you get by clicking fast it&#x27;s possible to accumulate the same amount by playing it safe.
评论 #29923966 未加载
ericskiff超过 3 年前
Fun! 171 on my second round.
_57jb超过 3 年前
So well done.<p>I love these styles of development where it can be thrown together quickly but complete the full spectrum of ux, creativity, and hitting that sweet spot that felt satisfying to play.<p>Seriously well done!
edoceo超过 3 年前
Sometimes it increases the hit counter by one, others by two - why?
评论 #29922268 未加载
评论 #29923050 未加载
评论 #29922262 未加载
bentcorner超过 3 年前
Love the mechanic where the more quickly you click the next one the more points you get.<p>There should be a timed mode to encourage rapid clicking (i.e., score the most points within 30s or 1min).
skurtcastle超过 3 年前
Not a bad time waster. Simple. Could be used for office fun as well.<p>&quot;Martha. If you beat my score on 1st attempt, I&#x27;ll do those TPS reports.&quot; lol.
kpmcc超过 3 年前
Good game, clever concept, appreciate the simplicity.
jason_slack超过 3 年前
This was really stimulating for my ADHD. Hyperfocusing my high score was 1300.<p>Make this an iOS game!<p>Does anyone have any interesting iOS recommendations for ADHD stmming?
ms123超过 3 年前
Here&#x27;s another one: <a href="https:&#x2F;&#x2F;netspeed.ichi.city&#x2F;" rel="nofollow">https:&#x2F;&#x2F;netspeed.ichi.city&#x2F;</a>
unobatbayar超过 3 年前
How do you come up with this stuff? I need answers.
everyone超过 3 年前
There should be a score multiplier that builds up by getting points in quick succession. That would add a risk&#x2F;reward element to it.
rayrag超过 3 年前
Request: add info about how many loops game had. less loops should add bonus points or more loops should have penalty points.<p>Otherwise fun game :)
marxdev3超过 3 年前
Cool game, but the collision detection needs to work better. Currently can lose if partially touching, does not seem intuitive.
评论 #29923308 未加载
andy_ppp超过 3 年前
Should get marginally faster every 10 clicks...
deeviant超过 3 年前
Some sort of measurement or score for more hits per unit time would be cool. Overall, fun little game, nice job.
评论 #29923333 未加载
nashashmi超过 3 年前
Keep this one advancing. Great job with maintaining simplicity. Lots of forks will come your way
franze超过 3 年前
just repaired <a href="http:&#x2F;&#x2F;lalo.li&#x2F;ddd&#x2F;" rel="nofollow">http:&#x2F;&#x2F;lalo.li&#x2F;ddd&#x2F;</a> as prevent default changed behaviour on event listeners some time ago (from default active to passive, needed to set them to passive)
ericblues超过 3 年前
Cool! Reminds me of defusing mines in a game I used to play. Can&#x27;t remember the name.
zanethomas超过 3 年前
Couldn&#x27;t add my score because twitter doesn&#x27;t like what I have to say.
mattfrommars超过 3 年前
Reminds me a hamster game from back in the gay - the hamster would go in a loop.
analog31超过 3 年前
Ouch, eyestrain. Not really a complaint, but a limitation of my own physiology.
xavhan超过 3 年前
it remind me of Super Hexagon :D<p>You could change the dot rotation direction on each success ...
hnburnsy超过 3 年前
Great game! Suggestion, penalize each rotation that does not have a click.
typon超过 3 年前
This is very similar to the popular game &quot;Pop the lock&quot;
AtNightWeCode超过 3 年前
When you come to the white beans it becomes sooo difficult.
GrifMD超过 3 年前
This was delightful, and now I will get no work done today.
johncs超过 3 年前
Oh hey, it’s one of Fable’s mini games! Very cool to see
tinyprojects超过 3 年前
This is great! You&#x27;ve got something here
TomGullen超过 3 年前
Right click resets it, otherwise good game!
wnolens超过 3 年前
I love this. Added to my home screen.
avierax超过 3 年前
Great, free dopamine for my ADHD!
johnmorrison超过 3 年前
I love it, accurate description
jordiburgos超过 3 年前
This game is hooking!
atum47超过 3 年前
Simple yet addictive
scrozier超过 3 年前
&quot;Thanks.&quot;
murtio超过 3 年前
Nice minimal game!
ChemiSpan超过 3 年前
WOW FANTASTIC GAME HOW DID YOU MAKE IT
xbar超过 3 年前
Best: 1
philosopher1234超过 3 年前
Hypnotic
VishwaGauravIn超过 3 年前
Nice one
papa2034超过 3 年前
Nice game!
ZeroOne_010101超过 3 年前
maybe rotate the colors?
snihalani超过 3 年前
so good
popfastful超过 3 年前
you can also try the minimal game to waste your time <a href="https:&#x2F;&#x2F;www.snapfeel.com&#x2F;share&#x2F;post&#x2F;?id=116" rel="nofollow">https:&#x2F;&#x2F;www.snapfeel.com&#x2F;share&#x2F;post&#x2F;?id=116</a>
Shadonototra超过 3 年前
it&#x27;s basically a clone of what is already playable in the link they provide<p>literally the same<p>what is the point other than pure 100% identical copy<p>no shame?<p><a href="https:&#x2F;&#x2F;coogyloop.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;coogyloop.com&#x2F;</a>
评论 #29927606 未加载
jckahn超过 3 年前
Awesome work! I strongly recommend monetizing this. If this was a native iOS&#x2F;Android app, you could show an interstitial ad after each Game Over and offer a small in-app purchase to remove all ads. It worked for 2048, and I believe it would work here as well!<p>Addictive drop-dead simplicity is repeatable recipe for success in games. I&#x27;m working towards this same strategy in my own projects, but I think you&#x27;ve really nailed it here!<p>EDIT: Whoops, I just noticed that this was based off such an app. Still, great work on the implementation!
评论 #29923265 未加载
评论 #29927511 未加载