How sussyback99/fake-casino-telegram-mini-app- works
This is a browser-based slot-machine game with a persistent balance, purchasable and usable bonuses, timed loans, and side activities. The main workflow is player input through app.js, a spin with bonus-adjusted symbols and win calculation, then balance and result updates. State also supports inventory, bankruptcy and arrest conditions, while the source excerpt shows a Snake minigame. The README is empty; the graph reflects only visible source excerpts, so unsampled loan and side-activity details are represented narrowly.
Main entry points: app.js Spin and Payout
Components 14
Slot Gameplay
- Spin and Payout
app.js - Symbol Selection
app.js - Spin Bonuses
app.js - Reel Animation
app.js
Game Economy
- Balance and Bankruptcy
app.js - Shop
app.js - Inventory
app.js - Loans
app.js - Arrest State
app.js
Side Activities
- Snake Minigame
app.js - Street Begging
app.js
Browser Runtime
- Saved Game State
app.js
Other components
- Player
- Telegram WebApp
Connections 14
- Player → Spin and Payout: starts
app.js - Spin and Payout → Symbol Selection: picks symbols
app.js - Spin and Payout → Spin Bonuses: applies bonuses
app.js - Spin and Payout → Balance and Bankruptcy: updates balance
app.js - Spin and Payout → Reel Animation: animates reels
app.js - Spin and Payout → Saved Game State: saves state
app.js - Shop → Inventory: renders owned items
app.js - Inventory → Spin Bonuses: activates item effects
app.js - Balance and Bankruptcy → Saved Game State: persists state
app.js - Player → Shop: interacts
app.js - Player → Loans: enters amount
app.js - Player → Snake Minigame: controls
app.js - Player → Street Begging: interacts
app.js - Telegram WebApp → Spin and Payout: provides feedback
app.js