import { Button } from "@/components/ui/button"; import { motion } from "framer-motion"; import { useState } from "react"; import { HighScoreBoard } from "../HighScoreBoard"; import { Dialog, DialogContent, DialogHeader, DialogTitle } from "@/components/ui/dialog"; import { Card, CardContent } from "@/components/ui/card"; interface WelcomeScreenProps { onStart: () => void; } export const WelcomeScreen = ({ onStart }: WelcomeScreenProps) => { const [showHighScores, setShowHighScores] = useState(false); const [showHowToPlay, setShowHowToPlay] = useState(false); const HowToPlayContent = () => (

The Setup

You'll work with two AIs: one as your partner giving clues, and another trying to guess the word.

Your Goal

Help the AI guess the secret word using one-word clues. Each correct guess earns you a point!

The Rules

  • One word per clue only
  • No parts of the secret word or translations
  • Clues must relate to the word (be creative!)
  • No spelling out the answer
); return ( <>

Think in Sync

In this game you team up with AI to guess secret words!

setShowHighScores(false)} onPlayAgain={onStart} /> How to Play ); };