Terminal Games
Simple games that run in the terminal.
|
Contains all Terminal-Games objects. More...
Namespaces | |
namespace | Globals |
Contains all global and constant objects. |
Classes | |
class | Battleships |
Implementation of the Battleships board game: https://en.wikipedia.org/wiki/Battleship_(game) More... | |
class | Game |
Base class for all games. More... | |
struct | GameInformation |
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. More... | |
class | Hangman |
Implementation of the Hangman game: https://en.wikipedia.org/wiki/Hangman_(game) More... | |
class | MainMenu |
Orchestration class which runs the homepage and the main menu pages which allow for games to be ran. More... | |
class | PageBuilder |
Builds pages (i.e. strings) to be printed to the terminal. More... | |
class | Terminal |
Handles all terminal related tasks such as getting user input, outputting to the terminal, clearing the terminal, etc. More... | |
class | TicTacToe |
Implementation of the Tic-Tac-Toe game: https://en.wikipedia.org/wiki/Tic-tac-toe. More... |
Enumerations | |
enum class | Pages : std::uint8_t { DEFAULT = 0 , HOMEPAGE , MAINMENU , TICTACTOE , HANGMAN , BATTLESHIPS } |
Represents the page types that are supported by PageBuilder. More... |
Contains all Terminal-Games objects.
|
strong |
Represents the page types that are supported by PageBuilder.
Enumerator | ||
---|---|---|
DEFAULT | 0 | Page supported by PageBuilder. |
HOMEPAGE | Page supported by PageBuilder. | |
MAINMENU | Page supported by PageBuilder. | |
TICTACTOE | Page supported by PageBuilder. | |
HANGMAN | Page supported by PageBuilder. | |
BATTLESHIPS | Page supported by PageBuilder. |
Definition at line 19 of file PageBuilder.hpp.