Skip to content

aspect-study/typing-addicts

Repository files navigation

Typing Survival

A fast-paced typing game built with Java Swing. Words fly across the screen — type them before they reach you or lose HP. Survive as long as possible, build combo streaks, collect power-ups, and beat your best score.


Screenshots

Start Screen

Start Screen

Gameplay

Gameplay


Features

  • Health bar — 100 HP; words that reach you deal damage (short = 10, medium = 15, long = 20). Game over when HP hits 0.
  • Best score — persisted across sessions in best_score.txt, shown on the start screen.
  • 5 difficulty levels — speed and spawn rate increase every 30 seconds.
  • Combo multiplier — chain kills for 2x → 3x → 4x score. Floating score text rises from each destroyed word. Streak resets after 3 seconds of no kills.
  • Power-ups — 20% chance to drop on word destroy. Collect by typing the letter with no active target:
    Key Power-up Effect
    s SLOW (cyan) Halves word speed for 5 s
    r RAPID (orange) Doubles projectile speed for 5 s
    c CLEAR (magenta) Destroys all words on screen
  • Word difficulty colors — green (≤4 chars), yellow (5–7 chars), orange-red (8+ chars).
  • Screen shake — camera jolt when you take damage.
  • MIDI soundtrack — looping 4-bar C-minor track at 140 BPM, no audio files required.
  • Custom word lists — load your own .txt file via File → Load Custom Words (comma-separated).

Controls

Input Action
Type a word Target and shoot at the matching word
Space Pause / Resume
s / r / c Collect SLOW / RAPID / CLEAR power-up (when no word is targeted)

How to Build & Run

Requirements: Java 8+

# Compile
javac -d out/production/game TypingSurvivalGameV3_Engaging_FireExplode_RapidFiring.java

# Run
java -cp out/production/game app.TypingSurvivalGameV3_Engaging_FireExplode_RapidFiring

The game creates best_score.txt in the working directory on first game over.


Scoring

Points per word = 10 × word length × combo multiplier
Streak Multiplier
0–2
3–4
5–7
8+

About

A fast-paced Java Swing typing game. Type incoming words to shoot them before they reach you. Features 5 difficulty levels, combo multiplier, power-ups (SLOW/RAPID/CLEAR), health bar, screen shake, and a MIDI soundtrack — no external dependencies.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages