import { useState } from 'react'; import { ArrowRight, BarChart2, RefreshCw, Send } from 'lucide-react'; export default function YCSimulator() { const [response, setResponse] = useState(''); const [feedback, setFeedback] = useState(null); const [strength, setStrength] = useState(0); const analyzeResponse = () => { // Simulate analysis of response const keywords = ['market', 'growth', 'revenue', 'users', 'problem', 'solution', 'traction']; const foundKeywords = keywords.filter(word => response.toLowerCase().includes(word) ); const newStrength = Math.min(100, foundKeywords.length * 15); setStrength(newStrength); const recommendations = []; if (!response.includes('market')) recommendations.push('Consider addressing market size and potential'); if (!response.includes('growth')) recommendations.push('Include growth metrics or projections'); if (!response.includes('revenue')) recommendations.push('Mention revenue model or current revenue'); setFeedback({ score: newStrength, recommendations: recommendations.length ? recommendations : ['Strong response! Keep it concise and data-driven.'] }); }; return (

Y Combinator Response Simulator

Test and improve your startup pitch responses