21 inline static std::mutex modification_lock;
26 if (_game_state !=
nullptr) {
29 _game_state =
nullptr;
41 bool try_add_player(
player* new_player, std::string& err);
42 bool try_remove_player(
player*
player, std::string& err);
43 bool play_card(
player*
player,
const std::string& card_id, std::string& err);
44 bool estimate_tricks(
player *
player, std::string& err,
int nof_tricks);