- Updated Wednesday, December 17th 2014 @ 11:38:54
map: http://theaigames.com/competitions/warlight-ai-challenge-2/games/54911e324b5ab272af67dd82 dump: http://theaigames.com/competitions/warlight-ai-challenge-2/games/54911e324b5ab272af67dd82/dump
The map shows a link from 9 to 40 which is in setup_map correctly. But there is no link from 40 to 9 in setup_map. Is this a mistake?
Also region 9 doesnt list regions 6 or 8 as neightbours even though they obviously are on the map.
Is this a bug or am I reading things incorrectly?
DeveloperUpdated Wednesday, December 17th 2014 @ 11:49:21
The neighbors are only given in one direction. So if region 1 has 2,3,4 as neighbors, it will be given as
If region 2 has 1,3,4 as neighbors it will be given as
So only neighbors with a higher id are given in the update_map
- Created Wednesday, December 17th 2014 @ 12:00:40
Ahhh, thats what this means "Connectivity is only given in one way: 'region id' < 'neighbour id'"
smacks head :D