Authors: Nate McGregor & Noah Gottlieb
This project was generated with Angular CLI version 1.0.0.
first start by cloning the project git clone https://github.com/hal2814/angular-extended
then cd angular-extended
to navigate into the project directory.
Once inside run npm install && bower install
This project requires access to a Firebase realtime database, so you will need to have an api-keys.ts
file in the app folder.
if you are unfamiliar with Firebase refer to this tutorial for setup instructions. https://www.learnhowtoprogram.com/javascript/angular-extended/firebase-introduction-and-setup
You will need to import the item.json
to your Firebase database.
once you have completed these step you may run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
When you start the game you will see 4 characters to choose from, click the one you would like to play as.
You will be able to search each room in the cave for items. Each area has regular items that drop, but there is a lower chance to get a better and more rare item. Items that you pick up will add a modifier based on item type to your character's stats. Items that are considered junk will not add to your inventory when you pick them up. Armor is better than health per point, and strength is how much damage you will do in an attack.
When you do battle you will hit the enemy until they run out of health, or they will hit you until you run out of health.
If your health gets to 0 then the game is over.
copyright 2017 Nate McGregor
Run ng generate component component-name
to generate a new component. You can also use ng generate directive/pipe/service/class/module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve
.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.