How can I execute a sword fighting video games via using a model with skins from asset store and rigging it

I want to create a sword game but do not know how to properly code it. I have the models I just need the weapon code like the block or a tutorial on how to do this. I also need to learn how to make the enemy react to an attack.

@kubold how would I do this with the controls but without mocap