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

# Coinflip Guide

{% embed url="<https://www.youtube.com/watch?v=dohVS7E5AEc>" %}

## 1. Go to [play.polyflip.io](https://play.polyflip.io/) <a href="#id-2-click-download" id="id-2-click-download"></a>

## 2. Click on “Coinflip” <a href="#id-2-click-download" id="id-2-click-download"></a>

![](https://2046816661-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGJ1btOr1MxDZwR608Vtr%2Fuploads%2FQLuFI3TuXyuhz1aaZX10%2Fimage.png?alt=media\&token=6a220e28-e8f3-4c3d-889e-a0de18409a44)

## 3. Choose the currency you want to bet <a href="#id-2-click-download" id="id-2-click-download"></a>

You can choose $MATIC. $ETH and many other tokens coming soon!

![Coinflip](https://2046816661-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGJ1btOr1MxDZwR608Vtr%2Fuploads%2F1vbSiAiuIEF8iAHWPosI%2Fimage.png?alt=media\&token=b5c27f47-40ab-4258-b600-ef3c9d8f07c0)

## 4. Choose the amount you want to bet <a href="#id-2-click-download" id="id-2-click-download"></a>

You can type the correct amount in the black box, use the +/- buttons on the sides or the helping buttons below.

![Coinflip](https://2046816661-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGJ1btOr1MxDZwR608Vtr%2Fuploads%2FdRqi879A2ahPsQ0VpOto%2Fimage.png?alt=media\&token=2b81bd42-e31b-4451-935c-a8b6f44c40df)

## 5. Choose the number of coins <a href="#id-2-click-download" id="id-2-click-download"></a>

![Coinflip](https://2046816661-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGJ1btOr1MxDZwR608Vtr%2Fuploads%2F5JjEqqAHqAf2YK9soTxv%2Fimage.png?alt=media\&token=ceadc971-1a99-4aef-b343-9c22618ed01a)

The users have the possibility to play up to 4 coins simultaneously, choosing for each one heads or tails. The order of the coins, starting from the top, is important to determine if the bet is winning or losing.&#x20;

\
For example, if my bet with 4 coins is **HTHH:**

* The result **HHTH** is a **losing** result.
* The result **HTHH** is a **winning** result.

By increasing the number of the coins the user can increase the amount of the prize in an exponential way. Said n the number of coins, the amount of the prize (P) is calculated in this way:

&#x20;                                                               $$P= 2^{n}$$

For this reason the possible plays are mainly 4:

* **Win 2 times\*** of the value of the pot with only one coin.
* **Win 4 times\*** the value of the pot with two coins.
* **Win 8 times\*** the value of the pot with three coins.
* **Win 16 times\*** the value of the pot with four coins.

## 6. Click on "Bet" and confirm the transaction on Metamask <a href="#id-2-click-download" id="id-2-click-download"></a>

![Coinflip](https://2046816661-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGJ1btOr1MxDZwR608Vtr%2Fuploads%2F9ooGQ9yq7c77yFJyWmFx%2Fimage.png?alt=media\&token=387345bc-6c5e-42fd-b4ab-7c27febac05d)

The system already sets a minimum GWEI taking into account the actual GWEI of the blockchain in order to maximize the speed of the transaction and improve the user experience.\ <br>
