Unity

Kingdom vs Kingdom Performance Analysis

Welcome to Unity

Upload your Kingdom Scan files to get started.

Supported formats: .xlsx, .csv

Upload Data

Choose how you want to upload data to the alliance database.

Follow the pipeline below for bulk Excel/CSV scans. Start Scan and End Scan are required.
The Healing Scan is optional if you want accurate dead troop recovery stats.

Pre-KvK
Start Scan
OR
โž”
Optional
Healing/Mid Scan
OR
โž”
Post-KvK
End Scan
OR

Individual OCR Scanner

Upload screenshots of governor profiles to automatically extract their stats into the database.
Our built-in AI model runs locally in your browser.

๐Ÿ“ธ

Drag & Drop Screenshots Here

Or click to browse your files.

PreKVK Ranking (Start Scan)

Rank Kingdom Top 300 Power Total KP Power Rank KP Rank

New Phone Who Dis?

New Arrivals (In End, Not Start)

Departures (In Start, Not End)

All Kingdom DKP results

Kingdom Total Power Power +/- Troop Power Total T4 Kills Total T5 Kills Total Deads Total Healed Total KP Total DKP

Season of Conquest โš”๏ธ

Storm of Stratagems: Zone Analysis

Upload scans corresponding to Pass openings to track DKP per Zone.
Start of KvK
๐Ÿ“
Start Scan
Not Loaded
โž”
Pass 4 Opens (Zone 4)
๐Ÿ“
Pass 4 Scan
Not Loaded
โž”
Pass 5 Opens (Zone 5)
๐Ÿ“
Pass 5 Scan
Not Loaded
โž”
Pass 6 Opens (Zone 6)
๐Ÿ“
Pass 6 Scan
Not Loaded
โž”
Pass 7 Opens (Zone 7)
๐Ÿ“
Pass 7 Scan
Not Loaded
โž”
Pass 8 (Kingsland)
๐Ÿ“
Pass 8 Scan
Not Loaded
โž”
End of KvK
๐Ÿ“
End Scan
Not Loaded

Governance Dashboard โš–๏ธ

Governor Power Period KP โš”๏ธ Efficiency Archetype

Commander Pool

New Squad

Primary
Select Commander
???
Secondary
Select Commander

Application Settings & Setup

Configure your cloud services and API keys to unlock the full potential of Unity.

โ˜๏ธ GitHub Cloud Integration

Purpose: Stores all uploaded CSV stats and calculations persistently in the cloud.

Cost: 100% Free

Setup Guide:

  1. Create a free account on GitHub.
  2. Create a new Public or Private repository.
  3. Go to Settings > Developer settings > Personal access tokens > Tokens (classic).
  4. Generate a new token with repo scope checked. Copy the token immediately.

๐Ÿค– Gemini AI Scanner

Purpose: Powers the OCR Screenshot Scanner (reading game images natively).

Cost: Free Tier (15 requests/min, 1 million reqs/day). Pay-as-you-go if exceeded (fractions of a cent per scan).

Setup Guide:

  1. Visit Google AI Studio and sign in.
  2. Click Create API Key and select (or create) a Google Cloud project.
  3. Copy the generated API Key.
  4. Note: If you constantly hit quota errors, ensure billing is set up on your Cloud Project (the Free tier requires a linked card to verify identity).

๐Ÿ”ฅ Firebase Cloud Sync

Purpose: Drives the "My Alliance" live shared roster and instant AI scan syncing.

Cost: Spark Plan is 100% Free (1GB storage, 10GB/mo transfer - highly sufficient for text data).

Setup Guide:

  1. Go to the Firebase Console and add a new project.
  2. In the left menu, select Realtime Database under Build.
  3. Click Create Database (start in Test Mode, or edit Rules to allow reads/writes).
  4. Copy the Database URL provided (e.g., https://your-project.firebaseio.com).
  5. Paste it below. No further API keys are needed!

๐Ÿ’พ Data Management

Manage your local app session and clean up memory.

๐Ÿงน Clear Loaded Scans

Removes all currently loaded Kingdom CSVs from your immediate active session.

Use this to switch tasks without mixing new data. (Your cloud saves and app settings remain safe.)

โš ๏ธ Factory Reset

Hard wipe of EVERYTHING in local storage. Erases API keys, GitHub tokens, settings, and loaded data. Cannot be undone.

Unity Community Hub ๐Ÿ’ฌ

Share your ideas, report bugs, and chat with other users developing Unity!

Submit Feedback

0/500

Live Global Feed

Synced via Firebase Realtime Database
Connecting to Global Board...

Speedup Calculator

Resource Calculator

Corn (Food)

Wood

Stone

Gold

Action Points Calculator

VIP Points Calculator

Tomes of Knowledge (XP) Calculator

⚔️ Troop Training Calculator

Enter the number of troops to train per type. Totals update live below.

%
Max buff: 103%  |  Check City Hall → Graph icon
T1 Troops 5s/unit · 90F · 90W
T2 Troops 1m/unit · 500F · 500W
T3 Troops 3m/unit · 1.8k F+W
T4 Troops 12m/unit · 6.8k F+W+S
T5 Troops 30m/unit · 15k F+W+S · 5k G

TRAINING TOTALS

⏱️
Training Time
🌾
Food
🪵
Wood
🪨
Stone
🪙
Gold
Power Gained
📦
Speedups Needed

TOTAL CONVERSION

0

๐Ÿšฉ Alliance Flag Calculator

Calculate the exact bottleneck holding up your next alliance flag based on your current reserves and passive hourly income.

๐Ÿ“ธ
Drop Alliance Storehouse Screenshot Here
Or click to browse
Ready to scan
*Requires Gemini API Key in Settings
Resource Flag Cost Current Stock Hourly Income
๐Ÿช™Alliance Credits
๐ŸŒฝAlliance Food
๐ŸชตAlliance Wood
๐ŸชจAlliance Stone
๐Ÿช™Alliance Gold

FLAG READINESS

Ready Now!
You have enough resources to build this flag.
๐Ÿ”’

Access Restricted

You do not have the required permissions to view the real-time Live Feed data. Please contact an administrator if you believe you should have access.

Editor
Live Preview

๐Ÿ›ก๏ธ My Alliance Live Roster

A real-time, shared database where Alliance members can sync their scanned screenshots. Data uploaded here is visible to anyone in your Kingdom with this page open.

โš ๏ธ Disconnected - Configure Firebase in Settings
Governor ID Name Alliance Power Kill Points T1 Kills T2 Kills T3 Kills T4 Kills T5 Kills Dead Troops Helps RSS Gathered RSS Assistance Troop Power Tech Power Building Power Cmdr Power Acclaim Autarch Last Sync
Editor
Live Preview

Race to Glory ๐Ÿ

Progress: 0%