Advance Piece on a Fixed Track

Hello,

can you please help me to implement the following function in a module.

I would like to right click on a game piece and have a menu that shows the following options:

  • Advance
  • Retreat

According to the above choices, the game piece would advance or retreat on a path of squares.

The squares are not regurarly placed.

Can you please help?

Many thanks

Cianchet,

Can you upload a small picture of the map to get an idea of what you are talking about?

Also is advance and retreat always in the same direction or is the direction depending upon the circumstances?

Thanks.

Stephen