Skip to content

This shooter game was built with Javascript, learning how to use Phase 3. Use API storage to save the score

Notifications You must be signed in to change notification settings

bren2102/Wizter_js

Repository files navigation

Shooter Game: Wizter

Description

This shooter game was built using Phase 3 based on Microverse Javascript Capstone requirements

Live Demo

Live Demo Version

Instructions

How to Install

If you want to install the project follow these instructions:

Otherwise, you can play online here

  • Click on code and clone with SSH
  • Go to wherever you want to store the game
  • Open your terminal and type git init and enter
  • Then type git clone -paste the link copied- and enter
  • Finally open the project with your IDE (e.g: Visual Studio Code)
  • Open the terminal from that project
  • Run 'node server.js'
  • Finally go to your browser and type localhost:8080

How to play

You only need to press 'left key' and 'right key' to move the wizard and use 'spacebar' to attack the enemies.

Each enemy(goblin and orc) dead will give 15 points.

If any of the enemies attacks you, you die and the game ends. After that, you can submit your score.

Design

This game includes 1 hero and 2 enemies:

The Hero

  • Name: The Wizard
  • Objective: Protect the kingdom
  • Attack: Ice
  • Weapon: Magic Wand

Enemy

  • Name: Orc
  • Objective: Attack everything
  • Weapon: Mace

Enemy

  • Name: Goblin
  • Objective: Attack everything
  • Weapon: Axe

Scenes

Main Menu

Main Menu

Game Instructions

Game Instructions

Game

Game

Game Over

Game Over

Record

Record

Future Implementations

  • Add stages
  • Add music
  • Add multiplayer

Built With

  • JavaScript
  • A bit of HTML and CSS for the front end
  • Phaser 3
  • Webpack
  • Eslint
  • Babel
  • Jest
  • Express
  • Github
  • Heroku for deployment
  • Leaderboard API service for save record data

Resources

Testing Suite

  • Jest

NPM available scripts

Use "npm run-script " followed by any of the following commands :

  • "build": "webpack --mode production"
  • "watch": "webpack --mode development --watch"
  • "test": "jest"

Author

👤 Brenda Yucra

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

About

This shooter game was built with Javascript, learning how to use Phase 3. Use API storage to save the score

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published