Help With Snake And Ladder Game

From what I remember of the game, there is only a small number of places for a player to land on the underlying graph model of the game.

Instead of checking x and y positions, check the graph node names of the current player positions, and keep an edge list for each node for where the next node is and what are the canvas coordinates of that node for sprite movement.

2 Likes