To create this challenge we need a map where we can get from a point start to a point goal with several paths. We will need to keep track of the number of steps used to get to the goal, and if the goal was reached. The client will be sending move instructions(ex 1), and the server should return current position in the map as an ascii map(ex 2).
To create this challenge we need a map where we can get from a point start to a point goal with several paths. We will need to keep track of the number of steps used to get to the goal, and if the goal was reached. The client will be sending move instructions(ex 1), and the server should return current position in the map as an ascii map(ex 2).
ex1: input: ↑←↓→→→→→
ex2
S###0##0
00000000
0##0##0
00##0##0
0##00#00
0##0000
00#0##00
0000##0
G