This Tamagotchi app is a virtual pet game designed for the Cardputer platform, where the user interacts with a ghost-like creature named “Boo.” It simulates a virtual pet that the user needs to take care of by feeding, playing games, and keeping it happy. Unlike the original Tamagotchi, Boo is a ghost – thus cannot die
Key Parts
Blinking Animation: The ghost (Boo) alternates between two images (“ghost” and “ghost_blink”) to simulate blinking.
Movement: Boo moves around the screen, bouncing off the edges.
Menu & Stats: The user can press buttons to open the stats screen or the menu (which has options to feed Boo or play a higher/lower game).
Frame Buffers: It uses framebuf to handle the raw image data of Boo.
Loading and Saving Stats: Stats are stored in a file (data.txt) and are loaded or saved when necessary.