> For the complete documentation index, see [llms.txt](https://info-176.gitbook.io/zencreate/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://info-176.gitbook.io/zencreate/zencreate-is-a-game-select-yours/gamification/memory.md).

# Memory

The dynamic Memory is based on the classic card game, in which you have to guess the same pairs starting from the face down cards.

### **Elements of Memory**

#### *Inspector*

* <img src="https://lh4.googleusercontent.com/n2oGR6tx1gx2dulcVuwll07MNHsL6om36vSUrelerRhpIdbggzkWQGba5VM4glvIhI3rzP-CyvRWRXOUToGdIC878kypcEvod5yLeyOINfImWVOxKC4OviVOKVK9X9GagbQ3JbWS" alt="" data-size="line">*Scene Settings*: contains the generic settings of a game dynamic, for example what will be the next scene once the memory game is completed.
* <img src="https://lh3.googleusercontent.com/Pwl2UpjBGPUn5PKgf-42L0QLRSo0TEpYIeVYasaExdKLojsHamgwRWCQD-m7c9FuVyEZWR2j2cX0J2A50XzICCI4t8X5nYBB4KaH1n7qrwvq93U0mL1I2HB-g1mp4akVbwaxTKDc" alt="" data-size="line">*Smart Inspecto*r: here you can customize the selected memory card.
* <img src="https://lh6.googleusercontent.com/DvoSlpi0f3DgWeAptqiu51VZBT4AmMXYpUXrbpq7aVGecDIz_UK3KXQhojLQTWYPIXsjuXfGT0MnajbAtqBOBQD4MeVar7Pmav_La6uRtCPGlvjR7E-UppI__fkkz-exLE0fJyEH" alt="" data-size="line">*Game Settings*: contains options to customize your memory game.

### **Game Settings**

![](https://lh3.googleusercontent.com/_BQktM_bC2KO-p6CtuRs5Lq3my4ffsv_ohRIYrtZNcGMt-Mm6MpEiadPaiFIZ853O1vpYa-IWES5mfy-yy_5GN1u17kqcruD0_Ppx2dnhxyk6mON5ASbl3507YF1Q6IdRdhmK4kM)

* **Couples**: How many pairs of cards will your memory game be composed of? Choose through this menu.
* **Rows**: Here you can decide on how many lines you want to lay out your cards. Choose according to your needs, the orientation of your device or its aspect ratio.
* **Card Back**: This allows you to choose the look of the back of your cards.
* **Correct Answer**: When you turn two of the same cards, the audio you set in this field plays.
* **Wrong Answer**: If you turn over two different cards, the sound you have chosen is played through this field.

### **Smart Inspector**

**Image**: Here you can choose the image to associate with your card.

&#x20;                                                               ![](https://lh4.googleusercontent.com/rkL72iwnNefoSHszSixuaFE7R6BznlZ4vr9gyvDxgVaad1XfVaOBMhJsWQ7FY7KHi5OUG3EVruDcC1km7iDx93HW1Ed1DIPx8NKokBAMrSkrOC6qYdIouoajLEMNtuoWjE7GZ2yw)

### **How to assemble a Memory game**

Let's take a simple scenario with five pairs of cards as an example.

![](https://lh3.googleusercontent.com/_BQktM_bC2KO-p6CtuRs5Lq3my4ffsv_ohRIYrtZNcGMt-Mm6MpEiadPaiFIZ853O1vpYa-IWES5mfy-yy_5GN1u17kqcruD0_Ppx2dnhxyk6mON5ASbl3507YF1Q6IdRdhmK4kM)

The default game scene consists of 4 pairs of cards arranged on 2 rows. In our case, the ‘Couples’ field must be changed to indicate 5 pairs.

After importing the assets that interest us in their respective libraries (Image, Video, Animation) we are ready to assemble the game scene.

Select the 'Game Setting' inspector to change the general rules of the game. From the “Couple” drop-down menu we choose 5 couples.&#x20;

We decide on an asset for the ‘Card Back’ field and close the ‘Game Settings’ inspector. The editor updates the layout with the chosen settings. Each pair of cards is marked with a number, in order to highlight the association between the two cards.&#x20;

Select each card individually and customize the look using its smart inspector.

Customize the scene as you like!

The final result will be this:

![](https://lh4.googleusercontent.com/o8DGLhDALi9ALSA1PQ-GSPsr_kcn-CgYWr8FuCN-bAqkM6jJtyqHYLOwBeSiAII0oFc8hjoJEYOmYymylaJy-gkLfckYQrGiZQMW1H9e89WVFksQnrtxIGuU8FoyDKi-ozG9AWG3)

Finally, set the game behavior from the ‘Scene settings’ inspector. Choose a soundtrack and background image. Decide if at the game’s completion you want to jump to a specific scene.

Going into preview, the cards will automatically arrange themselves in random positions, showing their previously set backs. On selection they will turn around. When a pair of cards is correctly associated, they will remain fixed and visible on the screen.


---

# 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, and the optional `goal` query parameter:

```
GET https://info-176.gitbook.io/zencreate/zencreate-is-a-game-select-yours/gamification/memory.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
