File logic.hpp
FileList > COD_ENG_OUT_arduino_code > lib > Game_Logic > logic.hpp
Go to the source code of this file
This file is the header file for the game logic library. More...
#include <cstdint>
Namespaces
Type | Name |
---|---|
namespace | LOGIC |
Classes
Type | Name |
---|---|
class | cla_computer_player This class represents a computer opponent in the game. It provides methods for automatic movement of tokens. It is derived from the cla_player . |
class | cla_manual_player This class represents a manual player in a game. It is derived from the cla_player class. |
class | cla_player This class represents a player in the game. It provides methods for moving tokens and checking the status of the player. It is an abstract class and has two derived classes: cla_computer_player andcla_manual_player . |
class | cla_session The cla_session class is the main class of the game logic. It initializes the players with their methods and it provides essential methods for the game logic. |
Detailed Description
This file contains the declaration of the classes cla_session, cla_player, cla_computer_player and cla_manual_player. The cla_session class is the main class of the game logic. It initializes the players with their methods and it provides essential methods for the game logic. The cla_player class represents a player in the game. It provides methods for moving tokens and checking the status of the player. It is an abstract class and has two derived classes: * cla_computer_player * cla_manual_player. The cla_computer_player class represents a computer opponent in the game. It provides methods for automatic movement of tokens. The cla_manual_player class represents a manual player in a game.
The documentation for this class was generated from the following file /home/runner/work/Arduino_DHBW_Spiel/Arduino_DHBW_Spiel/Engineering/COD_ENG_OUT_arduino_code/lib/Game_Logic/logic.hpp