CommitCrown
Sign In
📖
Complete Guide

The Ruler's
Handbook

Everything you need to know about CommitCrown — from signing in for the first time to conquering the global leaderboard. 13 steps, fully illustrated, with live game-UI previews.

13Steps
~12 minRead time
All levelsSkill range
01

Sign In With GitHub

CommitCrown has no password system. Your GitHub account is the key to your kingdom — click the sign-in button and you'll be redirected to GitHub's official OAuth authorization page in seconds.

github.com · OAuth Authorization
GitHub

CommitCrown is requesting permission to access your public profile and repository data.

read:user — public profile info
repo — public repository list

Read-only · No write access · No password stored

Once you click Authorize CommitCrown, GitHub issues a short-lived token and redirects you back. CommitCrown reads your public profile, your repository list, and your contribution graph. Nothing is written back to your GitHub account — ever.

We request two scopes: read:user (so we can read your username, avatar, and bio) and repo (so we can list your public repositories). That is the full extent of the permissions.

TIPIf you have a GitHub organization account and a personal account, sign in with the account where you push the most code — your kingdom is built from that account's contribution history.
02

Kingdom Creation

The first time you sign in, CommitCrown analyses your entire GitHub contribution history — up to 90 days — to seed your starting kingdom with the right amount of resources, buildings, and prestige.

commitcrown.app · Analyzing your realm…
Scanning GitHub History

Your Kingdom Awaits

Repositories scanned34
Commits analysed4,820
Languages detected7
Streak history loaded62 days
Your Kingdom URL
commitcrown.app/realm/your-github-username

The analysis takes 10–30 seconds depending on how active your GitHub history is. During this time CommitCrown counts your commits, catalogues your repositories, detects programming languages, and calculates your longest streak.

Once complete, your kingdom is assigned a permanent, public URL: commitcrown.app/realm/your-github-username. Share this URL with friends, add it to your GitHub README, or let rivals discover it on the world map.

NOTEEvery resource and building in your starting kingdom reflects your real GitHub history. Developers with longer streak histories or more repositories will begin with a larger starting kingdom.
03

Dashboard Overview

Your dashboard is the heart of CommitCrown — an isometric map of your kingdom surrounded by a HUD that displays all your live resources, army power, and quick-action buttons.

commitcrown.app/kingdom
Iron Bastion
⚒️4,820
🌲34
🪨62
🌾128K
⚔️18,400 PWR
🏦Treasury
⚔️Barracks
🏰Keep
🗼Tower
Prestige 128,440

The top bar shows your four primary resources (Gold, Wood, Stone, Food) and your total Army Power. Resources update every time GitHub sync runs. The bottom action bar lets you open the Build Menu, trigger a manual sync, launch a Raid, navigate the World Map, and visit the Shop.

The isometric map shows every building you have placed, with each district corresponding to a cluster of repositories. Click any building to inspect its level, output stats, and upgrade options.

TIPUse the keyboard shortcut B to open the build menu, R to start a raid, and W to open the world map — all without reaching for your mouse.
04

Resources Explained

CommitCrown has five resources, each derived directly from your GitHub activity. Nothing is purchased with real money — everything is earned through code.

Resources Panel
⚒️
Gold4,820
From commits
🌲
Wood34
From repositories
🪨
Stone62
From streak days
🌾
Food128,400
From lines of code
Prestige18,440
Overall power score
ResourceSourceUsed For
⚒️ GoldTotal commitsBuildings, upgrades, shop
🌲 WoodRepository countDefensive structures
🪨 StoneStreak daysWalls, towers
🌾 FoodLines of codeArmy upkeep
✨ PrestigeAll activity combinedRank, leaderboard position

Resources are recalculated every time your kingdom syncs with GitHub. Keep committing, keep building new repositories, and maintain your streak — all three actions grow your resources simultaneously.

IMPORTANTPrestige is your overall power score and the single metric used on the global leaderboard. It cannot be reset — only grown. The longer you play, the higher it climbs.
05

Placing Buildings

Open the Build Menu (B) to see every building available at your current progression level. Each building costs a combination of resources and grants a permanent bonus to your kingdom.

Build Menu
Select a building to place
⚔️Barracks
500 Gold
+Army Power
🏦Treasury
800 Gold
+Gold/hr
🌾Granary
600 Wood
+Food cap
🗼Watch Tower
400 Stone
+Raid defense
📚LibraryLOCKED
1200 Gold
+Tech bonus
🔭ObservatoryLOCKED
2000 Gold
+Prestige/hr

CommitCrown has six building types at launch, each serving a different strategic role:

  • ⚔️ Barracks — converts your commit streak into raw Army Power. Essential for raids.
  • 🏦 Treasury — generates passive Gold per hour based on your total repository count.
  • 🌾 Granary — increases your Food storage cap so your army can grow larger.
  • 🗼 Watch Tower — boosts defensive stats when your kingdom is under raid by a rival.
  • 📚 Library — unlocks at 10 repositories. Provides a technology bonus to all building outputs.
  • 🔭 Observatory — unlocks at level 5 Prestige. Generates passive Prestige per hour.
TIPBuild a Barracks first. Without Army Power, you cannot initiate raids and your kingdom is more vulnerable to attack. Every other building is secondary until your Barracks is at least level 3.
06

Upgrading Buildings

Every building can be upgraded up to level 10. Each level multiplies the building's output by ×1.2, compounding over time into significant power advantages.

Barracks — Upgrade
⚔️
Barracks
Trains soldiers from your commit streak
Current LevelLevel 4 / 10
Current output
+680 PWR
After upgrade
+816 PWR
Upgrade cost
1,200 Gold
Multiplier
×1.2 / level

To upgrade a building, click it on your isometric map (or select it from the building list on mobile) and press the Upgrade button. The cost increases at each level, so plan your upgrades strategically.

LevelOutput multiplierApprox. Gold cost
1 → 2×1.20400 Gold
2 → 3×1.44640 Gold
3 → 4×1.73960 Gold
4 → 5×2.071,200 Gold
9 → 10×5.166,400 Gold
NOTEPrioritise upgrading buildings that feed your current goal. Going for the leaderboard? Max your Observatory first. Preparing for raids? Pour Gold into your Barracks.
07

Streaks & Army Power

Your commit streak is the single most powerful variable in CommitCrown. The longer your unbroken streak, the stronger the unit type your Barracks trains — dramatically multiplying your Army Power.

Streak Panel · Current: 23 days 🔥
🗡️
InfantryBase
1 – 7 day streak
🐴
Cavalry+35%
8 – 14 day streak
💣
Siege+80%
15 – 30 day streak
ACTIVE
👑
Elite Guard+150%
31+ day streak

A streak is defined as making at least one commit on GitHub for consecutive calendar days. The streak counter resets at midnight UTC. As your streak grows, your Barracks automatically promotes the unit type it trains:

Streak LengthUnit TypeArmy Power Bonus
1 – 7 days🗡️ InfantryBase
8 – 14 days🐴 Cavalry+35%
15 – 30 days💣 Siege+80%
31+ days👑 Elite Guard+150%
IMPORTANTIf your streak breaks, your unit type drops back to Infantry immediately — even if your Barracks is at level 10. Protecting your streak is as important as building your kingdom.
08

GitHub Sync

CommitCrown reads your GitHub data once a day at 00:00 UTC automatically. All new commits, repositories, languages, and streak changes since the last sync are applied to your kingdom in a single atomic update.

GitHub Sync
Last syncToday · 00:00 UTC
Next auto-syncTomorrow · 00:00 UTC
Manual sync cooldown47 min remaining
Last sync result
✓ +12 new commits detected
✓ Streak extended to 23 days
✓ Repository 'commit-crown' updated
✓ Gold resource +240

You can also trigger a manual sync from the dashboard at any time — but there is a one-hour cooldown between manual syncs to prevent abuse. The manual sync button shows the remaining cooldown time when it cannot be used.

After each sync you will see a brief activity feed inside the Sync panel: how many commits were detected, whether your streak was extended, which repositories were updated, and how your resources changed. These events are also logged permanently in your Chronicle (see Step 04).

TIPPush commits to GitHub before midnight UTC to ensure they count toward your streak for that calendar day. Commits pushed after midnight count toward the nextday's streak.
09

Explore Other Realms

Press W or tap the World Map button to leave your own kingdom and explore the wider CommitCrown world. Every kingdom on the platform appears here, with real-time prestige and raid statistics.

World Map · 1,240 Realms
🏰
Iron Bastion
🏰
Silver Keep
🏰
Ember Citadel
Your Kingdom
🏰 Other realm
Your realm

The world map displays kingdoms as castle icons on a strategic grid. You can filter by prestige range, language, or raid activity to find suitable targets or allies. Clicking a kingdom opens its public profile — showing its building layout, resource totals, streak history, and raid record.

Visiting another kingdom does not trigger any interaction — it is purely informational. Use it to scout before declaring a raid, find inspiration for your own build, or just admire the leaderboard elite.

NOTEYour own kingdom is public by default. Other players can visit and study your layout at any time. This is by design — strength is proven through commits, not secrecy.
10

Initiating a Raid

When you are ready for PvP, open the Raid panel from a target kingdom's profile and challenge them to a 7-day war. The kingdom with the highest total raid points at the end of 7 days wins.

Initiate Raid · Silver Keep
Your Kingdom
Iron Bastion
18,400 PWR
⚔️
Target Kingdom
Silver Keep
16,200 PWR
Select Strategy
Siege
Slow but devastating. +40% to attack.
Skirmish
Fast raids. Commit volume decides the winner.
Infiltration
Targets their weakest resource.

1 active raid at a time · Cannot be cancelled

Before declaring war, you choose a strategy that modifies how your commits are scored during the raid:

  • Siege — rewards sustained, consistent committing. Every commit scores, with a +40% bonus to your base attack stat.
  • Skirmish — raw commit volume wins. No attack bonus, but quantity is weighted more heavily than commit quality.
  • Infiltration — targets your opponent's weakest resource. Effective against kingdoms with low Watch Tower levels.
IMPORTANTYou can only have one active raid at a time. Once declared, a raid cannot be cancelled — it runs its full 7 days regardless of the outcome.
11

During a Raid

A raid is decided by Raid Points accumulated over 7 days. You earn raid points by committing to GitHub — your daily GitHub sync automatically converts those commits into raid points using the following formula:

Raid Points = Commits × (Army Power ÷ 1,000)
Active Raid · Day 4 of 7
Raid ProgressDay 4 / 7
Your Raid Points
2,840
48 commits × 59.2
Enemy Points
1,960
36 commits × 54.4
Daily Activity Feed
Day 4: +640 pts — 11 commits pushed
Day 3: +720 pts — 13 commits pushed
Day 2: +880 pts — 14 commits pushed
YOU ARE WINNING
Keep committing to secure victory — 3 days remain

Your Raid Panel updates every time your kingdom syncs. You can see the running totals for both sides, a day-by-day feed of activity, and a live status indicator showing who is currently winning.

The raid ends automatically at 00:00 UTC on Day 8. The winner receives a +15% Prestige bonusadded to their kingdom's total. The loser receives nothing — but loses no existing Prestige. Raids only reward; they never take away.

TIPThe most effective raid strategy is simply to code as much as possible during the 7-day window. One commit per day is enough to stay competitive; daily commits from active developers are enough to dominate.
12

The Leaderboard

The global leaderboard ranks every kingdom by cumulative Prestige. There are four tiers, and the top rulers of each season are permanently inscribed in the Hall of Legend.

Global Leaderboard · Season I
#RulerPrestigeTier
1
dragonheart_dev
Iron Bastion
128,440⚜️ Legend
2
codesmith_rin
Silver Keep
115,200⚜️ Legend
3
forge_master
Ember Citadel
98,360🏆 Champion
4
null_pointer_99
Shadow Hold
87,100🛡️ Knight
5
you
Your Kingdom
18,440🪖 Recruit
TierPrestige RequiredReward
🪖 Recruit0 – 24,999Access to all features
🛡️ Knight25,000 – 74,999Exclusive Knight banner
🏆 Champion75,000 – 124,999Animated Champion aura + banner
⚜️ Legend125,000+Hall of Legend inscription + Legendary crown cosmetic

Seasons run for three calendar months. At the end of each season, the top 10 Legend-tier rulers of that season are permanently displayed in the Hall of Legend — accessible from the landing page of CommitCrown for all time. Season rewards are cosmetic only; your Prestige total carries forward into the next season.

NOTEThere is no pay-to-win shortcut to Legend tier. The only path is through sustained GitHub activity — which is exactly what makes the leaderboard meaningful.
13

Shop & Cosmetics

The CommitCrown Shop sells cosmetic items that change the visual appearance of your kingdom. All items are purchased exclusively with Gold — the in-game resource earned from commits. No real money is involved, ever.

Cosmetic Shop · Season I
Available Items
⚒️ 18,440 Gold available
🏔️
TERRAINSeason Only
Volcanic Terrain
3,200 Gold
🌙
SKINSeason Only
Night Realm Skin
4,800 Gold
🔥
BANNER
Ember Keep Banner
1,200 Gold
👑
PRESTIGESeason Only
Conqueror Crown
8,000 Gold
🗺️
UI
Expanded Map View
900 Gold
EFFECT
Aura: Gold Shimmer
2,400 Gold
No real money required · Gold earned through commits only

The shop has five categories:

  • Terrain — changes the ground texture of your isometric map (volcanic, arctic, desert, etc.).
  • Skins — full visual reskins for your kingdom (night realm, ember realm, ocean realm).
  • Banners — decorative flags placed in your kingdom and displayed on the world map.
  • Effects — ambient particle effects around your castle (gold shimmer, ember aura, frost mist).
  • Prestige items — special cosmetics unlocked only by reaching Champion or Legend tier.

Some items are season-limited — available only during a specific season and never returning to the shop. If you see something you want and have the Gold, buy it during its season window.

TIPSeason-limited items are announced at the start of each season. Watch the CommitCrown changelog (linked in the footer) to stay informed about what's coming.

Video Walkthrough

Prefer to watch rather than read? The full CommitCrown gameplay walkthrough covers all 13 steps with live in-game footage — kingdom creation, building placement, raiding, and the leaderboard.

Full Gameplay Walkthrough
CommitCrown · Official · ~15 min
Coming Soon
Back to Home
End of Handbook