Hacker News new | ask | show | jobs
by TeMPOraL 716 days ago
It doesn't anymore.

You're right. I pasted your comment to aider and it fixed it on the spot :).

EDIT: see https://git.sr.ht/~temporal/aider-2048/commit/9e24c20fc7145c....

A bit lazy approach, but also quite obvious. Pretty much what you'd get from a junior dev.

(Also if you're wondering about "// end of function ..." comments, I asked the AI to add those at some point, to serve as anchors, as the diffs generated by GPT-4o started becoming ambiguous and would add code in wrong places.)

1 comments

I think it's also not progressing the block size with score: IIRC the original came also begins spawning 8s and 16s once you get above your first 512 block. But I could be misremembering.

(This kind of feedback driven generation is one of the things I do find very impressive about LLMs. But it's currently more or less the only thing.)

I don't remember it doing progressive block sizing - I only vaguely remember being mildly annoyed by getting to 2048 taking >2x the effort it took to get to 1024, which itself took >2x the effort of getting to 512, etc. - a frustration which my version accurately replicates :).