Cell and TList

BlitzMax Forums/BlitzMax Beginners Area/Cell and TList

hi tonyg,
Only one link explained similar to influence map. but not exactly.
the above tables is drawn using the methods they explained. and at the end i dont know what i am doing.. :(

the method said
1) Assign each map location one of three values:
a) If it's empty, assign 0;
b) If it's occupied by a friendly unit, assign a positive value.
c) If it's occupied by an enemy unit, assign a negative value.
2) Make a new copy of the map with each location receiving its old
value modified by the six hexes surrounding it:
a) Increase by one for each adjacent hex containing a positive
value.
b) Decrease by one for each adjacent hex containing a negative
value.
3) Copy the new map back into the old map.
4) Repeat steps 2) and 3) an arbitrary number of times.