Prompt Library 💻 Coding & Dev Cosmic Keystrokes
Claude 💻 Coding & Dev Advanced

Cosmic Keystrokes

Generate an interactive speed typing game in a single HTML file, featuring side-scrolling gameplay and Tailwind CSS styling.
👁 14 views ⎘ 0 copies ♥ 0 likes

The Prompt

Your task is to create an interactive speed typing game using a single HTML file. The game should:

- Feature side-scrolling gameplay where words or phrases move from right to left across the screen
- Use Tailwind CSS for styling (load via CDN)
- Track words per minute (WPM) and accuracy in real time
- Show a lives or health system — lose a life when a word scrolls off screen untyped
- Include a start screen, active game screen, and game-over screen with final stats
- Use increasing difficulty over time (faster scroll speed, longer words)
- Be fully self-contained in one HTML file with embedded CSS and JavaScript

Make the game visually engaging with a dark theme, smooth animations, and clear feedback when words are typed correctly or missed.

How to use this prompt

1
Copy the prompt

Click "Copy Prompt" above to copy the full prompt text to your clipboard.

2
Replace the placeholders

Swap out anything in [BRACKETS] with your specific details.

3
Paste into Claude

Open your preferred AI assistant and paste the prompt to get started.