Skip to content

beralb/oop-typescript-game-trybers-and-dragons

Repository files navigation

OOP TypeScript Project - Game Trybers And Dragons

🔭 In this project, I applied the #SOLID architecture principles and the #OOP (Object Oriented Programming) principles in a #RPG (Role Playing Game) game framework.


Highligthed topics are:

  • Inheritance, Abstraction, Encapsulation and Polymorphism;

  • Use of Composition;

  • Implement in #TypeScript: Interfaces, Classes, Instances, Attributes, Methods and Objects;


Technologies, languages and Tools:

⚙️ Instructions


To run the repository locally, clone the project and use the following commands to initialize Docker and install the dependencies:

docker-compose up -d
docker exec -it trybers_and_dragons bash
npm install // to install the dependencies
docker-compose down // to completely stop the application

Warning: After installing the dependencies, check the files in the ./src folder, which contains the classes created to build the characters. In the ./src/index.ts file there are some examples and if you want to explore, build characters and carry out battles, the npm start command executes this code script in the terminal.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •