110 static_cast<std::int64_t
>(
268 const std::uint64_t
serial =
269 static_cast<std::uint64_t
>(
bool sendAction(const actions::Message &message)
bool pop(GameState &state)
const PendingPhase & current(const GameState &state)
bool push(GameState &state, GamePhase phase, PlayerNumber fromPlayer, PlayerNumber toPlayer, std::int64_t amount)
void wrongPlayer(const GameState &state, const actions::Message &message)
void wrongPhase(const GameState &state, const actions::Message &message)
bool restartSyncPhase(GameState &state)
void onIdleTick(GameState &state)
bool beginWaitOnce(GameState &state, actions::Type hint)
void waitForEverybodyReady(GameState &state, actions::Type hint)
void actionIAmHere(GameState &state, const actions::Message &message)
constexpr PlayerNumber BankPlayer
std::uint8_t PlayerNumber
const GameState & state()
constexpr PlayerNumber AllPlayers
rules::PlayerNumber fromPlayer
PlayerNumber numberOfPlayers
std::uint64_t gameDurationInSeconds
std::array< PendingPhase, MaxPendingPhases > phaseStack
std::uint8_t numberOfPendingPhases
std::array< PlayerState, MaxPlayers > players