A turn-based browser strategy game set in medieval times. Each turn represents one month of in-game time. Players build and grow their empire by gathering resources, constructing buildings, training armies, researching technologies, exploring new land, and competing against other players through trade, diplomacy, and warfare.
Key features:
- 8 playable civilizations, each with a unique special unit and stat bonuses/penalties
- Resource economy: gold, food, wood, iron, tools, wine, horses, and weapons
- Building queue system with configurable production percentages
- Army combat with score-ratio penalties, wine morale boosts, and repeated-attack diminishing returns
- Catapult and thief covert operations
- Global and local trade markets
- Great Wall defense system with decay mechanics
- 18 research types across military, production, and empire categories
- Seasonal production (farms idle in winter, wood heating required)
- In-game documentation system per game instance
Built with Ruby on Rails 7.1, PostgreSQL, Redis, Tailwind CSS.
In my free time I port the game from cloudfusion to rails. Original source code https://sourceforge.net/projects/ad1000/files/
- Implement alliances
- Testing logic/balance with multiple users
- Clone the repository
- Run
bundle install - Run
rails db:create db:migrate db:seed - Run
rails s - Open your browser and go to
http://localhost:3000 - Join to game