Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cafe Going Under

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.

Screenshots

Title

Cafe Going Under title screen

Customer order

A customer placing an order in Cafe Going Under

Features

  • 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

Tech stack

  • React 18 and TypeScript
  • Vite 6
  • PixiJS 8
  • Capacitor 8
  • Apps in Toss Web Framework
  • Vitest

Getting started

Requirements

  • 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 dev

Open the local URL printed by Vite. Rewarded ads use a local fallback dialog during regular web development.

Commands

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 artifact

Project structure

src/
  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

Game loop

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é.

Configuration and secrets

  • Keep .env* and service-account files out of Git.
  • Asset-generation scripts read their provider credentials from environment variables.

Contributing

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.

License

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.

About

A cozy café management roguelike about brewing drinks, reading customers, and staying ahead of debt.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages