KeyBattle is an engaging typing speed game that helps you improve your typing skills through two exciting game modes: Timed Mode and Race Battle Mode. Built with React, this game offers a modern, responsive interface with interactive features and sound effects.
-
Timed Mode
- Customizable time limit (10-300 seconds)
- Adjustable word count (10-200 words)
- Words Per Minute (WPM) tracking
- Accuracy measurement
- Fun Sound effects
-
Race Battle Mode
- Three difficulty levels (Easy, Medium, Hard)
- Score multiplier system
- High score tracking
- Bonus time rewards
- Progressive difficulty
- Fun Sound effects
- Modern, responsive UI
- Real-time feedback on typing accuracy
- High score persistence using localStorage
- Interactive mouse-following gradient background
- React.js
- React Router for navigation
- CSS3 with modern features
- Local Storage for data persistence
- Custom sound effects
- Node.js (v14.0.0 or higher)
- npm or yarn package manager
- Clone the repository:
git clone https://github.com/yourusername/keybattle.git
- Navigate to the project directory:
cd keybattle
- Install dependencies:
npm install
# or
yarn
- Start the development server:
npm start
# or
yarn start
- Open http://localhost:3000 to view it in your browser.
- Select your desired time limit and word count
- Toggle sound effects if desired
- Click "Start Typing" to begin
- Type the words as they appear
- Try to complete as many words as possible within the time limit
- Choose your difficulty level:
- Easy: +3 seconds per correct word
- Medium: +2 seconds per correct word
- Hard: +1 second per correct word
- Toggle sound effects if desired
- Click "Start Race" to begin
- Type words correctly to earn bonus time
- Try to achieve the highest score possible
Contributions are welcome! Please feel free to submit a Pull Request. // edit 31730 // edit 16650 // edit 6138 // edit 28854