> For the complete documentation index, see [llms.txt](https://competitions.gitbook.io/competition-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://competitions.gitbook.io/competition-docs/minigames/view-minigames/setting-up-doors-tiles.md).

# Setting up Doors/Tiles

If you've read our [Setting up Scratch Cards](/competition-docs/minigames/view-minigames/setting-up-scratch-cards.md) article then you will see a lot of parallels between that and this article.\
\
You may only need to read one of these articles to understand how to operate both of them but in this article we will show you how the Doors/Tile game mode works from a customer perspective aswell as how to set it up.

### How do they work?

Customers can tap a door to reveal whether they’ve won. Each door corresponds to a ticket number. If they have more tickets than available doors, previously opened doors will reset, allowing them to continue selecting doors until all their rewards are collected.

<figure><img src="https://3744898343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmZQfjJYplU4Sw9Oe8b0%2Fuploads%2FnPXhylO9qnjcirr9tz77%2Fportals.gif?alt=media&amp;token=b673b845-ccfd-4dcd-b531-460bc0a94e70" alt=""><figcaption></figcaption></figure>

<div><figure><img src="https://3744898343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmZQfjJYplU4Sw9Oe8b0%2Fuploads%2FYD7MMgighGysJ6xxUSTA%2FColor%20Doors.gif?alt=media&amp;token=f70f1c1d-cd4e-421b-9e6b-85de2c905204" alt=""><figcaption></figcaption></figure> <figure><img src="https://3744898343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmZQfjJYplU4Sw9Oe8b0%2Fuploads%2F3GSEG2eZwpnCfHN059za%2FVault.gif?alt=media&amp;token=2a18be9e-ddd3-482f-b9af-91e1aaebc06f" alt=""><figcaption></figcaption></figure></div>

<div><figure><img src="https://3744898343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmZQfjJYplU4Sw9Oe8b0%2Fuploads%2FEGMJPXYd5JkUYefQvGWq%2Fimage.png?alt=media&amp;token=0ddbbdfe-9377-4c16-b2c3-84693a2e1c1a" alt=""><figcaption></figcaption></figure> <figure><img src="https://3744898343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmZQfjJYplU4Sw9Oe8b0%2Fuploads%2FP1xf3UvVJsXh05FaUq7r%2Fimage.png?alt=media&amp;token=f66ab4dd-5ec2-4d09-8ac0-3b82f000add5" alt=""><figcaption></figcaption></figure></div>

#### Get started with Doors/Tiles <a href="#get-started-with-slot-machine" id="get-started-with-slot-machine"></a>

Setup an Instant Prize Competition as usual and then scroll under the Featured image to find the Minigames widget.

<figure><img src="https://3744898343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmZQfjJYplU4Sw9Oe8b0%2Fuploads%2FS1H24K9lm76skJh0tAHV%2Fimage.png?alt=media&amp;token=d8492a8d-42eb-47d0-bccd-6687cdd15209" alt=""><figcaption></figcaption></figure>

Select any Doors/Tile game mode and save the competition. Once you have done that, every ticket purchased will give customers a go at the opening a door/tile.

#### Behind the hood <a href="#how-does-it-work" id="how-does-it-work"></a>

All minigame modes integrate with the Instant Prizes to provide a visual overlay that is more interactive than the original instant wins. When someone purchases a ticket they will see a button after Checkout aswell as on competition above the Add to Cart button where they can open a Popup.
