Example: You type something like: “slash the orc’s left arm” but you want things to be a bit more randomized, like in a d&d campaign. Maybe you’ll miss, maybe you’ll hit.
Let the player click a button labeled “Roll dice” or something like that after typing out their action. Then it randomly generates a number from 1-20 and based on what you roll your action will be successful or not. This would help improve the overall game aspect of ai dungeon.