How krupani/bollybash works
Bollyflip is a host-run, browser-based Bollywood movie party game: the host selects a game mode, adds players, presents clues on a shared screen, reveals answers, awards points, and reaches a ranked results screen. The main product stages are the three clue modes, player and score management, tutorial, and results; browser localStorage preserves session state. Source excerpts show the game registry and parts of the shared UI, while README statements support the broader workflow. Some wiring is unsampled, so those relationships are omitted or marked unverified.
Main entry points: games.js Mode registry · app.js Game app · bollyflip.js Flip mode · bollytwist.js Twist mode
Components 13
Game play
- Game app
scripts/app.js - Mode registry
scripts/games.js
Clue decks
- Flip mode
data/bollyflip.js - Twist mode
data/bollytwist.js - Jumble mode
data/bollyjumble.js
Players and scores
- Player setup
scripts/app.js - Round controls
scripts/app.js - Leaderboard and undo
scripts/app.js - Results podium
scripts/app.js
Tutorial and persistence
- Saved session
scripts/app.js - Interactive tutorial
scripts/app.js - Tutorial samples
data/sample.js
Other components
- Host and players
Connections 12
- Host and players → Game app: plays on
README.md - Mode registry → Flip mode: reads deck
scripts/games.js - Mode registry → Twist mode: reads deck
scripts/games.js - Mode registry → Jumble mode: reads deck
scripts/games.js - Game app → Mode registry: uses modes
- Host and players → Player setup: adds players
README.md - Host and players → Round controls: runs rounds
README.md - Round controls → Leaderboard and undo: opens ranking
scripts/app.js - Leaderboard and undo → Results podium: ends game
scripts/app.js - Game app → Saved session: persists state
README.md - Host and players → Interactive tutorial: learns rules
README.md - Interactive tutorial → Tutorial samples: uses examples
data/sample.js