import React, { useState } from 'react'; import { Volume2, Users, Trophy, Play, RotateCcw, ChevronRight } from 'lucide-react'; const HobbySportGame = () => { const [currentRound, setCurrentRound] = useState('intro'); const [currentQuestion, setCurrentQuestion] = useState(0); const [scores, setScores] = useState({ team1: 0, team2: 0, team3: 0 }); const [showAnswer, setShowAnswer] = useState(false); const [clueNumber, setClueNumber] = useState(0); const round1Questions = [ { description: "You hear splashing water, people cheering, and a whistle blowing every few minutes. Someone shouts 'Lane 4 is the fastest!'", answer: "SWIMMING", points: 2 }, { description: "You hear wheels on pavement, someone breathing heavily, and music in earbuds. A voice says 'Kilometer 5 completed.'", answer: "JOGGING / RUNNING", points: 2 }, { description: "You hear guitar strings, someone humming, then singing. They stop and say 'Let me try that verse again.'", answer: "PLAYING GUITAR / MUSIC", points: 2 }, { description: "You hear clicking sounds, fast typing, people talking through headphones: 'Cover me! Enemy on the left!'", answer: "VIDEO GAMES / GAMING", points: 2 }, { description: "You hear pages turning, complete silence, then someone whispers 'This chapter is so exciting!' in a quiet place.", answer: "READING", points: 2 }, { description: "You hear balls bouncing, shoes squeaking on a floor, a whistle, and someone yells 'Pass it! Pass it!'", answer: "BASKETBALL", points: 2 }, { description: "You hear horses neighing, hooves on the ground, and someone says 'Good girl, easy now, let's trot.'", answer: "HORSE RIDING", points: 2 }, { description: "You hear a small ball hitting a table repeatedly - 'ping pong ping pong' - and someone shouts 'Great serve!'", answer: "TABLE TENNIS / PING PONG", points: 2 } ]; const round2Questions = [ { clues: [ "This person wakes up very early, even before sunrise.", "They spend a lot of time outdoors near water.", "They need special equipment and a lot of patience.", "Sometimes they catch nothing, sometimes they catch dinner!" ], answer: "FISHING", points: [5, 4, 3, 2] }, { clues: [ "This person has a very flexible body.", "They practice breathing techniques and meditation.", "They use a special mat and no shoes.", "They do poses with names like 'downward dog' and 'warrior.'" ], answer: "YOGA", points: [5, 4, 3, 2] }, { clues: [ "This person loves cold weather and mountains.", "They wear special boots and use two long sticks.", "They go down snowy hills very fast.", "They might visit places like the Alps or Colorado." ], answer: "SKIING", points: [5, 4, 3, 2] }, { clues: [ "This person needs waves and an ocean.", "They have excellent balance and strong legs.", "They stand on a board in the water.", "Famous places for this include Hawaii and Australia." ], answer: "SURFING", points: [5, 4, 3, 2] }, { clues: [ "This person uses colors and creativity every day.", "They might work on paper or canvas.", "They express their feelings through images.", "Famous people who do this include Picasso and Van Gogh." ], answer: "PAINTING / DRAWING", points: [5, 4, 3, 2] }, { clues: [ "This person wears a special uniform, usually white.", "They learn discipline and respect.", "They bow before they practice or compete.", "Types include karate, judo, taekwondo, and kung fu." ], answer: "MARTIAL ARTS", points: [5, 4, 3, 2] } ]; const round3Questions = [ { description: "It has two wheels, you wear a helmet, Tour de France", answer: "CYCLING", points: 3 }, { description: "Black and white ball, offside rule, World Cup", answer: "FOOTBALL / SOCCER", points: 3 }, { description: "Paint, brushes, canvas, colors, gallery", answer: "PAINTING", points: 3 }, { description: "Cold, ice, mountains, lift, Alps", answer: "SKIING", points: 3 }, { description: "Ocean, board, waves, balance, California", answer: "SURFING", points: 3 }, { description: "Net in the middle, racket, yellow ball, Wimbledon", answer: "TENNIS", points: 3 }, { description: "Pool, goggles, lanes, butterfly stroke, Olympics", answer: "SWIMMING", points: 3 }, { description: "White uniform, black belt, discipline, dojo, Japan", answer: "MARTIAL ARTS / KARATE", points: 3 }, { description: "Saddle, reins, stable, jumping, equestrian", answer: "HORSE RIDING", points: 3 }, { description: "Small table, paddle, orange ball, fast reflexes", answer: "TABLE TENNIS", points: 3 }, { description: "Controller, screen, online friends, missions, levels", answer: "VIDEO GAMES", points: 3 }, { description: "Library, novels, magazines, chapters, bookstore", answer: "READING", points: 3 }, { description: "Strings, chords, melody, concert, band", answer: "PLAYING MUSIC / GUITAR", points: 3 }, { description: "Camera, photos, memories, Instagram, landscapes", answer: "PHOTOGRAPHY", points: 3 }, { description: "High net, spike, serve, sand or court, 6 players", answer: "VOLLEYBALL", points: 3 } ]; const bonusCategories = { title: "BONUS Categories Race - 90 seconds!", categories: [ { name: "3 Water Sports", examples: "swimming, surfing, water polo, diving, sailing..." }, { name: "3 Hobbies You Do Alone", examples: "reading, painting, photography, fishing..." }, { name: "3 Hobbies With Music", examples: "playing guitar, singing, dancing, DJ-ing..." }, { name: "3 Sports With a Ball", examples: "football, basketball, tennis, volleyball..." } ] }; const addPoints = (team, points) => { setScores(prev => ({ ...prev, [team]: prev[team] + points })); }; const resetGame = () => { setCurrentRound('intro'); setCurrentQuestion(0); setScores({ team1: 0, team2: 0, team3: 0 }); setShowAnswer(false); setClueNumber(0); }; const nextQuestion = () => { setCurrentQuestion(prev => prev + 1); setShowAnswer(false); setClueNumber(0); }; const renderIntro = () => (
A2+ Level - Team Competition Game
{q.description}
{q.description}