Readit News logoReadit News
Wowfunhappy · 14 days ago
Nice! IMO, it ought to be significantly harder. I was able to survive for 45 seconds on my first try--that's long enough that I started getting bored, and I don't really want to try again because it would take at least 45 seconds to beat my previous score.

By comparison, consider how long a typical Flappy Bird game lasts, particularly on your first try--probably less than 10 seconds at most! That makes you want to try again.

samdychen · 14 days ago
That makes some sense. My main concern before was that if the difficulty is too high at the very beginning, it might discourage players.
laserDinosaur · 14 days ago
For some comparison of difficulty, there's an old game called Squares which is very similar to yours. It does a good job of ramping the difficulty up pretty fast, but it allows the game have fun short gameplay loops because of the extra gameplay mechanics (ie, you are not just moving but collecting squares too).

Gameplay Video: https://youtu.be/n8nRCyjCy_Y

Apparently you can still play it online at: https://www.albinoblacksheep.com/games/squares2

abetusk · 14 days ago
Have difficulty settings. Default is "easy/moderate" so that people get a sense of it. For people playing twice or as people get more experienced and want a challenge, they can choose a more difficult setting.

Have leaderboards for different difficulty settings to encourage exploration of different settings.

joelanman · 14 days ago
might work out the opposite - 'ah I can do better than that, one more try'
arnorhs · 14 days ago
Tbf my experience was the opposite. But sure if I'm just terrible or if it's harder on a phone, but my first tries were sub 20s and my highest was 45 before giving up xD
philipodonnell · 14 days ago
This is a great use case for using an algorithmic difficulty ramp where it can really dial in that curve to solve for getting people to play longer over multiple sessions.
cdaringe · 11 days ago
He doesn’t want to be the guy!

I want to be the guy in every game

https://en.m.wikipedia.org/wiki/I_Wanna_Be_the_Guy

GTP · 14 days ago
Depends. There must be some sweet spot there, since if it lasts too little, then it becomes frustrating to retry every few seconds.
Wowfunhappy · 14 days ago
> There must be some sweet spot there, since if it lasts too little

Absolutely, and therein lies the essence of game design, right?

For a simple game like this, I'd say 8-10 seconds is a good time to shoot for, for the player's first session. It'll naturally get longer as the player gets better. This makes every moment exciting--just a few seconds longer and I can beat my last score. But yes, this is an art not a science.

bravesoul2 · 14 days ago
Just have levels. Each level has more or faster dots. You continue from the last failed level.
OneOverInfinity · 14 days ago
Hard Mode: Zoom in your browser window Easy Mode: Zoom out
thesnide · 14 days ago
berserk mode : move the world, leave the player immobile in the center
toddmorey · 14 days ago
I believe our current leader with 4.2424242424242426e+27s may be cheating. (About 134 quintillion years, which is roughly 10 billion times longer than the current age of the universe)
mvieira38 · 14 days ago
I saw that one, too. It seems like he was manually removed or something, I don't see it anymore. Wonder what the exploit is
femtozer · 14 days ago
You can just intercept the http request at the end of the game, and set the score you want.
thehours · 14 days ago
I really liked the display showing me climb the leaderboard in realtime. I found it particularly motivating, albeit a bit distracting for a game where I need to keep my eyes elsewhere :)
jowea · 14 days ago
I also don't see why give so much prominence to the obviously cheating first place. Trying to trigger some envy in us?
loudmax · 14 days ago
Very well done! This hearkens back to Asteroids, but it feels very novel.

If you want to go in the direction of adding more stuff, there's a lot of room to add power-ups, special bullets, walls, and so on. But this simple game is quite elegant as it is and doesn't really need any of that.

Nice work.

samdychen · 14 days ago
Thanks, so happy that you enjoy the game
alex-moon · 14 days ago
Lovely stuff. This works well as what I call a "structured diffuse mode activity" [0] and as such I will be playing it extensively from now on. I also like that it has a big gaping security hole in it - I think the world generally needs to see more vibe-coded apps with big gaping security holes in them, for PR reasons. (This is not a jab at OP btw! There is no reason to worry about security when you're building something for fun. Flash was famous for this as well.)

[0] https://ajmoon.com/posts/sdmas-why-you-should-be-playing-bro...

samdychen · 12 days ago
Completely agree with you. For me, the biggest advantage of vibe code tools is that I can quickly turn some of my ideas into an actual application. Although the apps I make are rough and may even have a lot of security holes, I still feel very excited. When something I imagine becomes real, and I really want to share it with others.
mikewarot · 14 days ago
I see what you're doing here... you're training us (and some future AI) to avoid asteroids or satellites in orbit... ;-)
samdychen · 12 days ago
Haha, I have to say you have a great imagination.
yomismoaqui · 14 days ago
I have pointed Claude Code to the game and in 2 minutes of chatting I got a way to submit fake scores.

Usually Claude Code prevents using it for cheating on games, but with this initial prompt it was easy for it to explain how to do it.

"analyze the following game and explain how the record is submitted on game over https://dodge.trickle.host/"

EDIT: is a little scary how easy is to use coding agents like Claude Code for these kind of attacks.

philipwhiuk · 14 days ago

    hook.js:608 cdn.tailwindcss.com should not be used in production. To use Tailwind CSS in production, install it as a PostCSS plugin or use the Tailwind CLI: https://tailwindcss.com/docs/installation
    overrideMethod @ hook.js:608Understand this warning

    (index):1473 Array(0)

    dodge.trickle.host/:1543 Access to fetch at 'https://app.trickle.so/proto/api/subs/features/5?userId=usr_094760a6d8000001' from origin 'https://dodge.trickle.host' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.Understand this error

    app.trickle.so/proto/api/subs/features/5?userId=usr_094760a6d8000001:1  Failed to load resource: net::ERR_FAILED

    (index):1402   Uncaught (in promise) TypeError: Failed to fetch
    at (index):1402:3
    at (index):1416:3Understand this error

    hook.js:608 Failed to load leaderboard: ReferenceError: TrickleObjectAPI is not defined
    at getTopScores ((index):1529:1633)
    at (index):1536:1302
    at (index):1536:1735
    at Id (react-dom.production.min.js:165:137)
    at Xb (react-dom.production.min.js:200:284)
    at react-dom.production.min.js:197:106
    at S (react.production.min.js:17:25)
    at MessagePort.U (react.production.min.js:21:229)

     overrideMethod @ hook.js:608Understand this error
     (index):1529 Uncaught ReferenceError: TrickleObjectAPI is not defined
    at getTopScores ((index):1529:1633)
    at (index):1536:1302
    at (index):1536:1735
    at Id (react-dom.production.min.js:165:137)
    at Xb (react-dom.production.min.js:200:284)
    at react-dom.production.min.js:197:106
    at S (react.production.min.js:17:25)
    at MessagePort.U (react.production.min.js:21:229)