> For the complete documentation index, see [llms.txt](https://docs.heroestd.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.heroestd.io/gameplay/battle-modes/co-op-mode.md).

# Co-op Mode

![](/files/rQ6B8HWpQWCRxOat9d0z)

In this mode, players will be matched with a random player to enter a cooperative defense game. Each player will bring their deck into the match and defend the base together against the enemy's waves. Depending on the number of waves completed, players will be rewarded an amount of **eCGC**.

Each player can earn a **maximum amount** of **15 points per day**.

**eCGC** earned in this mode will be calculated based on the **Points table** below. The formula can be found on **Earn section**: <https://docs.heroestd.io/gameplay/earn>

{% hint style="warning" %}
**You can see the most recent matches on the** [**wiki**](https://wiki.heroestd.io/recent-coop-match)**.**
{% endhint %}

| From (Wave) | To (Wave) | Points per Wave |
| ----------- | --------- | --------------- |
| 1           | 4         | 1 Point         |
| 5           | 9         | 2 Points        |
| 10          | 14        | 3 Points        |
| 15          | 19        | 4 Points        |
| 20          | -         | 5 Points        |


---

# 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://docs.heroestd.io/gameplay/battle-modes/co-op-mode.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.
