...
The scenario/script database (Note: Rename to Game or Training Database, when name is final) for the FEWS Game Water Coach is a directory containing an arbitrary number of scenarios/scripts. A scenario consists of a FEWS database (the so-called local data store) that contains measurement data and model data. A script is the story line and consists of all events that happen during the game. Each directory in the scenario/script database that contains a file named script_config.xml
is considered a scenario/script and will automatically appear in the list of scenarios/scripts that can be selected by the user of the FEWS GameWater Coach. The following files/directories must be part of a scenario/script directory:
- A script configuration file named
script_config.xml
. - A directory named
localDataStore
which holds the pre-loaded FEWS database. When a scenario/script is started in the FEWS GameWater Coach, this directory is copied to the FEWS region directory. - An arbitrary number of files that are associated with events specified in the script configuration.
The FEWS Game Water Coach adds log-files to this directory. A log-file is created for each scenario that is played and is added (with a time stamp) to the appropriate directory in the scenario/script database.
...