Sructure of the game state.
- Parameters
-
| turn | The current turn of the game |
| mode | The mode of the game, 0: normal, 1: distance, 2 vision, -1: exit mode |
| map | The map of the game, contains the cells, items and projectiles |
| first_pass | The first pass is used in the generation of the map |
| second_pass | The second pass is used in the generation of the map as well |
| wall_prob | The probability of a wall to be generated, default is 40% |
| player | The player of the game, contains the inventory |
| monsters | The monsters of the game (array of pointers) |
| nMonsters | The number of monsters |