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.
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.