Skip to content

leoncross/dungeon-hero

Repository files navigation

Build Status

An Adventure Game (with a turn-based, RPG style combat system) set in a Dungeon.

Play it now! => Dungeon Hero on GitHub Pages


Team || Workflow || Technologies || Setup || Tests || Controls || Gameplay || Screenshots ||


Team

Team Rogue Members:


Workflow

Alt text

  • As a team we regularly had two stand-ups (one in the morning and a shorter one after the lunch break) to help us focus on the daily priorities, do a bit of brainstorming on new possible features to implement, update our Trello board to assign a degree of complexity to every task as well as the people responsible for that task.
  • We split our work in sprints, each of them with a duration of two days, assigning to each sprint a new definition of MVP and then discussing new additions on the go with quick stand-ups.
  • At the end of each sprint we had a retrospective to discuss our progresses, the overall state of the project and to share general thoughts and feelings about the project and/or the team dynamics.
  • In order to have a clear idea of the work we had to do we regularly updated the above mentioned Trello board.

Technologies

  • Almost 90% of our code has been written in vanilla JavaScript alongside with some HTML5 and CSS for the GUI (graphic user interface).
  • We used jQuery (a JavaScript library) in order to make the game logic communicating with the user inputs (through the GUI).
  • To test our app we used Jasmine (open source testing framework for JavaScript).
  • To check our test coverage we used Istanbul (a Node.js module) and Coverall.io (a website hosting GitHub repositories and checking for your coverage percentage after every merge).
  • We also used ESLint as linter (a tool to analyze your code to flag bugs and stylistic errors).
  • To achieve continuous integration we used Travis CI, a hosted service used to build and test software projects hosted at GitHub. Its main purpose is to avoid untested and/or buggy branches to be merged into the Master branch.

Setup

How to get started with the project:

  • Inside your folder, type these commands in this order in the terminal:
git clone https://github.com/leoncross/dungeon-hero.git

(to clone the repository into your folder)

npm install

(to install the node modules you need into your package.json file)

  • After a successful installation, open Atom (or any other editor of your choice) and copy game.html full path.
  • Paste it in a browser in the address bar and start playing!

Tests

How to run Jasmine (tests) and Coveralls (coverage:

npm run test

How to run ESLint:

npm run lint

Controls

Action Bar Buttons:

Alt text Normal Attack:
When pressed the player will hit the monster with a power based on his/her strength and weapon damage range

Alt text Insane Attack:
When pressed the player can randomly hit the monster with double power or completely miss it

Alt text Parry Attack:
When pressed the player increases his/her chances to block the monster's attack but his/her attack will be less effective

Alt text Stun Attack:
When the monster's dice roll for the current turn is below 10 the monster skips the turn

Alt text Health Potion:
Increases your health by 25 pts

Alt text Strength Potion:
Increases your strength by 5 pts

Alt text Dexterity Potion:
Increases your dexterity by 5 pts

Alt text WarCry:
Upgrades your strength and your dexterity by 1 but you can't attack (you can still receive damage)


Gameplay

Alt text


Screenshots

Player uses a normal attack against the Bat Swarm:

Alt text


Player killed the Bat Swarm!

Alt text


Player uses insane attack against the Zombie:

Alt text


Player fights against the Skeleton Warrior

Alt text


The Goblin uses its Fatal Deception special attack against you:

Alt text


Player uses the dexterity potion against the Gorgon:

Alt text


Player has died!

Alt text


Player can buy what he needs to defeat the final boss

Alt text


Player has finally reached his destiny!

Alt text


Player has won!

Alt text


About

Turn-based, RPG style combat game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors