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 = () => (
You'll work with two AIs: one as your partner giving clues, and another trying to guess the word.
Help the AI guess the secret word using one-word clues. Each correct guess earns you a point!
In this game you team up with AI to guess secret words!