Constants
All are similarly named variables just with similar type signatures in all the languages. The usage will be different depending on the language.
- NO_OF_TURNS
- MAX_NO_OF_COINS
- NO_OF_ATTACKER_TYPES
- NO_OF_DEFENDER_TYPES
- ATTACKER_TYPE_ATTRIBUTES
- DEFENDER_TYPE_ATTRIBUTES
- MAP_NO_OF_ROWS
- MAP_NO_OF_COLS
- C++
- Python
- Java
size_t Constants::MAP_NO_OF_ROWS
size_t Constants::MAP_NO_OF_COLS
size_t Constants::NO_OF_DEFENDER_TYPES
size_t Constants::NO_OF_ATTACKER_TYPES
size_t Constants::NO_OF_TURNS
size_t Constants::MAX_NO_OF_COINS
std::unordered_map<size_t, Attributes> Constants::ATTACKER_TYPE_ATTRIBUTES
std::unordered_map<size_t, Attributes> Constants::DEFENDER_TYPE_ATTRIBUTES
Constants.MAP_NO_OF_ROWS: int
Constants.MAP_NO_OF_COLS: int
Constants.NO_OF_DEFENDER_TYPES: int
Constants.NO_OF_ATTACKER_TYPES: int
Constants.NO_OF_TURNS: int
Constants.MAX_NO_OF_COINS: int
Constants.ATTACKER_TYPE_ATTRIBUTES: Dict[int, AttackerType]
Constants.DEFENDER_TYPE_ATTRIBUTES: Dict[int, DefenderType]
int Constants.MAP_NO_OF_ROWS
int Constants.MAP_NO_OF_COLS
int Constants.NO_OF_DEFENDER_TYPES
int Constants.NO_OF_ATTACKER_TYPES
int Constants.NO_OF_TURNS
int Constants.MAX_NO_OF_COINS
Map<Integer, Attributes> Constants.ATTACKER_TYPE_ATTRIBUTES
Map<Integer, Attributes> Constants.DEFENDER_TYPE_ATTRIBUTES