• sudo@programming.dev
    link
    fedilink
    English
    arrow-up
    6
    ·
    6 hours ago

    BUDDY - A Tamagotchi Inside Your Terminal

    I am not making this up.

    Claude Code has a full Tamagotchi-style companion pet system called “Buddy.” A deterministic gacha system with species rarity, shiny variants, procedurally generated stats, and a soul description written by Claude on first hatch like OpenClaw.

    The entire thing lives in buddy/ and is gated behind the BUDDY compile-time feature flag. The Gacha System

    Your buddy’s species is determined by a Mulberry32 PRNG, a fast 32-bit pseudo-random number generator seeded from your userId hash with the salt

    4/1

    • GenderNeutralBro@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 hours ago

      They say this was done with Codex and OpenCode.

      I admit I’m behind the time with AI coding agents. Is it actually possible to do that effectively in such a short time? Or is this going to be riddled with sloppy bugs?

      • WhiteRice@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        4 hours ago

        I would say recompiling code with discrete units tests is probably a good use case. It allows for a tight feedback loop with the agent.

        You will probably get the mean deliverable. Not industrial unless you think to bake in the requirements.

    • Canuck@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      8 hours ago

      Yes, I posted that one and also another one in my original description if you’re interested; it has a full breakdown of the original source code