Skip to content
Itz-MuraliPublic

About

Void Type is 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

Topics

Resources

Stars

44 stars

Watchers

0 watching

Forks

Latest commit

 

History

17 Commits

Folders and files

Repository files navigation

VOIDTYPE

Type. Aim. Survive.

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.


Play now

Nuxt Vue TypeScript Three.js PWA Vercel License


📑 Contents

Highlights · Gameplay · Controls · Progress and settings · Getting started · Install as an app · Project structure · Troubleshooting · Roadmap · Creators · License and credits


✨ Highlights

⌨️ 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.

🎯 Gameplay

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.

Targets

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.

⚡ Power-ups

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

🔫 Combo beams

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.

🌠 Space events

Meteor showers, solar flares, supernovae, ion storms and singularities roll through the sky during play. They are cinematic only and never change difficulty.

🕹 Controls

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.

📊 Progress and settings

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.

🚀 Getting started

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 dev

The 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.

▲ Deploy to Vercel

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.

📱 Install as an app

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.

🗂 Project structure

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.

🛠 Troubleshooting

"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://gpu shows why.
  • Firefox: Settings → General → Performance → untick Use recommended performance settings and tick Use hardware acceleration when available. If needed, set webgl.force-enabled to true in about:config. about:support shows 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.

🗺 Roadmap

  • Boss encounters with phased words
  • Local leaderboard and daily seed
  • Custom word packs and more languages
  • Ship skins unlocked by best WPM

👩‍💻 Creators

Random Image

🤝 Contributing

Issues and pull requests are welcome at github.com/Itz-Murali/Void-Type.

  1. Fork the repository
  2. Create a branch: git checkout -b feature/my-change
  3. Commit and push your changes
  4. Open a pull request

📜 License and credits

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

About

Void Type is 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

Topics

Resources

Stars

44 stars

Watchers

0 watching

Forks

Contributors

Languages