-
Notifications
You must be signed in to change notification settings - Fork 15
Reading board files
Harry Xu edited this page Feb 16, 2019
·
1 revision
The first line of the board file, for example boards/tiny.txt
is a series of parameters. It is listed as follows: (width, height, numbers of companies, number of bots, view distance).
We use the following legend
- F : free tile, anyone can move here
- B : start tile, your bots will start here
- S[0-9]+ : A small company, company number given by the suffix
- M[0-9]+ : A medium company, company number given by the suffix
- L[0-9]+ : A large company, company number given by the suffix
- E[0-9]+ : End of the line for this booth, this is the maximum possible line length
- [0-9]+ : part of the line for a booth (given by the number)
Lines must be straight (as well as booths) and the start of a line (indicated by the opposite of End of Line Tile) must be adjacent to the booth.