Terminal Games
Simple games that run in the terminal.
|
NTerminalGames | Contains all Terminal-Games objects |
NGlobals | Contains all global and constant objects |
NExceptions | Contains all custom exceptions |
CBackspaceKeyPressed | Used when the backspace key is pressed |
CNotImplementedError | Used for functionality that has not been implemented |
CQuitGame | Used to quit a game |
CQuitMainMenu | Used to quit the main menu |
CQuitProgram | Used to quit the program |
CResetGame | Used to reset a game which prompts the user for new options |
CRestartGame | Used to restart a game with the same user options |
CBattleships | Implementation of the Battleships board game: https://en.wikipedia.org/wiki/Battleship_(game) |
CGame | Base class for all games |
CGameInformation | Used by game objects to package themselves into a format that can be used by PageBuilder to construct a sub-page for the current state of the game |
CBattleshipsGameInformation | Used to package the Battleships current game state |
CHangmanGameInformation | Used to package the Hangman current game state |
CTicTacToeGameInformation | Used to package the TicTacToe current game state |
CHangman | Implementation of the Hangman game: https://en.wikipedia.org/wiki/Hangman_(game) |
CMainMenu | Orchestration class which runs the homepage and the main menu pages which allow for games to be ran |
CPageBuilder | Builds pages (i.e. strings) to be printed to the terminal |
CTerminal | Handles all terminal related tasks such as getting user input, outputting to the terminal, clearing the terminal, etc |
CTicTacToe | Implementation of the Tic-Tac-Toe game: https://en.wikipedia.org/wiki/Tic-tac-toe |