Live data from Hacker News

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

looptap.vasanthv.com

141–150 of 183 posts

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

#141

Great stuff, got 315 on third try. I made a game in the same vein sometime ago: https://vladimirslepnev.itch.io/zigzag One thing to note about this kind of endless runner games is the scoring system. Everyone uses the system "get as much points as possible in one run, each run starts from zero". But that forces people to slog through the early parts each time, and also makes them more likely to stop playing after an…

It took me a while to understand what was going on with your game. Once I got it it was fun, though! For anyone else confused: the goal is to keep the light colored "snake" moving through the dark colored "tunnel". When the snake stops moving, it's because it's at a junction in the tunnel. You're goal is to tell the snake which direction to go (either left or right) _from its perspective_.

Thanks, that helped a lot. I couldn't figure out how this worked without this tip.

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

#142
post #42

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. https://pastebin.com/aTYuaNVS 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/context switch/whatever) and ta-da - it misclicked. High score of 1,637.

This effectively turns this game into a spinning animation that appears to get increasingly frustrated that whatever is being loaded hasn't completed yet

Correct.. what it is loading, is effectively your score though. Or rather, measuring it, which takes some time? No idea, this is nonsense:)

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

#144
post #122
post #72

Earlier quoted context omitted.

It's not exactly playing the game, but this was my approach: setInterval(() => { loopTapApp.arc = [ -Infinity, Infinity ] loopTapApp.tap({ preventDefault: () => {}, stopPropagation: () => {} }) })

This is just "console.log("You Won!");" with extra steps... /s

Isn’t everything though? “Finally, the box of blinking lights is showing the pattern of lights I want it to!”

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

#145
post #119
post #42

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. https://pastebin.com/aTYuaNVS 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/context switch/whatever) and ta-da - it misclicked. High score of 1,637.

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))")

This entire comment thread is hilarious

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

#146

Great stuff, got 315 on third try. I made a game in the same vein sometime ago: https://vladimirslepnev.itch.io/zigzag One thing to note about this kind of endless runner games is the scoring system. Everyone uses the system "get as much points as possible in one run, each run starts from zero". But that forces people to slog through the early parts each time, and also makes them more likely to stop playing after an…

I wanted to keep going just to hear more of the song!

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

#147

Because it had to be done: let robot = function () { const ballAngle = loopTapApp.getBallAngle(); const arc = loopTapApp.arc; if (ballAngle + 6 > arc[0] && ballAngle - 6

Why does this autoplay cause the ball to seemingly "jump/skip"?

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

#148
post #42

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. https://pastebin.com/aTYuaNVS 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/context switch/whatever) and ta-da - it misclicked. High score of 1,637.

This is neat. Also, in retrospect, I probably should have read the code before pasting it into my console.

Code run in the console has the same restrictions as code on the page it is for so it's not really any riskier than clicking the post link in this case. For sites you have (or will have) a presence on (bank, HN, email, etc) it's a very risky idea though.

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

#150

Great stuff, got 315 on third try. I made a game in the same vein sometime ago: https://vladimirslepnev.itch.io/zigzag One thing to note about this kind of endless runner games is the scoring system. Everyone uses the system "get as much points as possible in one run, each run starts from zero". But that forces people to slog through the early parts each time, and also makes them more likely to stop playing after an…

that's a great little game!
Post reply on HN