# Creating game logic in Mutate

## Howdy-do! 👋

In this tutorial mini-series, we’ll go through how to create basic game logic in Mutate — also known as mechanics — which will give you everything you need to really start building something cool!&#x20;

We'll create a basic treasure hunt level, where you have to collect a certain number of items first in order to win! We chose little cat statues, but you can theme your tutorial session however you'd like!

![](/files/k0cPHVD6Ex8j5m7MVHfC)

Treasure hunts are great for creating and playing alone and with friends, because any number of players can be involved. Any level of difficulty can be set - like hard to reach collectibles, or traps that respawn the player so they lose a headstart - which makes these levels as diverse and replayable as you want them to be!

{% hint style="info" %}
If you'd like to follow along by building with our exact level, simply go to Create > Create Game and choose "Tutorial Template - Treasure Hunt" and a blank slate version of what you see here will be yours to control!
{% endhint %}

![](/files/Y6NTzkdxRo0QQY36Q2G3)

### 🏃 Now let's get on with it, shall we?&#x20;


---

# Agent Instructions: 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.mutate.games/guides/creating-game-logic-in-mutate.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.
