/Abstracting_a_Roleplaying_Game_Using_Object_Oriented_with_CSharp

Project developed in Digital Innovation One's GFT Start #3 .NET with expert instruction Felipe Aguiar. Learning to Abstract a Role Playing Game Using Object Oriented Programming (OOP) with C#.

Primary LanguageC#MIT LicenseMIT

Daily Learning

Abstracting a Role-playing Game Using Object Orientation with C#

Project developed in Digital Innovation One's GFT Start #3 .NET with expert instruction Felipe Aguiar. Learning to Abstract a Role Playing Game Using Object Oriented Programming (OOP) with C#.

Requirements

  • Knowledge in C# and .NET
  • IDE

License

Distributed under the MIT License. See LICENSE for more information.

Commands

Create the base of the .NET project:

dotnet new console

Run the project:

dotnet run

Shortcut to create a builder method in Visual Studio Code:

ctor

Extensions in Visual Studio Code

  • C# Extensions
  • C#

Object orientation

  • How to represent something in your code
  • Object vs Instance
  • How to represent

Abstraction

  • Create a "shape" of something in the real world
  • Properties
  • Method

Heritage

  • Inherits behaviors from parent class (super class)

Encapsulation

  • Create a capsule effect: easy consumption of something concentrated (in the case of business rules)

Polymorphism

  • Many shapes for the same thing

H.E.P.A

  • Heritage

  • Encapsulation

  • Polymorphism

  • abstraction

  • LICENSE