Skip to content

About

A typing game built to help my sister learn to type on her tablet keyboard. Type falling letters, clear passages, and challenge yourself as the speed increases.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Falling Letters

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.

Play Falling Letters →


React TypeScript Vite License


Why i built it

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.

How to Play

  1. Press Space or click the start button to begin.
  2. Type the letter moving across the runway before it reaches the floor.
  3. Avoid mistakes. Wrong keys and missed letters cost a life.
  4. Clear the passage to advance to the next stage.
  5. 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.

Getting Started

Requirements

Installation

git clone https://github.com/Reabot6/falling-letters
cd falling-letters
npm install
npm run dev

Open the local URL printed in your terminal. Vite typically uses http://localhost:5173.

Available Commands

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

Project Structure

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

Built With

License

This project is licensed under the MIT License. See LICENSE for details.


Play the Game · Built by Reabot6

About

A typing game built to help my sister learn to type on her tablet keyboard. Type falling letters, clear passages, and challenge yourself as the speed increases.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages