How shea4it/ssks-garden-buddy works
SSK’s Garden Buddy is an Electron companion for Magic Garden. The user opens the game in the app; the Buddy observes game state and shop/weather data, then presents alerts, garden and pet guidance, money forecasts, luck counters, and room tools in its control panel. The graph keeps the main process as the orchestrator and separates analysis domains from persisted settings and optional integrations. Relationships come from the README and the supplied SOURCE INDEX; unsampled implementation details are not inferred.
Main entry points: main.js App controller · garden-plan.js Garden map plan · pet-plan.js Pet team planning · pity.js Egg hatch counters
Components 27
App runtime
- App controller
main.js - Control panel
control.html - Game observer
garden-observer.js - Saved settings
store.js
Garden and money
- Garden map plan
garden-plan.js - Crop valuation
crop-data.js - Money forecasts
budget.js
Pets and luck
- Pet data
pet-data.js - Ability data
ability-data.js - Pet team planning
pet-plan.js - Sell team value
sell-team.js - Egg hatch counters
pity.js - Rare pull counters
luck.js
Alerts and extras
- Shop alerts
alerts.js - Natural voices
voices.js - Speech output
tts.js - Weather helpers
weather.js - Room sharing
rooms.js - Backups
backup.js - Visual effects
fun.js - App updates
updater.js
Other components
- Player
- Magic Garden
- Magic Garden shop feed
- Community room service
- GitHub
- Voice downloads
Connections 27
- Player → App controller: opens and configures
README.md - Magic Garden → Game observer: provides game data
README.md - App controller → Game observer: observes game
- App controller → Control panel: presents controls
README.md - App controller → Saved settings: reads and saves
main.js - App controller → Shop alerts: coordinates alerts
main.js - App controller → Money forecasts: records purchases
main.js - App controller → Garden map plan: plans garden
main.js - Garden map plan → Crop valuation: values crops
garden-plan.js - App controller → Pet team planning: plans teams
main.js - Pet team planning → Ability data: uses ability data
pet-plan.js - App controller → Pet data: uses pet catalog
main.js - App controller → Sell team value: values sell teams
main.js - App controller → Egg hatch counters: tracks hatches
main.js - Egg hatch counters → Pet data: uses egg data
pity.js - App controller → Rare pull counters: tracks rare pulls
main.js - App controller → Weather helpers: checks weather teams
main.js - App controller → Room sharing: handles room tools
main.js - App controller → Backups: handles backups
main.js - App controller → App updates: checks updates
main.js - App controller → Visual effects: runs visual effects
main.js - Shop alerts → Magic Garden shop feed: fetches shop data
alerts.js - App controller → Natural voices: manages voice options
main.js - Natural voices → Voice downloads: downloads voices
README.md - App controller → Speech output: speaks alerts
main.js - App controller → Community room service: reads or shares rooms
README.md - App controller → GitHub: checks updates
README.md