Skip to content

Commit

Permalink
Update words arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
instantfred committed Jul 20, 2024
1 parent 55bbb62 commit cba2376
Showing 1 changed file with 35 additions and 30 deletions.
65 changes: 35 additions & 30 deletions src/SounddittoGame.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,41 +7,46 @@ const GAME_DURATION = 60; // Game duration in seconds
const SKIP_PENALTY = 5; // Time penalty for skipping in seconds

const englishWords = [
{ easy: "Cat", hard: "Feline" },
{ easy: "Dog", hard: "Canine" },
{ easy: "Bird", hard: "Avian" },
{ easy: "Fish", hard: "Aquatic" },
{ easy: "Elephant", hard: "Pachyderm" },
{ easy: "Car", hard: "Automobile" },
{ easy: "Bike", hard: "Velocipede" },
{ easy: "Train", hard: "Locomotive" },
{ easy: "Plane", hard: "Aircraft" },
{ easy: "Boat", hard: "Vessel" },
{ easy: "Apple", hard: "Pomaceous" },
{ easy: "Banana", hard: "Cavendish" },
{ easy: "Orange", hard: "Citrus" },
{ easy: "Grape", hard: "Vitis" },
{ easy: "Pear", hard: "Pyrus" },
{ easy: "Pidgeon", hard: "Dentist Drill" },
{ easy: "Serpiente", hard: "Blender" },
{ easy: "Mouse", hard: "Earthquake" },
{ easy: "Heartbeat", hard: "Zombie" },
{ easy: "Bell", hard: "Camera" },
{ easy: "Hiccup", hard: "Panda" },
{ easy: "Bee", hard: "Footsteps" },
{ easy: "Train", hard: "Broom" },
{ easy: "Dinosaur", hard: "Saxophone" },
{ easy: "Kiss", hard: "Tornado" },
{ easy: "Monster", hard: "Scissors" },
{ easy: "Police Car", hard: "Popcorn" },
{ easy: "Drinking", hard: "Boxing" },
{ easy: "Guitar", hard: "Bus" },
{ easy: "Doorbell", hard: "Cricket" },
{ easy: "Whip", hard: "Seagull" },
{ easy: "Fart", hard: "Bubbles" },
];

const spanishWords = [
{ easy: "Gato", hard: "Felino" },
{ easy: "Perro", hard: "Canino" },
{ easy: "Pájaro", hard: "Aviar" },
{ easy: "Pez", hard: "Acuático" },
{ easy: "Elefante", hard: "Paquidermo" },
{ easy: "Coche", hard: "Automóvil" },
{ easy: "Bicicleta", hard: "Velocípedo" },
{ easy: "Tren", hard: "Locomotora" },
{ easy: "Avión", hard: "Aeronave" },
{ easy: "Barco", hard: "Embarcación" },
{ easy: "Manzana", hard: "Pomácea" },
{ easy: "Plátano", hard: "Cavendish" },
{ easy: "Naranja", hard: "Cítrico" },
{ easy: "Uva", hard: "Vitis" },
{ easy: "Pera", hard: "Pyrus" },
{ easy: "Paloma", hard: "Taladro de dentista" },
{ easy: "Serpiente", hard: "Licuadora" },
{ easy: "Ratón", hard: "Terremoto" },
{ easy: "Latido del corazón", hard: "Zombi" },
{ easy: "Campana", hard: "Cámara" },
{ easy: "Hipo", hard: "Panda" },
{ easy: "Abeja", hard: "Pasos" },
{ easy: "Tren", hard: "Escoba" },
{ easy: "Dinosaurio", hard: "Saxofón" },
{ easy: "Beso", hard: "Tornado" },
{ easy: "Monstruo", hard: "Tijeras" },
{ easy: "Auto de policía", hard: "Palomitas de maíz" },
{ easy: "Beber", hard: "Boxeo" },
{ easy: "Guitarra", hard: "Autobús" },
{ easy: "Timbre", hard: "Grillo" },
{ easy: "Látigo", hard: "Gaviota" },
{ easy: "Pedo", hard: "Burbujas" },
];


const SounddittoGame = () => {
const [gameState, setGameState] = useState('waiting');
const [currentWords, setCurrentWords] = useState({ easy: '', hard: '' });
Expand Down

0 comments on commit cba2376

Please sign in to comment.