![]() |
Pathfinding Robot
Hey there go4expert!
I have been given a piece of coursework and before I go wandering off on my own and messing things up I figured I should best start with a forum of experts.
Upgrades (Not necessary for a pass)
I am a big newbie to programming as a whole, only the basic things I have done through uni I know and I would like any input you guys could give me on how best to start this bad boy of an assignment. Kind regards, Accendo |
Re: Pathfinding Robot
a schema to start
============================= 1) you need code to read from a file 2)create an 2d array 20x20 of integers make all elements -1; 3)create a class Landmarks --->name,locationX,locationY,visited 4)create an ArrayList of Landmarks objects filled from the data of the file with the landmarks 5)add landmarks into the grid (store position inside the arrayList into the 20x20 grid) p.s. if you have any of the files mentioned, post it to see its structure post your code to help you more. useful links http://www.codingforums.com/showthread.php?p=1041768 http://forums.devshed.com/java-help-...og-780228.html http://forums.hotjoe.com/posts/list/855.page |
Re: Pathfinding Robot
Hey there I got to work promptly after this message and am now a little further on and it's scary how similiar what you said is to what I already had :D.
Please look out for my posts encase I get stuck :P. /|RT |
| All times are GMT +5.5. The time now is 21:15. |