Command to exit the Reversi CLI application.
Before exiting, the current game is automatically saved if:
The game has a name assigned, OR
The user chooses to provide a name when prompted
Usage: exit or quit or q
exit
quit
q
Prompts the user to provide a name for saving the current game.
Executes the exit command, saving the game if necessary and closing the application.