Search found 1 match

by hwb1966
Sun Oct 05, 2008 12:55 pm
Forum: Challenges
Topic: Confused on what a challenge is asking?
Replies: 48
Views: 82010

Labyrinth Challenge

It is not quite clear to me in which order the maze is stored in memory. I assume it is like this:

0: width (23)
1: height (23)
2: (0,0)
3: (1,0)
...
24: (22,0)
25: (0,1)
26: (1,1)
27: (2,1)
...

Right? And up is (0,+1) and down is (0,-1), left (-1,0), right (+1,0)?