#!/bin/bash

# ═══════════════════════════════════════════════════════════════
#  🎮 MICAH'S MINECRAFT SETUP - by ddot
#  Just double-click this file and watch the magic happen!
# ═══════════════════════════════════════════════════════════════

clear
echo ""
echo "═══════════════════════════════════════════════════════════════"
echo "  🎮  HEY MICAH! It's ddot!"
echo "═══════════════════════════════════════════════════════════════"
echo ""
echo "  I'm gonna help you get Minecraft working."
echo "  Just sit back and follow along!"
echo ""
echo "  Starting in 3 seconds..."
sleep 3

clear
echo ""
echo "═══════════════════════════════════════════════════════════════"
echo "  ⚡ STEP 1: Opening Claude (your AI helper)"
echo "═══════════════════════════════════════════════════════════════"
echo ""
echo "  Claude is gonna pop up in a second."
echo "  When it does, I've already told it what to do!"
echo ""
echo "  Just follow what Claude says."
echo "  If Claude asks you to type something, type it."
echo "  If Claude asks you to click something, click it."
echo ""
echo "  Ready? Here we go..."
echo ""
sleep 2

# Create the prompt file
PROMPT="Hey Claude! I'm Micah, I'm 13, and my uncle ddot needs your help getting Minecraft Java Edition working on my Mac so I can play on his server!

IMPORTANT: Please help me step by step. Explain everything simply because I'm new to Mac.

Here's what I need:
1. First check if Minecraft Java Edition is installed (look in /Applications for 'Minecraft.app' or 'Minecraft Launcher.app')
2. If it's not installed, help me download and install it from minecraft.net
3. Make sure Java is installed (Minecraft needs it) - if not, install it with: brew install openjdk@21
4. If Minecraft IS installed but won't launch, try to fix it
5. Once Minecraft opens and I see the main menu, tell me to type 'done' so you can give me the server info

The server info for when I'm ready:
- Server Name: ddot's World
- Server Address: 136.56.98.43

Please start by checking if Minecraft is installed!"

# Run Claude with the prompt
echo "$PROMPT" | claude

