Skip to content

A spooky, interactive browser game built with vanilla JavaScript. Whack zombies, avoid humans, survive jumpscares, and test your reflexes before time runs out!

Notifications You must be signed in to change notification settings

Siddharth-Phogat/Whack-A-Zombie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸงŸ Whack-A-Zombie

A spooky, fast-paced browser game built with HTML, CSS, and JavaScript. Test your reflexes by clicking zombies, avoiding humans, and surviving creepy jumpscares!


๐ŸŽฎ Gameplay Overview

  • ๐ŸงŸ Zombies: Click to score 10 points each.
  • ๐Ÿง Humans: Avoid clicking or youโ€™ll lose a life.
  • ๐Ÿ‘ป Jumpscares: Randomly appear to keep you on edge.
  • โฑ๏ธ Timer: You have 60 seconds to play.
  • โค๏ธ Lives: You start with 3 lives. Lose them all, game over.
  • ๐ŸŽฏ Score 500 to win!

๐ŸŒŸ Features

  • Toggle Dark Mode for limited visibility with fog effects.
  • Toggle Gun Mode to enhance gameplay visuals.
  • Flicker Mode adds flickering effects for a more intense experience.
  • Game Over screen with final score and replay button.
  • Smooth animations and atmospheric sound effects.

๐Ÿ“ธ Screenshots

alt text alt text alt text alt text

๐Ÿ“ Project Structure

Whack-A-Zombie/ โ”‚ โ”œโ”€โ”€ assets/ โ”‚โ”œโ”€โ”€ images/ โ”‚โ””โ”€โ”€ music/ โ”œโ”€โ”€ code/ โ”‚โ”œโ”€โ”€ index.html โ”‚โ”œโ”€โ”€ javascript.js โ”‚โ”œโ”€โ”€ style.css โ”‚โ”œโ”€โ”€ ruleStyle.css โ”‚โ””โ”€โ”€ rules.html โ””โ”€โ”€ README.md


How to Run Locally

  1. Clone the repository:git clone https://github.com/your-username/whack-a-zombie.git

  2. Navigate into the project folder:cd whack-a-zombie/code

  3. Open index.html in your browser.

No installation required. Just open and play!


๐Ÿ“œ Rules

You can also view the full game rules in code/rules.html or click on the "Rules" link inside the game UI.


๐Ÿง  Tech Stack

  • HTML5
  • CSS3 with Gothic Era font
  • JavaScript (Vanilla)
  • Audio & Visual Effects

๐Ÿ“Œ Future Enhancements

  • High Score saving with localStorage
  • Mobile support and responsive UI
  • More power-ups and hazards

๐Ÿ“„ License

This project is licensed under the MIT License.

โœจ Credits

  • Sound and image assets are sourced from free-to-use resources.
  • Developed by Siddharth Phogat.

About

A spooky, interactive browser game built with vanilla JavaScript. Whack zombies, avoid humans, survive jumpscares, and test your reflexes before time runs out!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published