A command-line typing speed test game built with TypeScript. Test your typing speed and accuracy in a fun, competitive environment right from your terminal!
- Real-time typing speed measurement
- Accuracy tracking
- Clean, terminal-based interface
- Multiple text samples to test against
Before you begin, ensure you have the following installed:
- Clone the repository:
git clone https://github.com/yourusername/typeracer.git
cd typeracer- Install dependencies:
npm install- Start the game:
npm start-
When the game starts:
- A random text will appear
- Start typing as soon as you see the text
- Your typing speed and accuracy will be displayed in real-time
- Press Enter when you're done
-
After completing the text:
- Your words per minute (WPM) will be displayed
- Your accuracy percentage will be shown
- You'll have the option to play again
To run the project in development mode:
npm run devTo compile TypeScript files:
npm run buildtyperacer/
โโโ src/ # Source code
โโโ texts/ # Text samples for typing tests
โโโ package.json # Project dependencies and scripts
โโโ tsconfig.json # TypeScript configuration
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the ISC License.
- Thanks to all contributors who have helped improve this project
- Inspired by the classic TypeRacer game