# VRChat Hold'em

## Dependencies

- **UdonChips 2.11**  
  https://booth.pm/ja/items/3060394
- **SmartObjectSync**  
  https://github.com/MMMaellon/SmartObjectSync

## Changes

- All prefabs are now located under `VrchatHoldem/Prefabs`
- Drastically improved performance
- Added more statistics
- Integrated with UdonChips
- Added an 8-player table variant

## Usage

Add the following prefabs to your scene:

### UdonChips

Recommended settings:
- Initial amount: **1500**
- Save Mode: **Auto**

### HoldemGame

Recommended:
- Scale: **0.8**
- Add as many tables as desired.
- Winner timeout: **10 seconds**
- Action timeout: **15–20 seconds**

In the Inspector, assign the **UdonChips** reference.

### VRChatHoldemPlayerObject

Add **one** instance per world.

Recommended:
- Keep the default values.

In the Inspector, assign the **UdonChips** reference.

## Optional Prefabs

### UncModeButton

High Visibility Mode button.

- Add one per `HoldemGame`.
- Assign the corresponding `HoldemGame` reference in the Inspector.

### WelfarePrefab

Button that grants welfare money.

Recommended settings:
- Cash granted: **750**
- Cooldown: **10 minutes**
- Maximum balance threshold: **3000**

### InfoPanel

Displays player balance and statistics.

### CharityCardPrefab

Donation card for transferring money between players.

Recommended settings:
- Transfer amount: **1000**
- Minimum balance required: **1000**
- Radius: **0.4**
