Skip to content

Frontend Project - Web-based replica of the Duck Hunt game, implemented using JavaScript, HTML, and CSS.

Notifications You must be signed in to change notification settings

ruirajao/duck-hunt-game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Menu

Duck Hunt

This is a simple duck hunting game built using JavaScript, HTML, and CSS. The game is designed to be played on web browsers and provides a fun and interactive experience for players.

Enjoy playing Duck Hunter! Have fun aiming and shooting those ducks!

If you don't want to download and install, you can just play here: Click here to play!

About

This game was developed during the @Mindera Code Academy, as a project for the front-end development curriculum.

How to install

To run the game locally on your machine, follow these steps:

- Clone the repository to your local machine using git clone.
- Navigate to the project directory.
- Open the localhost/index.html file in your preferred web browser.

Technologies used

- JavaScript: Used to handle the game logic and interactivity.
- HTML: Used for structuring the game layout and user interface.
- CSS: Used for styling the game and creating animations.

How to play

- Open the index.html file in your web browser.
- Click the "Start Game" button to begin.
- Use your mouse to aim and click on the ducks to shoot them.
- You have a limited number of bullets (3), so use them wisely.
- Each successful hit earns you points.
- Click the "Restart" button to play again.

Game rules

- Unlimited rounds per game.
- Each round consists of 3 waves.
- Each wave spawns 2 ducks for the player to shoot.
- A wave will end when:
    - Out of bullets.
    - Both ducks are shot.
    - Wave timer goes off (10 seconds).
- Ducks velocity increase per round.
- If 3 ducks escape without being shot, it's game over.

Authors

Gameplay screenshots

MENU

Menu

GAMEPLAY

Menu

MENU

Menu

About

Frontend Project - Web-based replica of the Duck Hunt game, implemented using JavaScript, HTML, and CSS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 56.4%
  • CSS 34.9%
  • HTML 8.7%