Basically I am doing a board game.
I was thinking of storing board locations where the player can move as invisible "boxes". Now I would like to store all the x and y data of theese boxes in an array, so i can loop the array with the amount that my dice has rolled and return the x and y position where my players piece needs to move. The player can only move forward.
Is this a idiotic solution? Is there a simpler way to do this?