📘 TECHNICAL TASK: LOST DEMON
🔥 General Information
| Category | Value |
|---|
| Platform | Android (Unity 2D) |
| Server | .NET (C#) or Node.js (on VPS/VDS) |
| Connection | WebSocket |
| Database | MySQL + Redis (optional) |
| Authorization | Google (OAuth2 or Firebase Auth) |
| Game Type | Online shooter with auto-battle, RPG progression, cards, market, crafting |
| Sessions | Up to 10 players simultaneously, each for themselves |
| Goal | Create a PvP game with economy, customization, monetization, and replayability |
🎮 1. Gameplay
Fights 10 on 1 location, each for themselves
Auto-battle, player controls actions:
Loot searching
Attacking enemy
Exiting
Inventory limited (slots or weight)
Cards (activated manually): buffs, heals, invisibility, shields, etc.
Death = loss of loot
Exit = saving items
Death zones every 10 minutes (battle royale logic)
👤 2. Player Profile
Google UID
Data:
Name
Level
Characters
Coins
DM (donation currency)
Subscriptions (VIP / Premium / BattlePass)
Unlocked skins, cards, items
Roles: user / admin
🧙 3. Characters
Unique stats, active/passive skills
Progressed through fights
Created by administrator or purchased:
Zero characters — available at start
Skills can be bought for them
🃏 4. Cards
Effects: enhancement, protection, damage, control, leak
Rarity: common / rare / epic / legendary / unique
Cards are bought/dropped/crafted
Sold on the market
Card packs (donation/DM):
🎒 5. Loot / Craft / Hideouts
🛍 6. Market
Player-to-player sales
Lot limit:
Without subscription: 6
VIP: 15
Premium: 20
Items can be sold only for coins or DM
Items can be bought for coins, DM, or donation
👑 7. Donations and Subscriptions
💳 DM — donation currency
🟡 VIP
+20% to progression
Level 2 unique loot
Craft up to 6 items
15 slots on the market
Purchase options:
🔴 PREMIUM
💀 Resurrection
☕ Donation “for tea”
🎮 Purchases
📈 8. Rating
| Type | Description |
|---|
| K/D | Kills / deaths |
| Level | Account level |
| Wealth | Wealth (coins + DM) |
| Uniqueness | Collection of items/cards |
| Market | Trading volume |
🧾 9. Admin Panel (built-in)
Access only for admin
Capabilities:
💾 10. Database (MySQL)
users (id, uid, name, level, coins, dm, vip_expire, premium_expire, stats_json)
characters (id, user_id, name, stats_json, skills, level, rarity)
cards (id, user_id, name, type, effect_json, rarity)
items (id, user_id, name, type, rarity, durability, value)
market (id, item_id, seller_id, price, currency_type, is_sold)
sessions (id, player_ids[], start_time, zone_level)
subscriptions (user_id, type, expires_at)
payments (user_id, amount, type, timestamp)
🛠 11. Server Architecture
| Component | Technology |
|---|
| Server | .NET Core (C#) |
| Communication | WebSocket |
| Authorization | Google OAuth2 |
| Database | MySQL + Redis |
| Static data (items/characters) | JSON |
⏱ 12. Budget Calculation (MVP)
| Block | Hours |
|---|
| Client (Unity) | 25 |
| Server (combat + API) | 20 |
| Google Authorization | 3 |
| Market / shop | 6 |
| Donations + subscriptions | 6 |
| Admin panel (in-game) | 6 |
| Resurrection, hideouts | 2 |
| Total | ≈ 68 (~$1700 at $25/hour) |