English | 한국어
A portrait mobile café roguelike about keeping a small shop alive one day at a time.
Customers arrive with different tastes, moods, and ways of describing an order. Choose the right ingredients, complete drink-making minigames, pour latte art, buy equipment, and make the next loan payment before the café goes under.
- 50 customer archetypes ranging from everyday visitors to high-tier special guests
- 43 recipes, 24 ingredients, and 12 purchasable machines
- Exact, conversational, surprise, and taste-profile order styles
- Drink-making minigames for brewing, steaming, timing, matching, and latte art
- Three difficulty levels with different order clarity and debt pressure
- Weather forecasts that affect which customers visit
- Equipment upgrades, recipe discovery, a customer compendium, and permanent perks
- Web, Android (Capacitor), and Apps in Toss build targets
- React 18 and TypeScript
- Vite 6
- PixiJS 8
- Capacitor 8
- Apps in Toss Web Framework
- Vitest
- Node.js 24 or later
- npm
Node.js 24 is required by the current Apps in Toss toolchain.
git clone https://github.com/rapina/cafe-going-under.git
cd cafe-going-under
npm ci
npm run devOpen the local URL printed by Vite. Rewarded ads use a local fallback dialog during regular web development.
npm run dev # Start the Vite development server
npm test # Run the test suite
npm run build # Type-check and create a production web build
npm run preview # Preview the production build
npm run balance:sim # Run the economy balance simulation
npm run android:build # Build and sync an Android debug app
npm run android:install # Install the debug APK on a connected device
npm run toss:dev # Start the Apps in Toss development server
npm run toss:build # Build the Toss AIT artifactsrc/
game/coffee/ Game state, recipes, customers, economy, and minigames
screens/ Title, café, settings, compendium, and latte-art screens
components/ Mobile frame and shared UI
ad-kit/ Web, Toss, and AdMob adapters
platform/ Platform-specific integrations
public/
customers/ Customer portraits
keyart/ Title and story artwork
minigames/ Minigame characters and props
bg/ Café and brewing backgrounds
android/ Capacitor Android project
scripts/ Build, asset-generation, and balance tools
GDD.md Canonical game design document
Open the café
-> read a customer's order
-> choose ingredients
-> complete drink minigames
-> serve and earn revenue
-> buy equipment and repay debt
-> survive the next day
Bankruptcy ends the current run. Meta currency earned after a failed run can unlock permanent support perks for the next café.
- Keep
.env*and service-account files out of Git. - Asset-generation scripts read their provider credentials from environment variables.
Issues and pull requests are welcome. Run npm test and npm run build before submitting a change. Update GDD.md when changing game mechanics, economy, progression, or monetization behavior.
No open-source license has been selected yet. The source is publicly available, but reuse and redistribution rights are not granted until a license is added.

