A and D to dodge, W to block (time it right for a parry) and S to rest. Space swings the sword, but the dude can't die yet.