ComingUp ComingUp
SlotsGaming — Telegram Casino Mini App

SlotsGaming — Telegram Casino Mini App

Full-featured Telegram Casino Mini App built on FastAPI + Aiogram 3

kandreyka1992 Posted by kandreyka1992

Is this your project? Ask us to take it down

Gallery

SlotsGaming — Telegram Casino Mini App

About

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎰 SLOTSGAMING — TELEGRAM CASINO MINI APP

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

A production-ready Telegram Casino Mini App with a complete gaming ecosystem, 12 revenue streams, and a powerful admin panel. Built on FastAPI + Aiogram 3 with a vanilla JS frontend — no heavy frameworks, 60 FPS animations, mobile-first design.

Deploy on any VPS in under 30 minutes. Includes auto-migrating database, Docker config, and full documentation.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎮 7 CASINO GAMES

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

• 🎰 Slots 5×3 — 20 paylines, reel-stop animation, winning-line highlight

• 📈 Crash — rocket with trail, canvas rendering, auto-cashout

• ⛏ Mines 7×7 — configurable mine count (3/5/8/12/24), particle effects

• 🎯 Plinko — 3 risk levels, 13 slots, ball physics with trail

• 🎲 Dice — 4 bet modes (1-3, 4-6, 4-6+, exact 6), multipliers up to ×5.7

• 🔫 Russian Roulette — 6 steps, multiplier up to ×7.0

• 🪙 Coin Flip — 50/50, spinning animation, history

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚔️ PVP ARENA

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

• 3 formats: 1v1 Duel, 4-player Tournament, 8-player Tournament

• 4 games available: Slots, Crash, Mines, Dice

• 6 bet levels: 10 / 50 / 100 / 500 / 1 000 / 5 000 coins

• Private tables with password protection

• Real-time table chat

• Invite via link: t.me/bot?start=pvp_123

• PvP leaderboard with winrate

• Personal stats: wins, losses, winrate

• 2% casino commission on prize pool

• Auto-cleanup of stale tables (5 min timeout)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📦 CASES & INVENTORY

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

• 31 unique cases — from Starter (20 ⭐) to Titan (10 000 ⭐)

• 6 rarity tiers: common → uncommon → rare → epic → legendary → mythic

• 900+ unique items with emoji, name, and value

• CS:GO-style roulette opening with cursor and winner pulse

• Multi-open: ×1, ×2, ×3, ×5, ×10

• Inventory with item selling and sorting

• Free daily case (streak up to ×2 bonus)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚡ UPGRADER

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

• 40+ target items from Cherry to Lightning

• Animated SVG chance circle

• Hidden house edge (35%) + penalties for expensive targets

• Quick-mult buttons ×2, ×4, ×8

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

💰 12 MONETIZATION CHANNELS

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. Battle Pass — 50 levels, free + Premium track (250 ⭐)

2. Referrals — 5% of every referred bet + 10% discount

3. Cashback — up to 12% (Bronze → Silver → Gold → Platinum)

4. Daily Quests — 3 random out of 12, refresh every 24h

5. Hourly Bonus — streak up to ×5 (100 → 500 coins)

6. Wheel of Fortune — 24h cooldown, 8 prizes including cases

7. Promo Codes — coins and discounts

8. Jackpot — grows with every bet (1% of stake)

9. Daily Tournament — 30 minutes at 20:00 MSK, prize pool from 100 000 coins

10. Hall of Fame — all wins 100 000+

11. Free Case — 24h cooldown after 10+ ⭐ deposit

12. Daily Bonus — 200 + streak × 25 coins

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

💸 WITHDRAWALS

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

• Telegram Stars — 1 000 ⭐ for 150 000 coins

• Activity check (3 days of visits) before withdrawal

• Request system with admin notifications

• Admin can approve / reject from panel

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚙️ ADMIN PANEL (11 SECTIONS)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

• 📊 Statistics — users, coins, withdrawals, RTP, casino profit

• 💸 Withdrawal management — approve / reject in one click

• 💰 Balance — give / set by ID or @username

• 📢 Broadcast — HTML message to all users

• 🎟 Promo codes — create (coins/discounts), delete, list

• 🎒 User inventory — view + "steal item" for yourself

• 🎲 Winrate control — 0–100% + payout multiplier (global or per-user)

• 📜 Logs — all admin actions

• 📥 Excel export — users, transactions, RTP

• 🔔 Notifications — user alerts settings

• 🎁 Promo codes + discounts

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🛠 TECH STACK

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

• Backend: FastAPI (Python 3.11+)

• Bot: Aiogram 3.x

• Frontend: Vanilla JS + CSS3 (no frameworks)

• Database: SQLite (easy migration to PostgreSQL)

• Scheduler: APScheduler (daily tournaments, reminders)

• Payments: Telegram Stars (XTR)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🏗 ARCHITECTURE HIGHLIGHTS

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

• Auto-migrating database on startup (no manual scripts)

• 50+ database tables with proper indexes and relations

• Fully async codebase

• In-memory games (don't load DB during play)

• NoCacheStaticFiles — instant frontend updates

• HMAC validation of initData via Telegram

• Background cleanup of stale PvP tables (every minute)

• Docker-ready — Dockerfile + docker-compose.yml

• Adaptive layout — works from iPhone SE to iPad

• Light/dark theme toggle

• Pull-to-refresh gestures

• Skeleton loading screens

• Ripple effects on buttons

• 60 FPS animations (CSS + Canvas)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📦 WHAT'S INCLUDED

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✅ Full source code (backend + bot + frontend)

✅ SQLite schema with auto-migration

✅ 31 cases + 900+ items pre-loaded

✅ 40+ upgrader targets

✅ PvP system (tables, tournaments, chat)

✅ README with deployment instructions

✅ .env.example — all settings in one file

✅ Dockerfile + docker-compose.yml

✅ 7 days of post-purchase support

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHO IS IT FOR

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

• Entrepreneurs — turnkey business, no dev costs

• Developers — white-label base for client projects

• Marketers — ready to receive traffic

• Investors — 12+ monetization channels out of the box

• Studios — base for fast casino project launch

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📞 CONTACT

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Telegram: @Welcomedse

Live Demo: https://t.me/SlotsGameFast_bot

Comments (0)

No comments yet. Be the first to comment!