Represents the game engine that controls the execution of the game
since the beginning to the end, dealing with the configuration, the
input stream and the output stream.
Represents the state of all the elements of the game (locations, items, player inventory,
etc.), and relevant constants for the game (the available movement directions, the keywords
for a game textual definition, etc.).
Main method
Usage: run [{-c,--config} configFilePath] gameFilePath [{-i,--input} inputFilePath]
[{-o,--output} outputFilePath] (config, game, input and output file paths should
include their file extensions)
Constructs a parser, specifying the input stream from which the game receives the
player commands and a reference to the game itself (to be used for constructing the
commands), assuming the default configuration.
Constructs a parser, specifying the input stream from which the game receives the
player commands, a reference to the game itself (to be used for constructing the
commands) and a new configuration.