Skip to content

Reverse Engineering Claude Code's April Fools

variety.is
2 pointssync1 comment
On HN

Comments

syncOP

I've posted here before about Claude Code's easter eggs [1] and they're back with another one this year for April Fools: Tamagotchi-style "buddies" appearing as ASCII art companions, determined by your userId.

Thanks to the Claude Code source code leak I was able to reverse engineer how it all works. Due to their PRNG choice (Mulberry32) it's trivial to crack all 4.29 billion seeds in seconds.

Some findings:

- 1% legendary chance: 42,989,564 seeds out of 2^32 produce legendaries - Stats & shiny appear to be dead code: rolled but never read anywhere. Pure bragging rights? - Commons can't have hats, only uncommon+ rolls from the hat table - "God" rolls exist: legendary + shiny + a maxed stat at 100.

[1] https://news.ycombinator.com/item?id=44376970

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.