Certain commands that could be relevant in more than just 1 spot, like exiting a game, changing settings, stopping the main program, etc., should be accessible to the user to enter at any point during the usage of the program.
To achieve this either the user prompts will need to be sent to a separate handler that has all the global commands or all the global commands sent into each game's class.
Certain commands that could be relevant in more than just 1 spot, like exiting a game, changing settings, stopping the main program, etc., should be accessible to the user to enter at any point during the usage of the program.
To achieve this either the user prompts will need to be sent to a separate handler that has all the global commands or all the global commands sent into each game's class.