Turn based and dice roll mechanic in XP

Hello,

I'm trying to make something like a board game where in order for the player to move around on the map they will have to roll a dice and receive a random number, then decide which direction they to want to move, [one space at a time] until all their steps are depleted. I have almost no experience with game coding. Any advice on how to create a dice roll and step-by-step player movement count would be extremely helpful and appreciated.

I've moved this thread to XP Support. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/turn-based-and-dice-roll-mechanic-in-xp.140135/