# Tic-Tac-Toe (Minigame)

<figure><img src="/files/5Z7nYm2WunfsKIusURo5" alt="" width="288"><figcaption></figcaption></figure>

Drag the component from the subcomponents bar to the scene you're working on.

{% hint style="info" %}
All the minigames and puzzles must be set up with actions to work properly and also define what happens once the player wins, finishes or lose.
{% endhint %}

## How to change the component style

To resize it, use the arrow icon in the top menu.

## How to set the Tic-Tac-Toe component

Click on the component and then on the settings gear icon that will appear in the top menu.\
The configuration option is as follows:

* **General**: you can adjust the opponent's difficulty to "Easy", "Medium", "Hard" and "None" mode.

## How to set the actions after the solutions is written

When the player enters their answer in the puzzle, there are only two options: either the answer is correct, or it is incorrect.

{% hint style="info" %}
It's very important to specify what should happen in each case. Click on the Actions icon in the top menu and add one or more actions for both when the player gets the puzzle right or wrong.
{% endhint %}

The available options are:

* **Go to another scene in the game**
* **Add X points**
* **Subtract X points**
* **Visit an external URL**


---

# 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://academy.theufolab.com/game-editor/components/minigames/tic-tac-toe-minigame.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.
