> For the complete documentation index, see [llms.txt](https://read.bookofdefold.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://read.bookofdefold.com/dive-into-defold/avoider-action.md).

# Avoider - Action

![](/files/-LJPrXn9o_jHGtvIa4zT)

The features of this game are:

* 2D action game.
* Player attempts to survive as long as possible. Best high score listed.
* Player controls a yellow smile face character with wasd or arrow keys. Player character can loop around the game board, but enemies cannot.
* Enemies spawn in from the middle and are ghosts for a few seconds before they can harm the player.

Demo: <https://www.bookofdefold.com/dive-into-defold/avoider/>

{% file src="/files/-LJPrbWOnrJGesJj7uXG" %}


---

# 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://read.bookofdefold.com/dive-into-defold/avoider-action.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.
