/Zombie-Farm

Simple, web-based game with online scoreboard written to learn Vanilla JavaScript. Inspired by the well-known "Shooter game". Written using only HTML + CSS + JavaScript. 👻

Primary LanguageJavaScript

👻 Zombie-Farm 👻

Web-based shooter game implementation with online scoreboard.

📝 Rules

When the player clicks on a Zombie, the score increases by 12 points.

When a zombie crosses the left border, the player loses 6 points and one chance.

The size, position and movement speed of zombies are randomly generated.

Zombies appear from the right side of the screen and move to the left.

The game ends when three zombies cross the left border (The player loses all three chances).

🛠 Core technology stack:

  • HTML
  • CSS
  • JavaScript

🎮 Game demo

At the beginning of the game, you must enter a nickname - without it the game won't start.

After pressing START button, the game window will be displayed:

The game is over when three Zombies cross the left border. At the end of the game, the top 7 scores are shown. The player can start the game again.