3/21/2019 9:20:04 PM
there are some pathfinding algorithms like "A* pathfinding algorithm" for that sort of stuff.
A follow up to my question. Using python programming language.
Let me check it. But I am not familiar with java. And I have just started learning python.
Not yet. I can make grocery lists
So for a Pathfinding algorithm you will need to know what 2dimensional lists are and it would be good if you knew what objects are.
You can find multiple tutorials on A* or others on the web ...
well you probably could somehow insert a map but it's easier if you just have a grid with cells and some cells in there are obstacles.
the second question i don't really get...
do you mean that the algorithm works on any point in the grid or what?
That's great. Let me c if I can find my way. I will post tomorrow. Thanks for your time
well it depends on how acurate you want it.
if you want sth. with geolocation and that I can't help you.
If you mean simple like in a grid from point A to B with obstacles, then I can help you
its not super efficient but its not hard
how well do you know lists and objects?
Oh and don't worry the code looks complicated but thats only because I'm really bad at structuring my code(s) 😅
List I can
ok ...can you make 2dimensinal lists?
since you don't know objects yet you will have to make multiple 2d lists and store some information in them
Can you give me what I should know so that I can research on it. The thing is I don't have a clue of how to solve that problem
ok a 2d list is sth like this
its basicly a list of lists; this way we can represent a grid
Let me check on this. Do you have to have a map inserted. Can the program be used from an point or its for a single path/ way only?????
Was saying is it possible to have an input of the starting point anywhere on the grid then the program leads U to the destination.
I get the impression you gave up... 😅😅😅
GET THE FREE APP
Learn Playing. Play Learning
Send us a message