What i want is you to write code in c++. The input will be the start, the end and the obstacles(obstacles can be wall or lake, for lake you have to put double cost than an empty square ). The output will be the path between start and [url removed, login to view] will give a grid n*n with 0,1,2(0 will be the free move,1 will be the wall and 2 the lake). Diagonal moves do not permit. I want a solve to this maze with a* (astar) algorithm. this project will be for 2D and I don't care about graphics.
(SORRY FOR MY ENGLISH)