> For the complete documentation index, see [llms.txt](https://treasuryland.gitbook.io/treasuryland/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://treasuryland.gitbook.io/treasuryland/games/dice-usdt.md).

# Dice - USDT

There are 6 digits to be selected and only one digit will be revealed when the game round ends. If revealed digit is the same as the user selected, the user will obtain the prize who lost the game.

### Rules (Suppose the ticket price is $1)

* Each one can select one of the number and corresponding multiplier.
* Users who take part in the game during the first 1/3 timespan get discounted price, i.e. **$0.9**
* Users who take part in the game during the 1/3 \~ 2/3 time period get price at **$1**.
* Users who take part in the game during last 1/3 time period get price at **$1.2**.

### Reward Allocation

If the number users selected is the same as the result this round, those users will share the rewards in the pool. The rewards come from the users who select wrong numbers, and the users who select correct numbers will return their fees and the reward is allocated as 73% for all winners,  8% for a lucky user, 2% for miners and 3%\~7% for referrers. The rest is for treasury.

<figure><img src="https://4142966265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCHpAdXKu9blhdpC7lxJn%2Fuploads%2FTj17LH2bLJG8RCZdnUOE%2FScreenshot%202023-10-18%20at%2002.46.17.png?alt=media&amp;token=ba4df0b8-83f9-4a77-a137-a67d8ba51ad1" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}

* The allocation for referral, i.e. 5% in the figure, is not precise. The allocation highly depends on the total sales by the referrer, which can range from 3% \~ 7%.&#x20;
* The allocation for treasury, i.e. 7% in the figure, is not precise. The allocation depends on the allocation of referral, which can range from 5% \~ 9%
  {% endhint %}

### Examples

**Case 1: Detailed ticket prices rules**

Suppose a game round period is 60 minutes, which will start at 7:00 a.m. and end at 8:00 a.m.

If User *Alice* joins the game round at 7:18 a.m., her ticket price will be $0.9 since it's before 7:20 a.m.

If User *Bob* takes part in the game round at 7:30 a.m., his ticket price will be $1 since he joins the game within 7:20a.m. \~ 7:40a.m.

If User *Charlie* joins the game round at 7:48 a.m., his ticket price will be charged at price of $1.2 since he joins the game in the last 1/3 time period.

**Case 2: How to win the game & reward calculation**

If the number users selected is the same as the result this round, those users will share the rewards in the pool. The rewards come from the users who select wrong numbers.

In this game, we have 6 digits to select.

* **Alice** selects number 1 with 1 tickets ($1).
* **Bob** selects number 2 with 10 tickets ($10).
* **Bob** selects number 6 with 5 tickets ($5).
* **Charlie** selects number 3 with 5 tickets ($5).
* **Charlie** selects number 4 with 8 tickets ($8).
* **Eve** selects number 1 with 3 tickets ($3).
* **Eve** selects number 5 with 4 tickets ($4).

The final result is number **1**, the reward in this round is $10 (Bob, number 2)+ $5 (Bob, number 6) + $5 (Charlie, number 3) + $8 (Charlie, number 4) + $4 (Eve, number 5) = $32

Since 75% will be allocate to winners, which is $32 \* 75% = $24.

* **Alice**'s final reward: $1 (fee) + $24 \* $1 / ($1 + $3) = $7
* **Eve**'s final reward: $3 (fee) + $24 \* $3 / ($1 + $3) = $21

#### Lucky Rewards for users

Additionally, we also reserve one position for lucky users. We randomly select **ONE** users out of all participants, giving 8% rewards to him. Consider the example above, we will randomly select one user from **Alice, Bob, Charlie, Eve.**&#x20;

{% hint style="info" %}

* &#x20;*<mark style="color:orange;">**The amount of buying tickets doesn't consider during this step, which means Alice and Bob both have the same opportunity to win the lucky rewards.**</mark>* &#x20;
* *<mark style="color:orange;">**The random number for drawing a lucky user is independent of that of game's results.**</mark>*
  {% endhint %}
