C++ Joueur Client
|
Two player grid based game where each player tries to burn down the other player's buildings. Let it burn. More...
#include <game.hpp>
Public Attributes | |
const int & | base_bribes_per_turn |
How many bribes players get at the beginning of their turn, not counting their burned down Buildings. More... | |
const std::vector< Building > & | buildings |
All the buildings in the game. More... | |
const Forecast & | current_forecast |
The current Forecast, which will be applied at the end of the turn. More... | |
const Player & | current_player |
The player whose turn it is currently. That player can send commands. Other players cannot. More... | |
const int & | current_turn |
The current turn number, starting at 0 for the first player's turn. More... | |
const std::vector< Forecast > & | forecasts |
All the forecasts in the game, indexed by turn number. More... | |
const std::unordered_map < std::string, Game_object > & | game_objects |
A mapping of every game object's ID to the actual game object. Primarily used by the server and client to easily refer to the game objects via ID. More... | |
const int & | map_height |
The width of the entire map along the vertical (y) axis. More... | |
const int & | map_width |
The width of the entire map along the horizontal (x) axis. More... | |
const int & | max_fire |
The maximum amount of fire value for any Building. More... | |
const int & | max_forecast_intensity |
The maximum amount of intensity value for any Forecast. More... | |
const int & | max_turns |
The maximum number of turns before the game will automatically end. More... | |
const Forecast & | next_forecast |
The next Forecast, which will be applied at the end of your opponent's turn. This is also the Forecast WeatherStations can control this turn. More... | |
const std::vector< Player > & | players |
List of all the players in the game. More... | |
const std::string & | session |
A unique identifier for the game instance that is being played. More... | |
const int & | time_added_per_turn |
The amount of time (in nano-seconds) added after each player performs a turn. More... | |
Two player grid based game where each player tries to burn down the other player's buildings. Let it burn.
const int& cpp_client::anarchy::Game::base_bribes_per_turn |
How many bribes players get at the beginning of their turn, not counting their burned down Buildings.
const std::vector<Building>& cpp_client::anarchy::Game::buildings |
All the buildings in the game.
const Forecast& cpp_client::anarchy::Game::current_forecast |
The current Forecast, which will be applied at the end of the turn.
const Player& cpp_client::anarchy::Game::current_player |
The player whose turn it is currently. That player can send commands. Other players cannot.
const int& cpp_client::anarchy::Game::current_turn |
The current turn number, starting at 0 for the first player's turn.
const std::vector<Forecast>& cpp_client::anarchy::Game::forecasts |
All the forecasts in the game, indexed by turn number.
const std::unordered_map<std::string, Game_object>& cpp_client::anarchy::Game::game_objects |
A mapping of every game object's ID to the actual game object. Primarily used by the server and client to easily refer to the game objects via ID.
const int& cpp_client::anarchy::Game::map_height |
The width of the entire map along the vertical (y) axis.
const int& cpp_client::anarchy::Game::map_width |
The width of the entire map along the horizontal (x) axis.
const int& cpp_client::anarchy::Game::max_fire |
The maximum amount of fire value for any Building.
const int& cpp_client::anarchy::Game::max_forecast_intensity |
The maximum amount of intensity value for any Forecast.
const int& cpp_client::anarchy::Game::max_turns |
The maximum number of turns before the game will automatically end.
const Forecast& cpp_client::anarchy::Game::next_forecast |
const std::vector<Player>& cpp_client::anarchy::Game::players |
List of all the players in the game.
const std::string& cpp_client::anarchy::Game::session |
A unique identifier for the game instance that is being played.
const int& cpp_client::anarchy::Game::time_added_per_turn |
The amount of time (in nano-seconds) added after each player performs a turn.