A fast, cinematic 3D space-combat typing game. Every asteroid, enemy ship and supply crate carries a word. Type it and your ship fires. Faster, cleaner typing clears more of the sky.
Highlights · Gameplay · Controls · Progress and settings · Getting started · Install as an app · Project structure · Troubleshooting · Roadmap · Creators · License and credits
| ⌨️ Typing is shooting | No input box. Type the first letter to lock on, finish the word to destroy the target. Every correct key fires a visible beam that travels to the target. |
| 🎮 A real 3D game | Everything is live Three.js: ship, asteroids, enemy fleets, lasers, particles, explosions and shields. |
| 🌌 A living universe | Procedural planets with moons, stars, spiral galaxies, nebulae, black holes, stations, asteroid fields, comets and live space events. |
| 📈 Adaptive difficulty | Driven by both time and your actual WPM. It rises steadily and never spikes. |
| 📱 Plays anywhere | Responsive from phones to ultrawide screens, installable as a PWA, works offline. |
| 🎨 Zero assets to download | Models, textures, shaders and sound effects are all generated procedurally. |
Lock on with the first letter, finish the word, and the target explodes. Mistakes break your combo, leaks and enemy fire drain your hull, and when the hull hits zero the run ends.
| Target | Behaviour | Threat |
|---|---|---|
| Asteroid | Drifts toward you | 12 HP if it lands |
| Fast | 1.8x speed, worth more | 12 HP |
| Armored | Big, slow, long word | 20 HP |
| Bonus (violet) | Harmless. Destroy it for 8 s of x2 score | none |
| Danger (red) | Heavy hitter | 35 HP |
| Fighters | Razor, Viper, Wraith: hover, strafe and fire from the moment they appear | 7 HP per bolt |
| Gunships | Reaper (twin cannons), Marauder (triple shot) | 10 HP per bolt |
| Guardian (green) | Friendly shield. Destroy it to heal | +25 HP |
| Supply crate (gold) | Random power-up when destroyed | see below |
Enemy ships flash red just before they fire. Kill them first.
Destroy a supply crate to get one at random.
| Power-up | Effect |
|---|---|
| Slow-Time | 6 s. The world runs at 40% speed, your beams do not |
| Overdrive | 8 s. Double score and a second beam from your other cannon |
| Nova Bomb | Destroys every target on screen and clears enemy bolts |
Your beam upgrades as your combo grows: cyan → gold at x10 → violet at x25. A wrong key breaks the combo, so accuracy beats raw speed.
Meteor showers, solar flares, supernovae, ion storms and singularities roll through the sky during play. They are cinematic only and never change difficulty.
| Input | Action |
|---|---|
| Letters | Lock on and fire |
Esc |
Pause / resume |
| Keyboard button (touch) | Open the on-screen keyboard |
Backspace is intentionally inert: every key counts.
Everything is stored locally on your device. No account, no tracking.
- Career: runs played, total and best score, best WPM, best and lifetime accuracy, best combo, highest sector, targets destroyed, time played and your last 20 runs.
- Settings: Sound, Music, Reduced motion and Graphics quality. Graphics is High by default; software renderers are detected and switched to Low automatically.
WPM is calculated as (correct characters / 5) / minutes.
Requirements: Node 18 or newer (Node 20+ recommended).
git clone https://github.com/Itz-Murali/Void-Type.git
cd Void-Type
npm install
npm run devThe dev server runs at http://localhost:3000.
| Command | What it does |
|---|---|
npm run dev |
Start the dev server |
npm run build |
Create a production build |
npm run generate |
Generate the static site |
npm run preview |
Serve the production build locally |
npm run typecheck |
Run the TypeScript type check |
dev, build and generate first run scripts/prepare-icons.mjs, which downloads the logo for the PWA icons and falls back to a generated mark when offline.
Push to GitHub and import the repo in Vercel. Nuxt is detected automatically and no configuration is needed. vercel.json only adds cache headers for the service worker and manifest.
VOIDTYPE is a PWA. Use the Install app button in the menu (Chrome, Edge), or your browser's Install / Add to Home Screen option. Static assets are cached for offline play; the music stream is never cached.
app/
├─ app.vue screen routing by game phase
├─ components/
│ ├─ game/GameCanvas.vue canvas, resize, mobile keyboard, WebGL fallback
│ └─ ui/ MainMenu, GameHUD, LaunchSequence, About, Stats, Settings...
├─ composables/ useGame, useProfile, useSettings, useAudio, usePwa
├─ game/ the Three.js game
│ ├─ GameEngine.ts loop, typing, scoring, difficulty, power-ups, events
│ ├─ Spaceship.ts player ship (procedural camo shader, plasma engines)
│ ├─ EnemyShips.ts five hostile designs
│ ├─ AsteroidManager.ts asteroids, guardians, crates, word labels
│ ├─ Environment.ts planets, stars, galaxies, black holes, events
│ ├─ LaserManager.ts player beams and hostile fire
│ ├─ ImpactFX.ts explosions, shield ripple, hit flares
│ └─ ParticleSystem.ts · Flame.ts · textures.ts · WordManager.ts
├─ data/words.ts everyday English word tiers
├─ plugins/pwa.client.ts service worker registration
└─ types/ · utils/
public/ manifest, service worker, icons
scripts/prepare-icons.mjs PWA icon preparation
Design notes
- Three.js is used directly, with no wrapper.
- Lasers, particles and explosions are pooled.
- Word labels render in a separate pass after post-processing, so bloom never blurs them.
"WebGL unavailable" error screen
The game tries several WebGL configurations before giving up, and the error screen shows the underlying message.
- Chrome / Chromium (Linux): Settings → System → enable Use graphics acceleration when available. If still blocked, open
chrome://flags, enable Override software rendering list and relaunch.chrome://gpushows why. - Firefox: Settings → General → Performance → untick Use recommended performance settings and tick Use hardware acceleration when available. If needed, set
webgl.force-enabledtotrueinabout:config.about:supportshows why. - Update your graphics drivers (Mesa on Linux) or try another browser.
The game feels slow on my device
Open Settings and set Graphics quality to Low, or turn on Reduced motion.
- Boss encounters with phased words
- Local leaderboard and daily seed
- Custom word packs and more languages
- Ship skins unlocked by best WPM
Issues and pull requests are welcome at github.com/Itz-Murali/Void-Type.
- Fork the repository
- Create a branch:
git checkout -b feature/my-change - Commit and push your changes
- Open a pull request
VOIDTYPE was created by Itz-Murali and Itz-Anya.
You are free to use, fork and modify this project, as long as you give clear credit to Itz-Murali and Itz-Anya. If you fork it or use any part of it, you must:
- keep the LICENSE file and the copyright notice, and
- credit both creators in your README and, if the project has a public page or About screen, there as well.
See LICENSE for the full terms.
Type. Aim. Survive.
Made with 💙 by Itz-Murali and Itz-Anya