import { useState } from 'react'; import { Link } from 'react-router'; import '../styles.css'; import Footer from '../components/Footer'; import MorseGame from '../components/MorseGame'; const HomePage = () => { // Game state const [gameStarted, setGameStarted] = useState(false); // Initialize the game when started - this happens on user interaction (button click) const startGame = () => { setGameStarted(true); }; // Reset game to initial state const resetGame = () => { setGameStarted(false); }; return (
Morse Hero turns learning Morse code into an engaging game. Listen to the signals, identify the characters, and improve your skills with every round.
Learn by doing with our interactive game format
Train your ear to recognize Morse code sounds
See your improvement with each practice session
Set your own pace as you build your skills