It's a 2d turn-based tile/grid game. You can check it here http://www.patinterotest.tk/ it creates a movable area when you hover a player and it implements the A* algorithm for moving the player.
The Problem: I want to make the 'dynamic movable area creation' already implement a limited number of steps for a player.
What is a good way to do this?
Is there another algorithm to use for this?
The A* algorithm needs a start and destination, with what I want to do I don't have a destination
- Or should I just limit the iteration of the A* algorithm to the steps variable?