Skip to content

sinterma/zombie_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZOMBIE HUNTER

Description

Zombie Hunter is a JS game in which the player controls a zombie hunter. The goal of the game is to avoid collisions with zombies and eliminate them by shooting. The game features different types of enemies, as well as a lives and score system.

Main Functionalities

Gameplay:

  • The player controls the character using the "Up" and "Down" arrow keys.
  • The "Space" key is used for attacking (shooting at zombies).
  • The screen features regular zombies and flying zombies (zombie birds).
  • Zombies move from left to right at different speeds.

Game Logic:

  • The player loses lives when colliding with zombies.
  • If all lives are lost, the game ends.
  • The player earns points for hitting zombies with their weapon.

Music & Sounds:

  • The game has background music that plays during gameplay.
  • There are separate sound effects for zombie hits, gunshots, and deaths.
  • The menu allows the player to toggle music on/off.

On-Screen Elements:

  • Main menu with a logo, instructions, and buttons ("Start Game", "Play Music").
  • The game field where the gameplay takes place.
  • Progress panel displaying the current score and remaining lives.
  • Game over screen with a "Game Over" message and a "Restart Game" button.

Weapons & Attacks:

  • The player can shoot at enemies.
  • When a zombie is hit, it disappears, and the player gains +1 point.
  • If a projectile moves off-screen, it gets removed.

Backlog Functionalities

  • Boss zombies with unique attack patterns.
  • Limited ammo, requiring players to collect ammo packs.
  • A level-up system that increases difficulty gradually.
  • Achievements and leaderboards to track high scores.

Technologies Used

  • HTML
  • CSS
  • JavaScript
  • DOM Manipulation
  • JS Classes
  • JS Audio() and JS Image()

States

  • Start Screen
  • Game Screen
  • Game Over Screen

Extra Links

Slides

Link

Deploy

Link

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published