Pillage First! is a single-player, real-time, browser-based strategy game inspired by Travian.
Manage resources to construct buildings, train units, and wage war against your enemies.
Remember: pillage first, ask questions later! ⚔️🔥
Note
Very much still work in progress.
Pillage First! requires Node.js version 20 or higher.
# Install dependencies
npm install
# Starts a development server with hot-reloading
npm run dev
App will automatically open in your default browser at localhost:5173
.
The codebase is split into following directories:
app
→ Source codedocs
→ Documentationlocales
→ Localizations
All contributions are welcome at Pillage First!, whether they be tech, game design, localization or art related. Here are some guidelines to get you started:
- The style guide is enforced through tests and linting.
- We suggest adding tests to Pull Requests. Tests are typically colocated next to the code they're covering.
- Check the following documentation links:
- Join Discord and ask for help if you run into issues.
All contributions are greatly appreciated.
There's multiple reasons, I want to expand on the 2 main ones.
First one is the scope of the project. In current state, the app is already tens of thousands of lines of code large, and it's nowhere near completion. Adding a fully fledged backend to it would easily double the scope, making the project virtually undeliverable for a solo developer doing this in my free time.
The second reason is personal: a frontend-only app of this scale and complexity is a unique challenge. I wanted to see how far I could push it and tackle issues you rarely get to encounter "in the wild". This project lets me take on that challenge.
The broader vision for this project (assuming everything aligns really, really perfectly) is to eventually support both single-player and multiplayer modes from the same app. The frontend is being built with this in mind, so the project could later accommodate a full backend to enable multiplayer while still supporting single-player.
There are of course differences between single-player and multiplayer from a game design perspective, but those differences are small enough to not really warrant building a completely separate application, in my opinion.
If you're passionate about backend development and interested in helping to get the multiplayer up and running, let's get in touch!
Yes, there's a couple. The list isn't definitive and will definitely change as the app develops further, but here are the main ones:
- Culture points & town hall have been removed
- Unit upgrades are shared between villages
- Smithy has been removed (unit upgrade has been moved to Academy)
- Embassy & Stonemason buildings have been removed
- New building are planned to be added (Mercenary camp, Terrain shaper,...)
- New playable tribes
All of these changes are discussed in detail in our Discord server, so feel free to join if you'd like to learn more or give your opinion!
Check out these links to learn more about Pillage First!: