# /blackjack

### Command: `/blackjack`

#### Description

The `/blackjack` command is a classic card game in which players try to reach a hand value as close to 21 as possible without going over. In this version, you will bet coins and play against the dealer for a chance to win big.

**How to Play:**

1. **Starting the Game:**
   * Use the `/blackjack`, followed by your desired bet amount.
   * You’ll receive two cards initially, while the dealer also gets two cards (one face-up and one hidden).
2. **Game Actions:**
   * **Hit**: Draw another card to try to increase your score. Use this if your current hand is under 21 and you want to get closer.
   * **Stand**: End your turn to keep your current score. Choose this if you feel close enough to 21 and want to avoid going over.

**Parameter Table**

<table><thead><tr><th width="153" align="center">Parameter</th><th width="99">Type</th><th width="355">Description</th><th>Mandatory</th></tr></thead><tbody><tr><td align="center"><code>bet</code></td><td>Integer</td><td>Amount of coins to bet in the game. It must be a positive number less than or equal to the user's balance.</td><td>Yes</td></tr></tbody></table>

**Example of Use**

```plaintext
/blacjac bet: 10k
```

{% hint style="danger" %}
**Risk:** Be aware that the dealer will also aim to get as close to 21 as possible. If their hand is below 17, they will automatically take an additional card. This makes the game more challenging, as the dealer could surpass your score or even achieve a Blackjack. Play strategically, and remember that taking too many risks might cost you your bet.
{% endhint %}
