How whooslizi/lucycurry works
Tiệm Càri của cô Lộc Lucy is a browser-based curry-shop management game. The player accepts the disclaimer, starts a game, enters the story and tutorial, then runs shop days handling orders, cooking, packing, delivery, and pricing. Daily summaries advance the week, with a possible robbery cutscene and an ending after day seven. Shared reducer state persists in local storage. The README is empty; edges reflect shown renders, calls, and source-index references, so unsampled behavior is not expanded into guessed connections.
Main entry points: ShopScene.tsx Shop scene · GameScreen.tsx Game coordinator · gameState.tsx Reducer and save · App.tsx App flow
Components 18
Entry and onboarding
- App flow
src/App.tsx - Disclaimer
src/components/DisclaimerScreen.tsx - Start screen
src/components/StartScreen.tsx - Story
src/components/StoryScreen.tsx - Tutorial
src/components/TutorialScreen.tsx
Shop gameplay
- Shop scene
src/components/ShopScene.tsx - Pricing menu
src/components/PricingMenu.tsx - Outside view
src/components/OutsideView.tsx - CariLive chat
src/components/CariLive.tsx - Recipe modal
src/components/RecipeModal.tsx - Delivery minigame
src/components/DeliveryMinigame.tsx
Day and story progression
- Game coordinator
src/components/GameScreen.tsx - Daily summary
src/components/DailySummary.tsx - Robbery cutscene
src/components/NightCutscene.tsx - Game ending
src/components/EndingScreen.tsx
Game state and data
- Reducer and save
src/game/gameState.tsx - Game types
src/types/game.ts
Other components
- Player
Connections 25
- Player → App flow: starts
src/App.tsx - App flow → Disclaimer: renders
src/App.tsx - App flow → Start screen: renders
src/App.tsx - App flow → Game coordinator: renders
src/App.tsx - Player → Disclaimer: accepts
src/components/DisclaimerScreen.tsx - Player → Start screen: chooses
- Game coordinator → Story: renders
src/components/GameScreen.tsx - Game coordinator → Tutorial: renders
src/components/GameScreen.tsx - Game coordinator → Shop scene: renders
src/components/GameScreen.tsx - Game coordinator → Daily summary: renders
src/components/GameScreen.tsx - Game coordinator → Robbery cutscene: renders
src/components/GameScreen.tsx - Game coordinator → Game ending: renders
src/components/GameScreen.tsx - Shop scene → Pricing menu: renders
src/components/ShopScene.tsx - Shop scene → Outside view: renders
src/components/ShopScene.tsx - Shop scene → CariLive chat: renders
src/components/ShopScene.tsx - Shop scene → Recipe modal: renders
src/components/ShopScene.tsx - Shop scene → Tutorial: renders
src/components/ShopScene.tsx - Shop scene → Delivery minigame: renders
src/components/ShopScene.tsx - Game coordinator → Reducer and save: provides state
src/components/GameScreen.tsx - Shop scene → Reducer and save: reads and dispatches
src/components/ShopScene.tsx - Daily summary → Reducer and save: dispatches updates
src/components/DailySummary.tsx - Robbery cutscene → Reducer and save: dispatches expense
src/components/NightCutscene.tsx - CariLive chat → Reducer and save: reads pricing
src/components/CariLive.tsx - Reducer and save → Game types: uses definitions
src/game/gameState.tsx - Shop scene → Game types: uses order types
src/components/ShopScene.tsx