How andr3wsw/cash works
Cash Clicker is a browser-based idle game with account-backed progress and several social and game features. A player interacts with the page to earn and spend money, play casino games, and manage a stock portfolio; the app stores player data in Firebase. The single large script also handles authentication, leaderboards, and chat. The README is empty, and the source excerpt is partial, so this map includes only capabilities and relationships visible in the supplied tree and excerpt.
Main entry points: index.html Game page · script.js Account authentication
Components 11
Game play
- Game page
index.html - Clicking and upgrades
script.js - Casino games
script.js
Accounts and state
- Account authentication
script.js - Player data
script.js
Social features
- Leaderboard
script.js - Player chat
script.js
Stock market
- Stock market
script.js
Other components
- Player
- Firebase Authentication
- Cloud Firestore
Connections 14
- Player → Game page: interacts with
- Game page → Clicking and upgrades: triggers
script.js - Game page → Casino games: opens games
script.js - Game page → Account authentication: submits credentials
script.js - Clicking and upgrades → Player data: saves progress
script.js - Account authentication → Firebase Authentication: authenticates
script.js - Account authentication → Cloud Firestore: creates player record
script.js - Player data → Cloud Firestore: reads and writes
script.js - Game page → Leaderboard: opens tab
script.js - Leaderboard → Cloud Firestore: queries scores
script.js - Game page → Player chat: sends messages
script.js - Player chat → Cloud Firestore: reads and writes
script.js - Game page → Stock market: uses market
script.js - Stock market → Cloud Firestore: reads and writes
script.js