> For the complete documentation index, see [llms.txt](https://legacyofempires.gitbook.io/untitled/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://legacyofempires.gitbook.io/untitled/gameplay/armies.md).

# Armies

The army is quite possibly the most important in-game asset apart from the NFTs. They can help make or break your victory. They have ‘collective conscience’ which means that a single tap on the screen can be used to access all of them. For example, a single tap on the screen will make your troops move forward or backward on the battlefield.

In the game, the army is always at the front. They protect the barracks, temples, garrisons, mages, and more from the opponent’s troops in the battlefield. They also protect their resources such as metal and wood.

It is important for the player to understand how to place the army in the battleground because his victory depends on it. You can find in-game instructions for the same. The game also allows you to take inspiration from your opponent’s islands. Survey your island and pick the ground for battle that will help you win.

&#x20;

·        MILITIA

&#x20;

Militia are army men who have a certain level of control over the other army men. They cannot command them but they can guide them. They are smart, quick, and responsive to the commands of the player.

&#x20;

·        ARCHERS

&#x20;

The archers are the most important group of soldiers after militia. They can collectively target your opponent’s army and are capable of attacking a large troop at once. There are two kinds of archers present currently in the game. Short range archers use the land of the battlefield to attack the opponent while long range archers use archeries to attack the opponent. For short range archers, the land is more than enough. But for long range archers, the player needs to unlock archeries so that they can attack the opponent’s army from a mile away.

&#x20;

·        SWORDSMEN

&#x20;

The swordsmen are always placed at the front of the battle. Abundantly available and highly trained, these swordsmen are capable of taking out multiple troops of the opponent. They are dependent on the player’s commands and are limited to sword-to-sword combat. All swordsmen require regular upgrades and trainings to work efficiently in the battle.

&#x20;

·        SPEARMEN

&#x20;

The spearmen are always placed in the middle of the troops. Their job is to protect archers and commanders from the opponent. Their moves are highly automated. However, the direction of their movement can be changed. For example, if the opponent’s army is approaching from the south then the player has to place the spearmen such that they will be able to stop them from the front. Therefore, the spearmen need to placed north of the opponent’s army.

&#x20;

·        FOOTMEN

&#x20;

Footmen are the manpower of the army. Their job is to bring resources and to tend to the army. These footmen are also placed in medical camps to aid the injured army men. Footmen require no upgrades or training as their job is limited to campgrounds. The footmen are also the people that need saving. A player should remember to place his medical camps such that it cannot be raided by the opponent’s army. They should also remember to keep the medical camp as close to the barracks or military grounds as possible.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://legacyofempires.gitbook.io/untitled/gameplay/armies.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
