Skip to content

Tiz-Gun is a fast-paced typing shooter where words fall like enemy ships and you blast them by typing fast. Each word destroyed scores points with sound, explosions, and increasing speed. Lose lives if words reach the bottom. Play now: https://tiz-gun.vercel.app/

Notifications You must be signed in to change notification settings

vigneshbs33/Tiz-Gun

Repository files navigation

Tiz-Gun

Tiz-Gun is a cool, fast-paced typing shooter built with Vue 3 and Vite. Words descend from the top; type letters to destroy them. Earn points, survive with limited lives, progress through levels, and enjoy sound effects and particle explosions. Made for fun and to learn Vue better.

Features

  • Falling words: speed increases with level
  • Typing focus: partial matching and focused target
  • Scoring: more for longer words
  • Lives: missed words cost a life; game over screen
  • Controls: pause, resume, restart
  • Audio: background music and SFX with mute toggle
  • High score: persisted in localStorage
  • Responsive: crisp canvas with devicePixelRatio scaling
  • Full-screen: toggle supported; mobile-friendly input focus

Getting Started

npm install
npm run dev

Open http://localhost:5173.

Build and Preview

npm run build
npm run preview

Deploying to Vercel

  • Build command: npm run build
  • Output directory: dist
  • Optionally use the included vercel.json or set these in the Vercel UI.

Project Structure


.
├─ index.html
├─ package.json
├─ vite.config.js
├─ vercel.json
├─ src/
│  ├─ main.js
│  ├─ App.vue
│  ├─ styles/
│  │  └─ index.css
│  ├─ components/
│  │  ├─ GameCanvas.vue
│  │  ├─ HUD.vue
│  │  └─ GameControls.vue
│  └─ lib/
│     ├─ WordsManager.js
│     ├─ AudioManager.js
│     └─ ParticleEffect.js
└─ assets/
   └─ README.txt

Developer / Contact

Credits

  • Fonts via Google Fonts: Orbitron, Inter
  • Replace SFX/music data-URIs in src/lib/AudioManager.js with your own assets if desired.

Privacy

All typing happens locally in your browser. No data is sent to any server.

About

Tiz-Gun is a fast-paced typing shooter where words fall like enemy ships and you blast them by typing fast. Each word destroyed scores points with sound, explosions, and increasing speed. Lose lives if words reach the bottom. Play now: https://tiz-gun.vercel.app/

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •