Skip to content

RPG game using prototypal inheritance. Battle for space ninja domination.

Notifications You must be signed in to change notification settings

nchemsak/spaceNinjas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Ninjas in Space

A web-based RPG that lets a human player fight against an array of different enemies using JavaScript prototypal inheritance.

Gameplay

  1. Enter your Name
  2. Choose a Class of Fighter
  3. Choose a weapon
  4. A random computer enemy is constructed.
  5. Click Attack - Each time the attack button is clicked, the player's chosen character and the generated enemy should attack with their weapon and health is deducted.
  6. As soon as either combatant reaches health of 0, the attack button is disabled and the winner is declared.

Installation

  • npm install