Koshtra

Two crowns, one country. Take the field.

Play Koshtra — free, in your browser

Koshtra is a real-time strategy game in the classic mould: raise a keep, work the gold and the woods, raise an army and march it at the other crown. It draws its world from E. R. Eddison’s 1922 epic The Worm Ouroboros — Demonland against Witchland, mountain lords against the iron of Carcë — a book old enough to be nobody’s property and strange enough to be worth the borrowing. Two mirrored factions, three maps, and an opponent that expands and attacks rather than waiting to be found.

Controls

How to Play Koshtra

Workers are the whole opening. Send them to the gold mine beside your keep and to the nearest wood, and keep training more — an economy that stops growing is a game already lost.

Timber is the constraint on your army, gold on your buildings. A steading raises the number of soldiers you can field; a war hall is what lets you field any at all.

Every unit walks by flow field, so a group told to go somewhere will find its own way around a ridge rather than piling into it.

Koshtra Strategy Guide

  1. Take the contested mines in the middle before you need them. A second income is worth more than the soldiers it costs to hold it.
  2. Spearmen beat what is coming at you; swordsmen beat what is standing still. Archers beat both and die to anything that reaches them.

How Koshtra Was Made

A war that can be played without a screen

Koshtra's rules run on a fixed clock of twenty steps a second, in a layer that knows nothing about the screen. The picture is only a reader of that layer, interpolating between steps so units glide smoothly on a fast display, and it never changes the game's state. The reason is practical: because the whole game can run with no picture at all, the computer opponent can be set against itself thousands of steps at a time.

That is how the balance was found. Automated matches play both sides on every map and fail if a game does not reach a winner within thirty minutes, if the computer leaves workers standing idle, if it sits capped on supply, or if its army turns into nothing but archers. Hard has to beat Mild over a series of games, and the same seed has to replay identically, so any lost match can be reproduced and examined.

Maps that cannot wall you in

The three maps are grown from numbers rather than drawn tile by tile: a seed, the size of the lake, where the woods and ridges sit. A map is the same on every machine, and it also means the tests can ask hard questions of it. Each map must connect the two bases by land, put a gold mine within reach of each keep, and leave real woodland close to both before it is allowed to ship.

Fog of war runs at half-tile resolution, because fog edges that move in whole 32-pixel steps read as a staircase. It is a layer over the game rather than part of its rules, so the self-playing matches stay meaningful.

Knowing something happened

Early on, a right-click played a sound and did nothing else, so the only proof an order had landed was watching whether anything moved. Orders now draw a ring on the spot, red for an attack. The ring closes inward rather than expanding, because an expanding ring looks like an explosion and a closing one looks like "here".

The map is far larger than the screen, so a raid on the other side of your own base used to be silent. Edge arrows now point at fighting you cannot see. A real skirmish produces a hit every few frames from every unit in it, so arrows are merged by place: anything within about a third of a screen refreshes the existing arrow, and at most four are shown, dropping the stalest first. Razing a building adds a short shake that cannot change a result.

A meadow with something in it

On every map, between 72 and 90 per cent of the ground is plain grass. With only the woods and mountains to break it up, the space between them read as an unfinished level. The fix was a layer of boulders, fallen logs, flower drifts and long grass, painted into the ground itself and invisible to the game rules, so paths, building spots and the tested balance cannot move.

The first attempt put one small prop on a large share of tiles and looked like dirt on a lens. The same amount of detail gathered into clumps, with plain grass left between them, reads as terrain. Every prop is placed from world coordinates rather than screen position, so when a wood is felled and the ground beneath is repainted, no seam shows where the trees stood.

Sprites with room to hang a flag

Every unit and building sprite is built by code before a match begins, about four hundred small images in all, so nothing is made mid-battle the first time a soldier turns a corner.

Each building flies a team banner on a pole, and for a while every one of them was missing the end of its flag, cut off by the edge of its own image. Because the survivor looked like a plain rectangle on a pole, it looked deliberate. The image now reserves the flag's full reach, and a test checks that no building touches the edge of its frame and that the cloth is its full nine pixels wide.

Questions & Answers

What is Koshtra?

Koshtra is a free real-time strategy game you play in your browser. You gather gold and timber, raise a keep and a war hall, train an army and march it at the other side’s base. It is built in the classic mould — base building, a supply cap, fog of war and an opponent that expands and attacks on its own — with no download and no signup.

Is Koshtra free?

Yes, Koshtra is completely free to play in your browser. No download, no account, no paywall.

How do you play Koshtra?

Drag a box over your workers to select them, then right-click a gold mine or a wood to set them working — they will shuttle back and forth on their own until you tell them otherwise. Select a worker and the build menu appears: steadings raise the number of soldiers you can field, a timber yard shortens the walk from the wood, and a war hall is what lets you train soldiers at all. Right-click an enemy to attack it, or ctrl-right-click to attack-move, which walks your army somewhere and engages anything it meets on the way.

What is the world of Koshtra based on?

It borrows its world from The Worm Ouroboros, E. R. Eddison’s 1922 epic fantasy — Demonland against Witchland, the mountain lords against the iron of Carcë. The book was published over a century ago and is in the public domain, which is exactly why it was chosen: it is a genuine piece of epic fantasy, older than almost everything the genre is built on, and free for anyone to build with.

What is the difference between Demonland and Witchland?

They share a build tree and differ in temperament. Demonland moves about twelve percent faster and wears less armour — it wants to arrive first and pick its fights. Witchland is slower and carries an extra point of armour on everything, so it wins the fights that turn into a grind. Neither has a unit the other has no answer to.

Does the computer opponent cheat?

No. It issues the same commands you do, through the same rules, and gets no extra resources, no extra vision and no extra speed at any difficulty. Mild, Even and Hard differ only in how greedily the opponent expands and how large an army it insists on before it commits to an attack.

How does fog of war work?

Ground you have never visited is black — you do not know what terrain is there. Ground you have visited but have nobody near stays drawn but dimmed, and enemy buildings you have found remain on the map since buildings do not move. Enemy units need live sight: your memory of where an army stood a minute ago is worse than no information, so it is not offered. Archers see the furthest, which is a real reason to build one early.

How do you win a match?

By leaving the other side with nothing — no buildings and no units. Razing the enemy keep is usually how it ends, but an army with no base of its own can still win by tearing down yours.

How long does a game of Koshtra take?

Most matches run ten to twenty minutes. Faster victories score higher, so there is a reason to press an advantage rather than settle in behind a wall of steadings.

Does Koshtra work on mobile?

Yes, though it is more comfortable on a larger screen. Tapping any of your own units or buildings selects it, and with something selected you tap a mine, a wood, an enemy or open ground to give the order. Drag to pan the field, or tap the minimap to jump across it.

If you like Koshtra

Also in: Free Tycoon and Management Games in Your Browser (No Download) · All collections


All 48 free browser games · Collections · About · Updates · Contact · Terms · Privacy