# TCG Bot — Setup (about 10 minutes, one time)

Works on **Windows and Mac**. Follow the section for your computer.

## 1. Install two free programs (both computers)
- **Node.js** — https://nodejs.org → the big green **LTS** button → install.
- **Brave browser** — https://brave.com → install. (The bot uses its own separate Brave window for pricing.)

## 2. Extract this download
- **Windows:** right-click **`tcg-bot.zip`** → **Extract All…** → **Extract**, then open the folder.
- **Mac:** double-click **`tcg-bot.zip`** to unzip, then open the new folder.

*(Don't run anything from inside the zip — extract it first.)*

## 3. Run setup

### Windows
Double-click **`SETUP`** (the one that ends in `.bat`). It installs the bot and puts a **"TCG Bot"** icon on your Desktop.

### Mac
macOS needs you to start it from Terminal the first time (just once):
1. Open **Terminal** (press ⌘+Space, type `Terminal`, press Return).
2. In Terminal, type `bash ` (the word bash and a space) — **don't press Return yet**.
3. **Drag the `SETUP.command` file** from the folder into the Terminal window (it fills in the location), then press **Return**.
4. It installs the bot and puts a **"TCG Bot"** launcher on your Desktop.

## Every day — one click (both computers)
Double-click the **"TCG Bot"** icon/launcher on your Desktop. It starts the bot, opens a Brave window, and opens the app.
**Leave the black/Terminal window open** while you work; close it to stop.
*(Mac: the first time you open it, macOS may ask — click **Open**.)*

## First time only, inside the app
1. **Log in** with the username + password you were given.
2. A Brave window opened — **log into CardLadder in it once**. It stays signed in after that.
That's it — **pricing is included with your subscription and connects automatically**; there's nothing to paste. After the first time, it's just: click the icon → use the app.

## If something's off
- **No "TCG Bot" icon after setup** → make sure you **extracted** the zip first, then run setup again.
- **"Bot not running" / prices won't load** → make sure the launcher window is open and you're logged into CardLadder in the bot's Brave window.
- Anything else → screenshot it and send it over.
