GameConfig.hpp
Go to the documentation of this file.
1 // This code is based on Sabberstone project.
2 // Copyright (c) 2017-2019 SabberStone Team, darkfriend77 & rnilva
3 // Hearthstone++ is hearthstone simulator using C++ with reinforcement learning.
4 // Copyright (c) 2019 Chris Ohk, Youngjoong Kim, SeungHyun Jeon
5 
6 #ifndef ROSETTASTONE_GAME_CONFIG_HPP
7 #define ROSETTASTONE_GAME_CONFIG_HPP
8 
9 #include <Rosetta/Cards/Card.hpp>
11 
12 #include <array>
13 
14 namespace RosettaStone
15 {
21 struct GameConfig
22 {
24 
25  CardClass player1Class = CardClass::MAGE;
26  CardClass player2Class = CardClass::WARLOCK;
27 
28  std::array<Card, START_DECK_SIZE> player1Deck;
29  std::array<Card, START_DECK_SIZE> player2Deck;
30 
31  std::array<std::string, NUM_PLAYER_CLASS> fillCardIDs = {
32  "UNG_028", "UNG_067", "UNG_116", "UNG_829", "UNG_934",
33  "UNG_920", "UNG_940", "UNG_942", "UNG_954"
34  };
35 
36  bool doFillDecks = false;
37  bool doShuffle = true;
38  bool skipMulligan = true;
39 };
40 } // namespace RosettaStone
41 
42 #endif // ROSETTASTONE_GAME_CONFIG_HPP
CardClass player2Class
Definition: GameConfig.hpp:26
bool doFillDecks
Definition: GameConfig.hpp:36
CardClass player1Class
Definition: GameConfig.hpp:25
bool doShuffle
Definition: GameConfig.hpp:37
std::array< Card, START_DECK_SIZE > player1Deck
Definition: GameConfig.hpp:28
std::array< std::string, NUM_PLAYER_CLASS > fillCardIDs
Definition: GameConfig.hpp:31
PlayerType startPlayer
Definition: GameConfig.hpp:23
GameConfig struct.
Definition: GameConfig.hpp:21
Definition: AccountInfo.hpp:14
std::array< Card, START_DECK_SIZE > player2Deck
Definition: GameConfig.hpp:29
bool skipMulligan
Definition: GameConfig.hpp:38
PlayerType
Enumeration that represents the player.
Definition: Constants.hpp:57