Skip to content

iamabhinavpv/blitz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Blitz Type

A modern space-themed typing speed trainer inspired by Monkeytype and NASA mission control aesthetics.

Practice typing with beautiful animated starfields, live WPM tracking, accuracy monitoring, mission-style progression, background music, and a final celebration screen.

Built using pure HTML, CSS, and JavaScript — no frameworks, no build tools, no dependencies.


🌌 Live Demo

👉 View Live Demo

Enable GitHub Pages: Repository → Settings → Pages → Branch: main → Save


✨ Features

⌨️ Real-Time Typing Test

  • Character-by-character highlighting
  • Current cursor indicator
  • Live typing feedback
  • Automatic passage progression

📈 Performance Tracking

  • Live WPM calculation
  • Live Accuracy calculation
  • Lifetime mistake tracking
  • Real-time statistics panel

🚀 Mission Mode

  • Complete 3 unique passages
  • Automatic loading of new passages
  • No repeated passages until the pool is exhausted
  • Mission completion system

🎉 Celebration Screen

  • Confetti animation
  • Final mission report
  • Average WPM calculation
  • Average Accuracy calculation
  • One-click Start Over button

🌠 Space Environment

  • Animated starfield background
  • Smooth particle movement
  • NASA-inspired visual design
  • Glassmorphism UI

🎵 Background Music

  • Looping ambient soundtrack
  • Hover-to-expand volume slider
  • Modern SVG volume controls
  • Adjustable audio levels

⚡ Keyboard Shortcuts

Key Action
Tab Skip to next passage
Esc Restart current passage
Click Anywhere Refocus typing input

🎯 How It Works

  1. Start typing the displayed passage
  2. Monitor your WPM and Accuracy
  3. Complete 3 unique passages
  4. View your final mission statistics
  5. Start another mission

Accuracy is calculated using all typing mistakes made during the challenge rather than only the final corrected text.


🛠 Tech Stack

Layer Technology
Structure HTML5
Styling CSS3
Logic Vanilla JavaScript
Audio HTML5 Audio API
Animation Canvas API
Effects Web Animations API

No frameworks.

No libraries.

No build process.


📁 Project Structure

blitz-type/
│
├── index.html
├── style.css
├── script.js
├── bgm.mp3
├── README.md
│
└── assets/
    └── screenshots/

💻 Running Locally

Option 1 — Directly Open

Simply download the repository and open:

index.html

in your browser.


Option 2 — VS Code Live Server

  1. Install Live Server extension
  2. Right-click index.html
  3. Click "Open with Live Server"

The page will automatically reload whenever changes are saved.


🎮 Controls

Typing Controls

Type normally      → Start test
Tab                → Next passage
Esc                → Restart passage

Audio Controls

Hover speaker icon → Show volume slider
Drag slider        → Change volume

📊 Statistics

Words Per Minute (WPM)

Calculated using:

Typed Characters ÷ 5
--------------------
Elapsed Time

Accuracy

Calculated using:

Correct Keystrokes
------------------
Total Keystrokes

Every mistake counts, even if corrected later.


🚀 Future Improvements

  • Global leaderboard
  • User profiles
  • Multiplayer races
  • Daily challenges
  • Quote API integration
  • Custom themes
  • Typing analytics
  • Achievement system
  • Difficulty levels
  • Mobile optimization

🤝 Contributing

Pull requests are welcome.

Feel free to:

  • Improve UI
  • Add new game modes
  • Fix bugs
  • Add animations
  • Enhance accessibility

📜 License

MIT License

Free to use, modify, and distribute.


Made with ☕, JavaScript, and a love for space.

About

A NASA-themed type tester built in Python. Blitz features a space-inspired UI with NASA aesthetics — think mission control vibes, cosmic color schemes, and astronaut-friendly. Built for people who want to feel like they're writing from the ISS.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages