Show HN: Looptap – A minimal game to waste your time
81–90 of 183 posts
Re: Show HN: Looptap – A minimal game to waste your time
#82One 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.
Brilliant, thanks. Are you usually able to do this when e.g. it's more of a SPA and you have to drill down more to get to the state of some deeply nested component?
Re: Show HN: Looptap – A minimal game to waste your time
#83One 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.
Re: Show HN: Looptap – A minimal game to waste your time
#84One 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.
You beat me to it, haha, This is what I just did: function intersectRect(rectA, rectB) { return !( rectB.left >= rectA.right || rectB.right = rectA.bottom || rectB.bottom const arc = document.getElementById("arc"); const ball = document.getElementById("ball"); setInterval(() => { if (intersectRect(arc.getBoundingClientRect(), ball.getBoundingClientRect())) { window.dispatchEvent(new KeyboardEvent('keypress', { keyCod…
Of course, for how delightfully simple this one is, your approach is definitely faster/better!
Re: Show HN: Looptap – A minimal game to waste your time
#85"Martha. If you beat my score on 1st attempt, I'll do those TPS reports." lol.
Re: Show HN: Looptap – A minimal game to waste your time
#86Great 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_.
Re: Show HN: Looptap – A minimal game to waste your time
#87Because it had to be done: let robot = function () { const ballAngle = loopTapApp.getBallAngle(); const arc = loopTapApp.arc; if (ballAngle + 6 > arc[0] && ballAngle - 6
Re: Show HN: Looptap – A minimal game to waste your time
#88Great 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 really like your idea for solving the "endless runner problem." I guess the reason we haven't seen mobile games adopt this already is because each restart is an opportunity to show you an ad. :/
Re: Show HN: Looptap – A minimal game to waste your time
#89Cool game! I know you're trying to keep it simple but a couple suggestions that might help and won't increase game complexity too much: 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't gotten far enough for this to happen...?) 4. If you're adding more points for "same rotation hit", make it clear that it's do…
Re: Show HN: Looptap – A minimal game to waste your time
#90This is a great little time waster! Couple of recommendations, in no particular order: 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…