|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Numbering scheme please...
Which coordinate is row and which is column in the $map[] array that will be passed to our method?
Where a '*' is some room/wall/corr block, and '-' is nothing important, is the numbering scheme: A) - $map[row,column] 00,00------00,49 ---********** ---********** ---********** ---********** 49,00------49,49 or B) - $map[column,row] 00,00------49,00 ---********** ---********** ---********** ---********** 00,49------49,49 thanks. gp. |
|
#2
|
|||
|
|||
|
RE: Numbering scheme please...
Actually, it's not important for reaching the goal (=connecting all the rooms in the map).
I think the version B) is more logical, because e.g. a point in a function graph is given as (x/y), means x is the horizontal axis and y is the vertical axis. Also if you want to plot a pixel on the screen, the first coordinate is the x and the second is y. |
|
#3
|
|||
|
|||
|
RE: Numbering scheme please...
it really doesn't matter..
|
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Current Contest > Numbering scheme please... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|