In general each tile in the board game could have a number identifier as an instance variable. Say player starts at 0, you roll a 4, the player position is now 4. You pick the tile that is var=4 and 'MoveTo' its position. If you then roll a 3 the player position is now 7, you pick the tile that is var=7 and 'MoveTo' etc.
If you return to the starting tile like in any board game where it loops around, you need extra logic to calculate hitting the last number and then starting the remaining steps from 0. And of course the 2 players need separate positions, the position would be a global variable.