This may be done once per turn. The player may explore a single sector that is adjacent to a sector the player has already explored. Adjacent means that the new sector is above, below, to the left or right of a given sector.
Once a sector has been "explored", the player owns the sector and can perform any operation on it. The initial population of a new sector will be 1.
The player should start at position (n/2, m/2). That sector is visible and all other sectors hidden. An initial population of 10 should be placed in the sector and 100 food should be placed in the warehouse. All other resources in the warehouse should be set to 0. The year should be initialized to 1 and the season should be set to spring.
The player should be given a description of the initial sector and presented with the map.
The following is an example of a Dandyland.map file.
6 5 MMMMM MPFPM MFFFM MFPFM MFFFM MMMMMThis describes a 5x6 map. The player would start at position (2,3) , where positions start at 0. This would be the prairie in the middle of the forest.
Positions are given in a normal coordinate system. (2, 3) is column 2, row 3.
Your output should be similar to the following
Year 1, Spring Population Phase Sector (2,3) has a population of 10. The sector consumes 2 food of 100, so food is now at 98. The sector produces 1 new population, so the sector has a population of 11. Goods Production Phase Sector (2,3) has no buildings so produces nothing. Resource Harvesting Phase Sector (2,3) has a population of 11. The sector produces 11 food, so food is now 109. The sector produces 2 wood, so wood is now 2. The sector produces 0 gold, so gold is now 0. Player Turn Spring Year 1. +-----+ |.....| Food: 101 |.....| Wood: 2 |.....| Gold: 0 |..P..| Materials: 0 |.....| Coins: 0 |.....| Victory Points: 0 +-----+ Population 111 What do you want to do now? 1. Explore a new sector. 2. Transfer population between sectors. 3. Build a building. 4. Print information about a sector. 5. Redraw the map. 6. Finish Turn. 7. Exit the game. Enter choice =>