Open Source · Browser Strategy Game

Revana

Build · Conquer · Dominate

A classic browser-based strategy game engine. Build your empire town by town, forge powerful alliances, wage war on your enemies, and leave your mark on the world map.

★ GitHub Get Started
Scroll ▼
✦ ✦ ✦
Revana gameplay preview
25+Database Tables
34Service Classes
299Routes
7Languages
3Factions

Capabilities

Everything a Strategy Game Needs

Revana ships with a complete game engine — from resource management to real-time combat — all running on a standard PHP + MySQL stack.

🏰
Town Building

Build and upgrade 22 distinct building types across your towns. Manage granaries, barracks, blacksmiths, embassies, and more with a live construction queue.

⚔️
Military System

Train 13 unique unit types — infantry, cavalry, archers, siege weapons, and naval units. Upgrade your army's stats, forge weapons, and dispatch your forces.

🤝
Alliances & Wars

Form alliances with other players, establish pacts, declare wars, and coordinate attacks. Alliance forums keep your members organized.

🗺️
World Map

An interactive world map with plains, resource lands, and water tiles. Settle new towns, scout enemy territory, and launch coordinated campaigns.

📦
Economy & Market

Produce five resource types, manage storage limits, and trade with other players or NPC merchants through the marketplace system.

🏆
Missions & Achievements

Daily and weekly missions keep players engaged. An achievement system rewards long-term progression and milestones.

💬
Social Features

Built-in forums, real-time chat rooms, private messaging, and battle reports keep your community connected.

👑
Admin Panel

Full admin dashboard: manage users, configure game seasons, spawn barbarians, edit the world map, manage premium products, and monitor game state.

💎
Premium System

Optional premium store with configurable packages. Monetize your server while keeping the game accessible for free players.

Choose Your Path

Three Factions

Each faction offers a distinct playstyle with unique buildings, units, and bonuses.

⚜️
The Empire

Masters of order and discipline. The Empire excels at defense and long-term economic growth. Their superior infrastructure makes sieges costly for any attacker.

⚓
The Guild

Cunning merchants and sea traders. The Guild leverages trade and naval power to outmaneuver opponents. Lower unit costs give them an edge in prolonged conflicts.

🔥
The Order

Fierce warriors driven by conquest. The Order fields the most powerful offensive units in the game. High costs, but unmatched on the battlefield.

Technology

Built on a Solid Stack

Revana runs on battle-tested, widely-supported technologies — easy to self-host on any standard web server.

PHP 8.0+ Fat-Free Framework MariaDB / MySQL PSR-4 Autoloading Composer Vanilla JavaScript CSS3 CSRF Protection Role-Based Auth MVC Architecture Service Layer Pattern i18n (7 languages)

Quick Start

Get Running in Minutes

Revana is designed to be self-hosted. A standard LAMP/LEMP stack is all you need.

1

Clone the Repository

Run git clone https://github.com/unkownpr/Revana.git then composer install to fetch dependencies.

2

Create the Database

Create a new MySQL/MariaDB database. The web installer will import all tables and seed data automatically.

3

Run the Web Installer

Navigate to /install in your browser. The wizard checks requirements, imports the database, and creates your admin account.

4

Configure & Launch

Open the Admin Panel at /admin, create a game season, design the world map, and enable player registration.

5

Start Playing

Share your server URL with players. The conquest begins.

✦ ✦ ✦