>>12
I tried this and I was amazed it actually worked. I would've assumed that dataclass would've interpreted it as an argument with a callable type and a default value instead of being a class member.
The downside to your golf is, if the chanogachi is dead, every time you run the code it will add more hunger forever.
it's simple to fix though, just check if it's alive before doing anything.
by the recommendation of some anons on lainchan IRC I'm thinking about re-writing it in smalltalk so that it's an image-based program.
Or figure out how to make python image-based (dear god forgive me for even thinking about this)