> 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-slot-machine.md).

# Setting up Slot Machine

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 Slot Machine works from a customer perspective aswell as how to set it up.

{% hint style="success" %}
The Slot Machine will inherit your websites brand colours
{% endhint %}

<figure><img src="https://3744898343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmZQfjJYplU4Sw9Oe8b0%2Fuploads%2FxGA9cDnZlqXc9DqRDFW8%2Fslots.gif?alt=media&amp;token=4f157c3e-744d-4502-a6f9-7e3d87d7317b" alt=""><figcaption></figcaption></figure>

### Get started with Slot Machine

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%2FjdmTjtlt6T35kdpuZGf8%2Fimage.png?alt=media&amp;token=915eaf71-f81d-40d3-9fdb-79cad1026c83" alt=""><figcaption></figcaption></figure>

Select the Slot Machine Game and save the competition. Once you have done that, every ticket purchased will give customers a go at the Slot Machine.

### Setting images to show on the Slot Machine

The slot machine inherits the images from the instant prize, if there are no images setup it will only show the text instead.

{% hint style="danger" %}
Do not use the same or similar images or instant prize names in the competition
{% endhint %}

<figure><img src="https://3744898343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmZQfjJYplU4Sw9Oe8b0%2Fuploads%2Fatp3iZ0BHjYLVgxTOiwC%2Fimage.png?alt=media&amp;token=e6c73524-9baf-4843-95d1-da66882f66cf" alt=""><figcaption></figcaption></figure>

### How does it work?

The Slot Machine & 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 the Slot Machine activated competition above the Add to Cart button where they can open a Slot Machine Popup.

{% hint style="warning" %}
Please test the functionality on your website to make sure the Slot Machine works correctly
{% endhint %}
