Jump to content

Not a typical standart Java question but more Logical...stuck...

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
TAboy24

TAboy24

    Newbie

  • Members
  • PipPip
  • 13 posts
Hello,
I just started studying basics of the basics of Java and just will be very thankful for a little bit help...not solving my homeworks but really want to understand what i do..The following actualy not a typical Java language problem but a logical Java problem:)
I have a problem that i have to find a solution for a "robot" object entering a labyrinth and leading him to the exit of it(collecting beepers which will be on his way)...
I thought first "Ok",first right as he enters the labyrinth to lead him to the first right wall and lead him along it till the exit...but i found i have no way to check if he is really out..
thought of making 3 basic classses for that...then I'm realizing that in case of internal walls i'm totaly lost of finding a proper solution:(...

#2
TAboy24

TAboy24

    Newbie

  • Members
  • PipPip
  • 13 posts
Thats question related to Karel Robot...

#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Without knowing more about the logic of the map/robot, it is hard to help you. Is there a map location that is clearly indicated as the "exit"?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog