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.
- 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 sSLOW (cyan) Halves word speed for 5 s rRAPID (orange) Doubles projectile speed for 5 s cCLEAR (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
.txtfile via File → Load Custom Words (comma-separated).
| 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) |
Requirements: Java 8+
# Compile
javac -d out/production/game TypingSurvivalGameV3_Engaging_FireExplode_RapidFiring.java
# Run
java -cp out/production/game app.TypingSurvivalGameV3_Engaging_FireExplode_RapidFiringThe game creates best_score.txt in the working directory on first game over.
Points per word = 10 × word length × combo multiplier
| Streak | Multiplier |
|---|---|
| 0–2 | 1× |
| 3–4 | 2× |
| 5–7 | 3× |
| 8+ | 4× |

