> For the complete documentation index, see [llms.txt](https://docs.godai.world/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.godai.world/guides/how-to-play/creating-a-battle.md).

# Creating a battle

If you do not find any suitable existing battles you can always create a new one. The can be done by clicking the plus icon on the "Battles" page:

<figure><img src="/files/wQsZRm3GQBqmjz6dtIUk" alt=""><figcaption></figcaption></figure>

This will open the create battle menu, where you will have to choose the battle arena and set the following parameters:

* Entry fee: the fee payed by each entrant that will in the end be awarded to the winner
* Battle expiry (optional): the maximum allowed time for other players to join the battle (if you leave it empty the battle will have no expiry limit)
* Opponent (optional): the wallet address of the opponent that you wish to challenge (if you leave it empty anybody can join the battle).
* Max level (optional): the maximum level of the opponent's fighter (if you leave it empty the opponent will be able to chose from fighter of equal or lower level than your selected fighter)

Once you have configured the battle you can proceed by clicking the "Create" button. This will take you to the designated battle page, where you can join the battle like described in the previous section.


---

# 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://docs.godai.world/guides/how-to-play/creating-a-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.
