core namespace
Core game logic and entities.
The core namespace contains the fundamental game components:
- Game controller and rules engine
- Player base class and implementations
- Dice management and rolling
- Guess validation and comparison
- Game events and state management
Classes
- struct CompactGameState
- Compact game state representation using bit manipulation.
- class Dice
- class Game
- struct GameConfig
- struct GameEvents
- class GameHistory
- Ring buffer-based game history with custom memory management.
-
template<typename T>class GameStateAllocator
- Memory pool allocator for game states.
- class GameStateStorage
- Cache-efficient game state storage using Boost flat containers.
- struct Guess
- class HumanPlayer
- class Player
Functions
-
auto operator<<(std::ostream& os,
Game::
State state) -> std::ostream&
Function documentation
std::ostream& liarsdice:: core:: operator<<(std::ostream& os,
Game:: State state)
#include <liarsdice/core/game.hpp>