How fichiex/spirit-feeder works
Spirit Feeder is a Bible-learning pet game with account management, a study room, scripture reading and memorization, pet care, and competitive play. The principal path is player → mobile study experience → API-backed account, pet, and reading operations, alongside local study progress and room customization. Ranked battles, serpent battles, and friend invitations are distinct game branches. The excerpts establish selected client calls and server registration, but not all API handlers or storage details; unverified links are omitted.
Main entry points: study.tsx Study room · main.py API application · MemorizeScreen.tsx Verse practice · auth.ts Auth and game API
Components 26
Mobile app
- Sign in and register
mobile/src/components/auth/RegisterForm.tsx - Study room
mobile/src/app/study.tsx - Player session
mobile/src/session.ts - Account API client
mobile/src/api/account.ts - Auth and game API
mobile/src/api/auth.ts
Study and pet
- Bible reader
mobile/src/components/study/BibleReader.tsx - Verse practice
mobile/src/components/study/MemorizeScreen.tsx - Memory progress
mobile/src/memorize/verses.ts - Room customization
mobile/src/components/study/DecorMenu.tsx - Decoration inventory
mobile/src/decor/items.ts - Pet animation forms
mobile/src/pets/forms.ts - Feed and care
mobile/src/components/study/FoodTray.tsx - Study tests
mobile/src/components/study/TestPanel.tsx
Battles and friends
- Live battle screens
mobile/src/app/pvp.tsx - Battle questions
mobile/src/battle/questions.ts - Friends and invites
mobile/src/api/friends.ts - Invite watcher
mobile/src/components/InviteWatcher.tsx
Backend services
- API application
main.py - Account service
account.py - Memorization service
memorize.py - Testing service
testing.py - Ranked battle service
pvp.py - Battle question bank
pvp_questions.py - Friend service
friends.py - Serpent battle service
serpent.py
Other components
- Player
Connections 28
- Player → Sign in and register: signs in
mobile/src/components/auth/RegisterForm.tsx - Player → Study room: studies
mobile/src/app/study.tsx - Sign in and register → Auth and game API: submits credentials
mobile/src/components/auth/RegisterForm.tsx - Auth and game API → API application: calls API
mobile/src/api/auth.ts - Study room → Auth and game API: loads readings
mobile/src/app/study.tsx - Study room → Account API client: loads account
mobile/src/app/study.tsx - Study room → Player session: sets player
mobile/src/app/study.tsx - Study room → Bible reader: opens scripture
mobile/src/app/study.tsx - Study room → Verse practice: opens practice
mobile/src/app/study.tsx - Study room → Room customization: opens decor
mobile/src/app/study.tsx - Study room → Feed and care: opens feeding
mobile/src/app/study.tsx - Study room → Study tests: opens tests
mobile/src/app/study.tsx - Study room → Pet animation forms: renders pet
mobile/src/app/study.tsx - Verse practice → Memory progress: loads progress
mobile/src/components/study/MemorizeScreen.tsx - Verse practice → API application: fetches XP
mobile/src/components/study/MemorizeScreen.tsx - Room customization → Decoration inventory: loads inventory
mobile/src/components/study/DecorMenu.tsx - API application → Account service: registers routes
main.py - API application → Testing service: registers routes
main.py - API application → Memorization service: registers routes
main.py - Live battle screens → Battle questions: uses questions
- Live battle screens → API application: connects to game API
- API application → Ranked battle service: optional setup
pvp.py - Ranked battle service → Battle question bank: uses questions
pvp.py - Friends and invites → API application: calls friend API
- Invite watcher → Friends and invites: polls invites
mobile/src/components/InviteWatcher.tsx - API application → Friend service: optional setup
friends.py - Friend service → Ranked battle service: delegates battle response
friends.py - API application → Serpent battle service: optional setup
main.py