A typing game built to make learning the keyboard more fun.
Type each moving letter before it reaches the floor. Clear passages, survive each stage, and improve your typing skills.
My sister got a keyboard for her tablet and needed a way to learn how to type on it.
So I built her a game.
Falling Letters turns typing practice into a simple challenge: watch the letter, find the key, and type it before it reaches the floor.
- Press Space or click the start button to begin.
- Type the letter moving across the runway before it reaches the floor.
- Avoid mistakes. Wrong keys and missed letters cost a life.
- Clear the passage to advance to the next stage.
- Keep going as passages get longer and letters move faster.
You start with three lives. Press Esc to pause.
Your best score is saved in your browser.
- Node.js 20 or newer
- npm
git clone https://github.com/Reabot6/falling-letters
cd falling-letters
npm install
npm run devOpen the local URL printed in your terminal. Vite typically uses http://localhost:5173.
| Command | Description |
|---|---|
npm run dev |
Start the development server |
npm run build |
Build the production version |
npm run preview |
Preview the production build |
npm run typecheck |
Check TypeScript types |
src/
├── App.tsx
├── hooks/
│ └── useTypingGame.ts
├── components/
├── index.css
└── ...
| Path | Purpose |
|---|---|
App.tsx |
Main game screen |
hooks/useTypingGame.ts |
Game state, passage generation, and keyboard input |
components/ |
UI components and error boundary |
index.css |
Global styles |
This project is licensed under the MIT License. See LICENSE for details.
Play the Game · Built by Reabot6