top of page

The Creature Arena

The Creature Arena is a C++ text-based game, that demonstrates the four principles of Object - Oriented Programming.

​​​

Inheritance

Inheritance was used to create the specific professions and races that derive from abstract base classes, allowing code reusability and hierarchical organization.

Encapsulation

The game features various classes for characters, professions, and races, each encapsulating their own data and behaviors. ​​

Polymorphism

Polymorphism was employed through virtual methods, enabling different races and professions to exhibit unique abilities while sharing the same interface.

Abstraction

Abstraction simplified the interaction by exposing only essential functionalities, keeping complex implementations hidden.

bottom of page