## MonkeyGames 🐵🎲
**Board games and card games, fully playable inside World of Warcraft.**
Whether you’re waiting for a summon, chilling in a capital city, or killing time between pulls — MonkeyGames lets you challenge a smart AI or go head-to-head with a friend via addon-to-addon chat.

---

## Games Included

### ♟️ Chess
A full chess implementation built for real matches — not a mini-toy version.
- Complete rules: **castling**, **en passant**, **pawn promotion**
- Accurate **check / checkmate / stalemate** detection
- Play as **White or Black**
- **Three AI difficulty levels** (Easy / Medium / Hard) powered by **minimax + alpha-beta pruning**

### 🚢 Battleships
Classic naval warfare — place your fleet and sink the enemy!
- **5 ships** to place: Carrier (5), Battleship (4), Cruiser (3), Submarine (3), Destroyer (2)
- **Manual placement** with hover preview, rotate, and random auto-place
- **10×10 dual-board** play view: track your shots and watch incoming fire
- **Three AI difficulty levels**: random, hunt/target, and probability-density targeting
- Ships light up when **sunk**, with per-board status tracking

### 🃏 Blackjack (21)
Classic casino-style Blackjack against the dealer.
- **Hit**, **Stand**, **Double Down**, **Split Pairs**, **Insurance**
- Uses a **2-deck shoe** with proper reshuffle behavior
- Bet using an **in-addon gold balance system** (no real gold risk)

---

## Key Features
- 🎨 **Custom artwork** for cards and chess pieces
- 🤖 **Play vs AI** or 🧑‍🤝‍🧑 **challenge another player** who has MonkeyGames installed
- 📊 **Game browser** with **per-character** win/loss/draw stats
- 🌑 **Dark-themed UI** designed to blend with WoW’s aesthetic
- 💾 **Persistent game state** — your active match is saved across sessions
- 📡 Multiplayer support over **AceComm**: invite, resign, offer/accept draws
- ✅ **Fully self-contained** — no external dependencies beyond bundled **Ace3**

---

## Slash Commands
- `/mg` — Open the game browser
- `/mg resign` — Resign the current game
- `/mg draw` — Offer a draw to your opponent

---

## Installation
1. Download and unzip
2. Drop the **MonkeyGames** folder into:
   `World of Warcraft/_classic_/Interface/AddOns/`
3. `/reload` and type **/mg** to play
