wiktor-duch / Rogues_Soul

Final Project's code is uploaded here.
0 stars 0 forks source link

Enemies #2

Closed wiktor-duch closed 3 years ago

wiktor-duch commented 3 years ago

Adding new instances of the Entity class (that are enemies) to the map. Also, combat mode and health should be added to allow the interaction between the user and other entities

wiktor-duch commented 3 years ago

3 types of enemies were created but only 2 are added to the game so far. There is a simple, very weak, bat and a Demon, stronger one. Enemies have defense, power and hp attributes that allow the agent to fight them. Agent also has these attributes and if agent's hp is below 0, then the game is over.

Fighting uses random element at the moment, i.e. defense give a chance of avoiding the attack.