Skip to content

duck hunting game created with the phaser js framwork

Notifications You must be signed in to change notification settings

Tragicboyjay/pea-shooter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pea Shooter

Pea Shooter is a simple shooting game where players use their mouse to aim and shoot at birds flying across the screen. The goal is to score as many points as possible within a 30-second time limit.

Table of Contents

Features

  • Crosshair Control: Move the crosshair using your mouse.
  • Shooting Mechanics: Left-click to shoot at the birds.
  • Score Tracking: Score points by hitting birds.
  • Time Limit: You have 30 seconds to score as many points as possible.
  • Pause Functionality: Press the space bar to pause or resume the game.

Getting Started

Prerequisites

To run this game locally, you will need:

  • A modern web browser
  • A local server for serving static files (e.g., Live Server for VSCode)

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/pea-shooter.git
  2. Navigate to the project directory:

    cd pea-shooter
  3. Serve the game using your preferred local server.

Running the Game

Open your web browser and navigate to http://localhost:5500 (or the URL provided by your local server). The game should load, and you can start playing by clicking the "Play!" button on the main menu.

Gameplay

  • Objective: Shoot down as many birds as possible within 30 seconds.
  • Controls:
    • Move the crosshair with your mouse.
    • Left-click to shoot.
    • Press the space bar to pause or resume the game.

Technologies Used

  • Phaser 3: A popular game development framework.
  • HTML5: For structuring the web page.
  • CSS3: For styling the user interface.
  • JavaScript (ES6+): For game logic and interactivity.

License

This project is licensed under the MIT License. See the LICENSE file for more details.


About

duck hunting game created with the phaser js framwork

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published