Skip to content

Shoot hordes of zombies to survive! How long can you survive? How many zombies can you kill?

Notifications You must be signed in to change notification settings

RealAbdurRehman/humanvszombie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Human vs Zombies

A fast-paced action game where you fight off waves of zombies with your gun! Use your keyboard and mouse to move, shoot, and reload while trying to survive as long as possible.

Features

  • Shooting Mechanics: Use your mouse to aim and shoot at incoming zombies.
  • Movement: Use W, A, S, D keys to move around the screen.
  • Health and Ammo: Manage your health and ammo; reload when you run out.
  • Enemies: Fight off various zombies that spawn periodically and track your movement.
  • Score and Zombies Killed: Keep track of your score based on how many zombies you have killed.
  • Game Over: The game ends when your health reaches zero.

Controls

  • W, A, S, D: Move the player.
  • Left Mouse Button: Shoot your weapon.
  • R: Reload your weapon.
  • Left-Click: Shoot you weapon.

Game Description

In this game, you control a player who must survive a zombie apocalypse. You will face hordes of zombies coming from everywhere. Your goal is to defeat as many zombies as possible while avoiding damage to your character. Your player has limited ammo, so make sure to reload when you're out.

  • The player is controlled with the WASD keys for movement.
  • Use the mouse to aim and shoot at zombies.
  • The player's health is displayed on the screen. When it reaches zero, the game ends.

Technologies Used

  • HTML5: Markup for the game interface and content.
  • CSS3: Styling the game interface, animations, and layout.
    • Tailwind CSS (for styling).
    • Custom CSS animations.
  • JavaScript: For game logic, player movement, enemy spawning, shooting mechanics, and other interactions.
  • Canvas API: To render the game elements, such as the player, zombies, and other interactive components.

Screenshots

Demo

How many zombies can you slaughter?