# Fun & Games

The Games system provides various gambling and entertainment features for users to spend their currency, including coin flips, slots, dice rolls, and more.

## Coin Flip

```
/flip <coin_side> <bet>
```

Features:

* Bet on Heads or Tails
* Bet range: 1-250
* Win: Get your bet back
* Loss: Lose your bet

## Slots

```
/slots <bet>
```

Features:

* Bet range: 1-250
* Match 2: 2x reward
* Match 3: 3x reward
* Symbols: 💰, 🍓, 🍒, 🥭, 🍌, 🥝, ⚽️

## Dice Roll

```
/roll <guess> <bet>
```

Features:

* Guess number 1-6
* Bet range: 1-250
* Win: 2x your bet
* Loss: Lose your bet

## Rock Paper Scissors

```
/rps <choice> <bet>
```

Features:

* Choose: Rock, Paper, or Scissors
* Bet range: 1-250
* Win: Get your bet back
* Tie: Bet returned
* Loss: Lose your bet

## Number Guess

```
/guess <guess> <bet>
```

Features:

* Guess number 1-10
* Bet range: 1-250
* Win: 5x your bet
* Loss: Lose your bet

## Rumble Royale (Admin Only)

```
/rumble-start <reward> <max_players> <join_time>
```

Features:

* Admin-only game
* Custom reward amount
* 2-75 players
* 10-300 seconds join time
* Custom message with start embed

## Looting

The Looting system allows users to attempt to steal currency from other users' checking balances, with a risk-reward mechanic that includes fight-back options and shield protection. The system is designed to add an interactive and competitive element to the server's economy.

#### Configure Loot Settings (Admins Only)

```
/loot-config [loot_amount_percentage] [bail_amount_percentage]
```

Parameters:

* `loot_amount_percentage`: (Optional) Percentage of checking balance available for looting (1-10%)
* `bail_amount_percentage`: (Optional) Percentage of checking balance set as bail amount (1-25%)

### User Commands

#### Attempt Loot

```
/loot <victim>
```

Parameters:

* `victim`: User to attempt looting from

#### Buy Shield

```
/buy-shield <quantity>
```

Parameters:

* `quantity`: Number of shields to buy (1-10)

#### Set Shield Threshold

```
/shield-threshold <amount>
```

Parameters:

* `amount`: Minimum amount to trigger shield (0-10,000)

#### View Shield Info

```
/shield-info
```

Shows current shield quantity and threshold settings.

### Looting Process

1. **Initial Attempt**
   * Looter must have less checking balance than victim
   * Loot amount based on looter's balance
   * Minimum loot amount of 10 currency
2. **Fight Back System**
   * Victim has 30 seconds to fight back
   * 50% chance of preventing looting
   * Must click "Fight Back" button
3. **Claim Loot**
   * Looter can claim after fight-back period
   * 50% chance of successful looting
   * Amount based on configuration

### Shield System

1. **Shield Purchase**
   * Cost: 0.5% of checking balance per shield
   * Maximum 10 shields
   * Minimum balance of 2000 required
2. **Shield Threshold**
   * Customizable minimum amount
   * Only triggers above threshold
   * Protects checking balance
