3#include "helpers/Globals.hpp"
Game(const Game &&p_game)=delete
Disable constructing a new Game object using move constructor.
virtual void ToggleCurrentPlayer()=0
Change the current player to the other player.
virtual ~Game()=default
Destructs the Game object.
Game & operator=(const Game &&p_game)=delete
Disable constructing a new Game object using move assignment operator.
virtual void ExecuteUserCommand()=0
Prompt the user to enter their command for the current turn.
virtual bool IsGameOver()=0
Check whether the game is over.
virtual void RestartGame()=0
Update variables to allow for the game to be restarted with the same user options.
Game & operator=(const Game &p_game)=delete
Disable constructing a new Game object using copy assignment operator.
virtual void ResetGame()=0
Update variables to allow for the game to be reset and so the user will be asked for new options.
virtual void UpdateGameInformation()=0
Updates GameInformation to match the current state of the game.
Game(const Game &p_game)=delete
Disable constructing a new Game object using copy constructor.
virtual void ExecuteComputerCommand()=0
Get a random command from the computer.
virtual void GetUserOptions()=0
Prompt the user for their choice on various game-related options.
Game()=default
Constructs a new Game object.
virtual bool IsCurrentTurnUsers()=0
Check whether the current turn should be executed by the user.
virtual void SetupGame()=0
Clears and sets all member variables to their game start default.
virtual void GameOver()=0
Display the game over message and prompt the user whether they would like to play again or quit the g...
virtual void Play() final
The main orchestration loop for all games.
Used to reset a game which prompts the user for new options.
Used to restart a game with the same user options.
Contains all Terminal-Games objects.