D22 and D23 #100DaysOfCode

The last couple of days I’ve been working on my Text-based adventure game and I’m trying to create somewhat of a combat system.

Read Time35 Second

The last couple of days I’ve been working on my Text-based adventure game and I’m trying to create somewhat of a combat system.

The way I see it working is it’s based on your skill and pure luck (dice roll) so say you have an attack of 5 your damage would be 5 – the defense of your enemy, and the same would apply for the enemy.

I’m going to have to mock some tests and see what works best, and I’m also going to have to create an enemy class and decide on the best way to create that.

If you would like to see the current stage of the game see below.

https://github.com/Techdox/text-adventure

0 0
Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleppy
Sleppy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Leave a Reply

Your email address will not be published. Required fields are marked *

Close