> For the complete documentation index, see [llms.txt](https://wiki.infiniteseas.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.infiniteseas.io/product-guides/8.-ship-battle.md).

# 8. Ship Battle

<figure><img src="/files/15nwt7EsaS3zgDgylWXn" alt=""><figcaption><p>Win a Combat</p></figcaption></figure>

When your ship approaches another ship, whether it's controlled by the environment or another player, <mark style="color:yellow;">**a combat window will pop up**</mark>. If you click on Combat, the battle will automatically start and finish.

### <mark style="color:orange;">Win a Combat → Claim Loot</mark>

If you win a combat, click on the Combat History button in the top left corner to claim your loot.

### <mark style="color:purple;">Lose a Combat → Remove Dead Ships</mark>

If you lose a combat, click on the Combat History button in the top left corner to remove your dead ships.

<figure><img src="/files/0hHc37Npjp3FpCpJoOON" alt="" width="126"><figcaption></figcaption></figure>


---

# 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:

```
GET https://wiki.infiniteseas.io/product-guides/8.-ship-battle.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
