derok

derok

  • NA
  • 3
  • 0

Find treasure

Oct 21 2009 7:10 AM
Hi, i'm trying to to a c sharp program in console that finds a treasure with the help of the user. for example, look at this pic: http://img40.imageshack.us/img40/368/cuadro2m.jpg the treasure is where the "T" is. the square in the pic is like 5x5. if we count from bottom left corner, the coordenates for the treasure will be: (2,3). the idea is that the program tells the user where to go, for example: north, south, noreast, and the user enters "north", "east",etc. depending where he has to go, until he finds the treasure. i dont want to draw the map in console, i just that the user is able to find the treasure. what can i do? thanks...

Answers (1)