# 🎲 Roulette

## Overview

If roulette is activated in the club, it can be used by any holder.

To play roulette, a user must hold at least 2 club keys and transfer one key as a "gift" or send it to the club's vault account where the roulette is configured.

The system generates a random number between 1 and 100. If the number is below the configured chance (default is 47), the player will automatically receive 2x their bet. Otherwise, the key will remain in the vault.

The system uses the on-chain [**FriendVRF**](https://basescan.org/address/0x4aed04f6dd6a49362c26c1b477683c2896c662cf) to generate random, secure, and verifiable numbers via the base network contract: `0x4AEd04f6DD6A49362c26C1B477683C2896C662cf.`

**Available user commands:**

Type `!play` to view roulette details, including chance and max bet.\
Type `!topro` show the top roulette winners.

If you liked it and want to include Roulette in your club, check the [requirements](#requirements).

***

## Requirements

These requirements are for you who want to ✚ add roulette to your club.

1. A Telegram and FriendTech account.
2. The premium license activated with a [Fred V1 Key](https://www.friend.tech/0x1ef17ce5ce0e4ea09bcfbeea435e585bb19e0e78).
3. To add Fred Bot and start managing **Roulette** in your club, you must be at the 💎 **Diamond** level in the [AutoGa Club Network](https://www.friend.tech/clubs/235305).

***

## Manage your Roulette:

To start managing your roulette, type the commands in your Club!\
You can also type `!premium` to get help from Fred.

<pre><code><strong>!roon
</strong><strong>!rooff
</strong><strong>!maxbet &#x3C;number>
</strong><strong>!winchance &#x3C;number>
</strong></code></pre>

* roon -> activate roulette in your club.
* rooff -> deactivate roulette in your club.
* maxbet -> Set the maximum bet for roulette.
* winchance -> Set the win chance for roulette.

Example commands:

```
!maxbet 4
!winchance 40
```

Each command adjusts the maximum bet or win chance for the roulette, one at a time!\
If you're interested in adding and managing Roulette as well, check the [requirements](#requirements).

***

## **How to Set Up and Start:**

If you already meet the requirements, \
[click here](https://docs.alertfriend.com/overview/friendtech/start-setting-up) to follow the guide on how to set up your Telegram account with Friendtech.

{% hint style="info" %}
Roulette can be activated in the clubs where you are the president.
{% endhint %}


---

# 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.alertfriend.com/overview/friendtech/roulette.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.
