Those are turn-based games, and the label most people use is RPG — role-playing game — since that's where the mechanic is most common.
Strictly, "turn-based" describes the combat system rather than the genre; plenty of strategy and tactics titles use it too. But if someone asks what to call the kind of game where you pick a command, then the enemy takes its turn, RPG is the word they're reaching for.