Giter VIP home page Giter VIP logo

poo-dungeons-and-dragons's Introduction

POO - Dungeons & Dragons ๐Ÿ‰

Project Context ๐Ÿ’ก

Project-based on an RPG universe. Its primary purpose is to solidify the OOP and SOLID concepts. In the universe of this project, almost all beings that roam these lands belong to a defined race.

The various races (src/Races) define the characteristics of the characters within the game since its creation, such as their life points and dexterity. However, there are feral beings called monsters that don't have a specific race but can fight (src/Monster.ts & src/Dragon.ts).

Some beings also have energy. When training the use of energy, they start to have an archetype (src/Archetypes). In general, archetypes define a character's vocation, skills, and worldview: how they face situations, explore dungeons, or face monsters. As examples of present archetypes, we can mention warrior, mage, and necromancer.

Most beings are considered fighters (src/Fighter). On many occasions, fights can happen between different beings like characters and monsters (src/Battle).

Acquired Knowledge ๐Ÿ“–

In this project, I was able to:

  • Implement in TypeScript: Classes, Instances, Attributes, and methods;
  • Use inheritance to derive from other classes;
  • Use composition to share code between different classes;
  • Define abstract classes;
  • Override methods;
  • Apply solid principles.

Main Technologies used ๐Ÿงฐ

TypeScript Node.JS Docker
typescript nodejs docker

Running the application โš™๏ธ

  1. Clone the repository and enter it
git clone [email protected]:ImVictorM/POO-Dungeons-and-Dragons.git && cd POO-Dungeons-and-Dragons

Methods

๐Ÿ‹ Running with docker (recommended)

You must have docker and docker-compose installed

  1. Get the containers running
docker-compose up -d
  1. Enter the node container
docker exec -it trybers_and_dragons bash
  1. Install the dependencies
npm install

๐Ÿ–ฅ๏ธ Running locally

You must have node installed

  1. Install the dependencies
npm install

poo-dungeons-and-dragons's People

Contributors

imvictorm avatar trybe-tech-ops avatar

Stargazers

P. A Oluyege avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.