Java project using swing

broken image

Its just that I don't even know how to start and I wouldn't mind a little hand holding. (I am sorry if this looks like I am asking you to do my work. But if you've got an idea please share it here I need help on how to think about this problem especially with the GUI part.Īlso the problem also requires that the number of turns be minimum. So I am thinking I could use a path finding algorithm(like A*) to find a path between the two points but that's all I could figure out till now. There could be obstacles like other rectangles between those two rectangles or walls. And the user will choose one point in each rectangle and my program will have to find a path between those two connector points. One point on the middle of each side of the rectangle(Hope that made sense). What is required is that there are two objects that a user would place on the screen window(imagine them like rectangles on the screen).Īnd these rectangle objects have connector points. So I have to create a project in java and I need steps on how to consider thinking about the problem. I need urgent help though if anybody would be so kind.

broken image