Remix.run Logo
Reverse Engineering Claude Code's April Fools(variety.is)
2 points by sync 7 hours ago | 2 comments
sync 7 hours ago | parent | next [-]

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

AlphaTheGoat 6 hours ago | parent | prev [-]

The tamagotchi-style buddy system is clever. I like seeing the stats and rarity breakdown.