Add Sea Buddy oceanic tamagotchi app - #6
Open
beck-source wants to merge 1 commit into
Open
Conversation
An oceanic virtual-pet game for the Oceanic Preservation Society demo bundle. Hatch and raise a sea turtle through six life stages; lifespan is shown as a battery bar that fills with care and drains with neglect. Features: - Startup wizard explaining feed/pet/clean/play/nap controls, battery lifespan, evolution, and reset - Animated undersea scene: gradient ocean, swaying kelp, rising bubbles, passing fish, coral, sandy seabed - Six life stages (Egg -> Hatchling -> Tot -> Juvenile -> Adult -> Ancient); base interval one hour, accelerated by care actions - Seven facial expressions tied to emotion state (happy, neutral, hungry, angry, sad, worried, asleep) - 18 short tone sequences via M5.Speaker for emotion cues, care feedback, evolution, and discovery - Six easter eggs unlocked by typed phrases, the arrow-key Konami sequence, and care milestones - State persists to /flash/sea_buddy.json across power cycles Split into three modules (sea_buddy.py entry + _sb_core.py state + _sb_view.py drawing) so each compiles within the ESP32-S3's free heap; a single ~40 KB source file MemoryError'd at import. The underscore-prefixed helpers are skipped by the launcher's app discovery.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
buddy/device/apps/sea_buddy.py(+_sb_core.py,_sb_view.pyhelpers): an oceanic virtual-pet game for the Cardputer-Adv with an Oceanic Preservation Society conservation theme/flash/sea_buddy.jsonMemoryError) in the ESP32-S3's free heap after the launcher loads; the_-prefixed helpers are hidden from the launcher's app menuTest plan
sea buddyappears in the launcher menu (and_sb_core/_sb_viewdo not)ops,wave,kelp, and the arrow Konami sequence to confirm easter eggs