Skip to content

twnkl2713/glitchkeys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AI Reverse Typing Battle

🔥 AI Reverse Typing Battle is a fun and challenging typing game where the AI actively sabotages your input! Your goal is to type the given sentence as accurately as possible before time runs out, while the AI does its best to mess with your typing.

🚀 Features

  • AI Sabotages:

    • 🔄 Reverse Typing – AI flips your text backward.
    • 👻 Ghost Typing – AI adds random characters.
    • 🧊 Freeze Input – AI blocks typing for a few seconds.
    • 🤖 Fake Auto-Correct – AI replaces words unexpectedly.
  • Dynamic AI Trash Talk: The AI reacts to your performance with taunts and comments.

  • Increasing Difficulty: AI interference becomes more aggressive as rounds progress.

  • Score Tracking: Keep track of your score and high score.

🎮 How to Play

  1. Click Restart to start a new game.
  2. A sentence will appear on the screen.
  3. Type the sentence as accurately as possible.
  4. Watch out! AI will sabotage your typing in unpredictable ways.
  5. If you complete the sentence correctly, you proceed to the next round.
  6. The game ends when time runs out.

🛠️ Installation & Running Locally

  1. Clone this repository:
    git clone https://github.com/yourusername/ai-reverse-typing-battle.git
  2. Navigate into the project folder:
    cd ai-reverse-typing-battle
  3. Open index.html in your browser.

📂 Project Structure

│── index.html     # Main HTML file
│── style.css      # Game styling
│── script.js      # Game logic and AI interference
└── README.md      # Project documentation

🚀 Future Improvements

  • Add difficulty levels (Easy, Medium, Hard).
  • Introduce power-ups to counteract AI interference.
  • Implement multiplayer mode for competitive typing battles.

💡 Tech Stack

  • HTML – Structure
  • CSS – Styling
  • JavaScript – Game logic and AI interference

🤖 AI Sabotage Mechanics Explained

Sabotage Type Effect
🔄 Reverse Typing Last word typed gets flipped.
👻 Ghost Typing Random characters appear in input.
🧊 Freeze Input Typing is disabled for a short duration.
🤖 Fake Auto-Correct Certain words get replaced with incorrect versions.

🚀 Think you can outsmart the AI? Give it a try and prove your typing skills!