Skip to content

Namespace LOGIC

Namespace List > 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.

Public Types

Type Name
enum mode
enum status

Public Types Documentation

enum mode

enum LOGIC::mode {
    Student = 0,
    Professor = 1
};

enum status

enum LOGIC::status {
    Start = 0,
    Start_Track,
    Start_Finished,
    Start_Track_Finished,
    Error,
    Track,
    Finished,
    Track_Finished
};

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.cpp