RosettaStone
Hearthstone simulator using C++ with some reinforcement learning
File Explorer
- bug_report.md
- feature_request.md
- macos.yml
- ubuntu-codecov.yml
- ubuntu-sonarcloud.yml
- ubuntu.yml
- windows.yml
- CodeCoverage.cmake
- CompileOptions.cmake
- setup.py.in
- test1.json
- test2.json
- jquery.smartmenus.bootstrap.css
- jquery.smartmenus.bootstrap.js
- jquery.smartmenus.bootstrap.min.js
- jquery.smartmenus.keyboard.js
- jquery.smartmenus.keyboard.min.js
- customdoxygen.css
- doxy-boot.js
- Doxyfile
- footer.html
- header.html
- jquery.smartmenus.js
- jquery.smartmenus.min.js
- main.md
- AbilityList.md
- CardList - Classic.md
- CardList - Standard.md
- CardList - Wild.md
- CodeOfConduct.md
- Contributing.md
- HowToAddCard.md
- HowToAddTask.md
- Install.md
- Issues.md
- PullRequests.md
- TaskList.md
- CMakeLists.txt
- Console.cpp
- Console.hpp
- main.cpp
- Card.hpp
- Cards.hpp
- Deck.hpp
- AuraEnums.hpp
- CardEnums.hpp
- GameEnums.hpp
- TargetingEnums.hpp
- TaskEnums.hpp
- TriggerEnums.hpp
- InternalCardLoader.hpp
- TargetingPredicates.hpp
- Constants.hpp
- DeckCode.hpp
- Card.cpp
- Cards.cpp
- Deck.cpp
- AuraEnums.cpp
- CardEnums.cpp
- GameEnums.cpp
- TargetingEnums.cpp
- TaskEnums.cpp
- TriggerEnums.cpp
- InternalCardLoader.cpp
- TargetingPredicates.cpp
- Constants.cpp
- DeckCode.cpp
- CMakeLists.txt
- main.cpp
- CMakeLists.txt
- main.cpp
- Generic.hpp
- Card.hpp
- CardDef.hpp
- CardDefs.hpp
- Cards.hpp
- TargetingPredicates.hpp
- BattlegroundsCardsGen.hpp
- SelfCondition.hpp
- Effect.hpp
- Effects.hpp
- Enchant.hpp
- Enchants.hpp
- Power.hpp
- Game.hpp
- GameState.hpp
- CardLoader.hpp
- InternalCardLoader.hpp
- GameManager.hpp
- Battle.hpp
- Hero.hpp
- Minion.hpp
- MinionPool.hpp
- Player.hpp
- Spell.hpp
- Tavern.hpp
- AddEnchantmentTask.hpp
- AttackTask.hpp
- CountTask.hpp
- DamageHeroTask.hpp
- DamageTask.hpp
- GetGameTagTask.hpp
- IncludeTask.hpp
- RandomTask.hpp
- ReduceTavernCostTask.hpp
- RepeatNumberEndTask.hpp
- RepeatNumberStartTask.hpp
- SetGameTagTask.hpp
- SummonTask.hpp
- TaskStack.hpp
- TaskType.hpp
- Trigger.hpp
- GameUtils.hpp
- FieldZone.hpp
- HandZone.hpp
- AuraEnums.hpp
- CardClass.def
- CardEnums.hpp
- CardSet.def
- CardType.def
- ChoiceEnums.hpp
- ConditionEnums.hpp
- Faction.def
- GameEnums.hpp
- GameTag.def
- GameTagCustom.def
- MultiClassGroup.def
- PlayReq.def
- PlayReqCustom.def
- Race.def
- Rarity.def
- SpellSchool.def
- TargetingEnums.hpp
- TaskEnums.hpp
- TriggerEnums.hpp
- Constants.hpp
- Macros.hpp
- PriorityQueue.hpp
- SpinLocks.hpp
- Utils.hpp
- Attack.hpp
- CastSpell.hpp
- Choose.hpp
- Copy.hpp
- Draw.hpp
- Generic.hpp
- PlayCard.hpp
- Summon.hpp
- IAgent.hpp
- RandomAgent.hpp
- AdaptiveCostEffect.hpp
- AdaptiveEffect.hpp
- AdjacentAura.hpp
- Aura.hpp
- AuraUpdateInstruction.hpp
- EnrageEffect.hpp
- IAura.hpp
- SummoningPortalAura.hpp
- SwitchingAura.hpp
- Card.hpp
- CardDef.hpp
- CardDefs.hpp
- CardPowers.hpp
- CardProperty.hpp
- Cards.hpp
- AlteracValleyCardsGen.hpp
- BlackTempleCardsGen.hpp
- BoomsdayCardsGen.hpp
- BrmCardsGen.hpp
- CoreCardsGen.hpp
- DalaranCardsGen.hpp
- DarkmoonFaireCardsGen.hpp
- DemonHunterInitCardsGen.hpp
- DragonsCardsGen.hpp
- Expert1CardsGen.hpp
- GangsCardsGen.hpp
- GilneasCardsGen.hpp
- GvgCardsGen.hpp
- IcecrownCardsGen.hpp
- KaraCardsGen.hpp
- LegacyCardsGen.hpp
- LoECardsGen.hpp
- LootapaloozaCardsGen.hpp
- NaxxCardsGen.hpp
- OgCardsGen.hpp
- Placeholder202204CardsGen.hpp
- ReturnOfTheLichKingCardsGen.hpp
- RevendrethCardsGen.hpp
- ScholomanceCardsGen.hpp
- StormwindCardsGen.hpp
- TgtCardsGen.hpp
- TheBarrensCardsGen.hpp
- TheSunkenCityCardsGen.hpp
- TrollCardsGen.hpp
- UldumCardsGen.hpp
- UngoroCardsGen.hpp
- VanillaCardsGen.hpp
- YoDCardsGen.hpp
- RelaCondition.hpp
- SelfCondition.hpp
- Deck.hpp
- Atk.hpp
- Attr.hpp
- BoolAttr.hpp
- Cost.hpp
- Health.hpp
- IntAttr.hpp
- SelfContainedBoolAttr.hpp
- SelfContainedIntAttr.hpp
- AuraEffects.hpp
- Effect.hpp
- Effects.hpp
- Enchant.hpp
- Enchants.hpp
- GenericEffect.hpp
- IEffect.hpp
- OngoingEnchant.hpp
- PlayerAuraEffects.hpp
- Power.hpp
- SwapCostEnchant.hpp
- Game.hpp
- GameConfig.hpp
- CardLoader.hpp
- InternalCardLoader.hpp
- TargetingPredicates.hpp
- PlayHistory.hpp
- CostManager.hpp
- GameManager.hpp
- TriggerEvent.hpp
- TriggerEventHandler.hpp
- TriggerManager.hpp
- Character.hpp
- Choice.hpp
- Enchantment.hpp
- Entity.hpp
- Hero.hpp
- HeroPower.hpp
- Location.hpp
- Minion.hpp
- Playable.hpp
- Player.hpp
- Spell.hpp
- Weapon.hpp
- AttackTask.hpp
- ChooseTask.hpp
- EndTurnTask.hpp
- HeroPowerTask.hpp
- PlayCardTask.hpp
- PlayLocationTask.hpp
- TradeCardTask.hpp
- ActivateCapturedDeathrattleTask.hpp
- ActivateDeathrattleTask.hpp
- AddAuraEffectTask.hpp
- AddCardTask.hpp
- AddEnchantmentTask.hpp
- AddLackeyTask.hpp
- AddPoisonTask.hpp
- AddStackToTask.hpp
- ApplyEffectTask.hpp
- ArmorTask.hpp
- AttackTask.hpp
- CastCopyTask.hpp
- CastRandomSpellTask.hpp
- CastSpellStackTask.hpp
- ChanceTask.hpp
- ChangeAttackingTargetTask.hpp
- ChangeEntityTask.hpp
- ChangeHeroPowerTask.hpp
- ChangeUnidentifiedTask.hpp
- ClearStackTask.hpp
- ConditionTask.hpp
- ConsecutiveDamageTask.hpp
- ControlTask.hpp
- CopyTask.hpp
- CountTask.hpp
- CustomTask.hpp
- DamageNumberTask.hpp
- DamageTask.hpp
- DamageWeaponTask.hpp
- DestroyAllTask.hpp
- DestroyDeckCardTask.hpp
- DestroySoulFragmentTask.hpp
- DestroyTask.hpp
- DiscardTask.hpp
- DiscoverTask.hpp
- DrawMinionTask.hpp
- DrawNumberTask.hpp
- DrawOpTask.hpp
- DrawRaceMinionTask.hpp
- DrawSpellTask.hpp
- DrawStackTask.hpp
- DrawTask.hpp
- DrawWeaponTask.hpp
- DredgeTask.hpp
- EnqueueNumberTask.hpp
- EnqueueTask.hpp
- FilterStackTask.hpp
- FlagTask.hpp
- FreezeTask.hpp
- FuncNumberTask.hpp
- FuncPlayableTask.hpp
- GetEventNumberTask.hpp
- GetGameTagTask.hpp
- GetPlayerGameTagTask.hpp
- GetPlayerManaTask.hpp
- HealFullTask.hpp
- HealNumberTask.hpp
- HealTask.hpp
- IncludeAdjacentTask.hpp
- IncludeTask.hpp
- InvokeTask.hpp
- ManaCrystalTask.hpp
- MathAddTask.hpp
- MathMultiplyTask.hpp
- MathNumberIndexTask.hpp
- MathRandTask.hpp
- MathSubtractTask.hpp
- MoveToDeckTask.hpp
- MoveToGraveyardTask.hpp
- MoveToSetasideTask.hpp
- NumberConditionTask.hpp
- PlayTask.hpp
- PutCardDeckTask.hpp
- QuestProgressTask.hpp
- RandomCardTask.hpp
- RandomEntourageTask.hpp
- RandomMinionNumberTask.hpp
- RandomMinionTask.hpp
- RandomSpellTask.hpp
- RandomTask.hpp
- RefreshManaTask.hpp
- RemoveDurabilityTask.hpp
- RemoveEnchantmentTask.hpp
- RemoveHandTask.hpp
- ReplaceHeroTask.hpp
- ReturnHandTask.hpp
- RevealStealthTask.hpp
- SetGameTagNumberTask.hpp
- SetGameTagTask.hpp
- SetManaCrystalTask.hpp
- SetPlayerGameTagTask.hpp
- SilenceTask.hpp
- SummonCapturedMinionTask.hpp
- SummonCopyTask.hpp
- SummonNumberTask.hpp
- SummonOpTask.hpp
- SummonStackTask.hpp
- SummonTask.hpp
- SwapAttackHealthTask.hpp
- SwapHeroPowerTask.hpp
- SwapTopCardTask.hpp
- TempManaTask.hpp
- TransformCopyTask.hpp
- TransformMinionTask.hpp
- TransformTask.hpp
- WeaponStackTask.hpp
- WeaponTask.hpp
- ComplexTask.hpp
- ComplexTrigger.hpp
- EventMetaData.hpp
- ITask.hpp
- PlayerTasks.hpp
- SimpleTasks.hpp
- TaskQueue.hpp
- TaskStack.hpp
- MultiTrigger.hpp
- Trigger.hpp
- Triggers.hpp
- DeckCode.hpp
- DeckZone.hpp
- FieldZone.hpp
- GraveyardZone.hpp
- HandZone.hpp
- IZone.hpp
- SecretZone.hpp
- SetasideZone.hpp
- Zone.hpp
- RosettaStone.hpp
- CppDepend.png
- Logo.png
- Logo.svg
- NDC 2019 - Development Process of Hearthstone Reinforcement Learning Environment (Korean).pdf
- TFCON 2018 - Hearthstone++, Hearthstone Simulator with Reinforcement Learning.pdf
- cards.collectible.json
- cards.json
- mercenaries.json
- card_comment_gen.py
- card_stats.py
- header_gen.py
- utils.py
- Generic.cpp
- Card.cpp
- CardDef.cpp
- CardDefs.cpp
- Cards.cpp
- TargetingPredicates.cpp
- BattlegroundsCardsGen.cpp
- SelfCondition.cpp
- Effect.cpp
- Enchant.cpp
- Enchants.cpp
- Power.cpp
- Game.cpp
- CardLoader.cpp
- InternalCardLoader.cpp
- GameManager.cpp
- Battle.cpp
- Hero.cpp
- Minion.cpp
- MinionPool.cpp
- Player.cpp
- Spell.cpp
- AddEnchantmentTask.cpp
- AttackTask.cpp
- CountTask.cpp
- DamageHeroTask.cpp
- DamageTask.cpp
- GetGameTagTask.cpp
- IncludeTask.cpp
- RandomTask.cpp
- ReduceTavernCostTask.cpp
- RepeatNumberEndTask.cpp
- RepeatNumberStartTask.cpp
- SetGameTagTask.cpp
- SummonTask.cpp
- Trigger.cpp
- GameUtils.cpp
- FieldZone.cpp
- HandZone.cpp
- Utils.cpp
- Attack.cpp
- CastSpell.cpp
- Choose.cpp
- Copy.cpp
- Draw.cpp
- Generic.cpp
- PlayCard.cpp
- Summon.cpp
- RandomAgent.cpp
- AdaptiveCostEffect.cpp
- AdaptiveEffect.cpp
- AdjacentAura.cpp
- Aura.cpp
- EnrageEffect.cpp
- SummoningPortalAura.cpp
- SwitchingAura.cpp
- Card.cpp
- CardDefs.cpp
- Cards.cpp
- AlteracValleyCardsGen.cpp
- BlackTempleCardsGen.cpp
- BoomsdayCardsGen.cpp
- BrmCardsGen.cpp
- CoreCardsGen.cpp
- DalaranCardsGen.cpp
- DarkmoonFaireCardsGen.cpp
- DemonHunterInitCardsGen.cpp
- DragonsCardsGen.cpp
- Expert1CardsGen.cpp
- GangsCardsGen.cpp
- GilneasCardsGen.cpp
- GvgCardsGen.cpp
- IcecrownCardsGen.cpp
- KaraCardsGen.cpp
- LegacyCardsGen.cpp
- LoECardsGen.cpp
- LootapaloozaCardsGen.cpp
- NaxxCardsGen.cpp
- OgCardsGen.cpp
- Placeholder202204CardsGen.cpp
- ReturnOfTheLichKingCardsGen.cpp
- RevendrethCardsGen.cpp
- ScholomanceCardsGen.cpp
- StormwindCardsGen.cpp
- TgtCardsGen.cpp
- TheBarrensCardsGen.cpp
- TheSunkenCityCardsGen.cpp
- TrollCardsGen.cpp
- UldumCardsGen.cpp
- UngoroCardsGen.cpp
- VanillaCardsGen.cpp
- YoDCardsGen.cpp
- RelaCondition.cpp
- SelfCondition.cpp
- Deck.cpp
- AuraEffects.cpp
- Effect.cpp
- Enchant.cpp
- Enchants.cpp
- OngoingEnchant.cpp
- PlayerAuraEffects.cpp
- Power.cpp
- SwapCostEnchant.cpp
- Game.cpp
- CardLoader.cpp
- InternalCardLoader.cpp
- TargetingPredicates.cpp
- CostManager.cpp
- GameManager.cpp
- TriggerEvent.cpp
- TriggerEventHandler.cpp
- TriggerManager.cpp
- Character.cpp
- Choice.cpp
- Enchantment.cpp
- Entity.cpp
- Hero.cpp
- HeroPower.cpp
- Location.cpp
- Minion.cpp
- Playable.cpp
- Player.cpp
- Spell.cpp
- Weapon.cpp
- AttackTask.cpp
- ChooseTask.cpp
- EndTurnTask.cpp
- HeroPowerTask.cpp
- PlayCardTask.cpp
- PlayLocationTask.cpp
- TradeCardTask.cpp
- ActivateCapturedDeathrattleTask.cpp
- ActivateDeathrattleTask.cpp
- AddAuraEffectTask.cpp
- AddCardTask.cpp
- AddEnchantmentTask.cpp
- AddLackeyTask.cpp
- AddPoisonTask.cpp
- AddStackToTask.cpp
- ApplyEffectTask.cpp
- ArmorTask.cpp
- AttackTask.cpp
- CastCopyTask.cpp
- CastRandomSpellTask.cpp
- CastSpellStackTask.cpp
- ChanceTask.cpp
- ChangeAttackingTargetTask.cpp
- ChangeEntityTask.cpp
- ChangeHeroPowerTask.cpp
- ChangeUnidentifiedTask.cpp
- ClearStackTask.cpp
- ConditionTask.cpp
- ConsecutiveDamageTask.cpp
- ControlTask.cpp
- CopyTask.cpp
- CountTask.cpp
- CustomTask.cpp
- DamageNumberTask.cpp
- DamageTask.cpp
- DamageWeaponTask.cpp
- DestroyAllTask.cpp
- DestroyDeckCardTask.cpp
- DestroySoulFragmentTask.cpp
- DestroyTask.cpp
- DiscardTask.cpp
- DiscoverTask.cpp
- DrawMinionTask.cpp
- DrawNumberTask.cpp
- DrawOpTask.cpp
- DrawRaceMinionTask.cpp
- DrawSpellTask.cpp
- DrawStackTask.cpp
- DrawTask.cpp
- DrawWeaponTask.cpp
- DredgeTask.cpp
- EnqueueNumberTask.cpp
- EnqueueTask.cpp
- FilterStackTask.cpp
- FlagTask.cpp
- FreezeTask.cpp
- FuncNumberTask.cpp
- FuncPlayableTask.cpp
- GetEventNumberTask.cpp
- GetGameTagTask.cpp
- GetPlayerGameTagTask.cpp
- GetPlayerManaTask.cpp
- HealFullTask.cpp
- HealNumberTask.cpp
- HealTask.cpp
- IncludeAdjacentTask.cpp
- IncludeTask.cpp
- InvokeTask.cpp
- ManaCrystalTask.cpp
- MathAddTask.cpp
- MathMultiplyTask.cpp
- MathNumberIndexTask.cpp
- MathRandTask.cpp
- MathSubtractTask.cpp
- MoveToDeckTask.cpp
- MoveToGraveyardTask.cpp
- MoveToSetasideTask.cpp
- NumberConditionTask.cpp
- PlayTask.cpp
- PutCardDeckTask.cpp
- QuestProgressTask.cpp
- RandomCardTask.cpp
- RandomEntourageTask.cpp
- RandomMinionNumberTask.cpp
- RandomMinionTask.cpp
- RandomSpellTask.cpp
- RandomTask.cpp
- RefreshManaTask.cpp
- RemoveDurabilityTask.cpp
- RemoveEnchantmentTask.cpp
- RemoveHandTask.cpp
- ReplaceHeroTask.cpp
- ReturnHandTask.cpp
- RevealStealthTask.cpp
- SetGameTagNumberTask.cpp
- SetGameTagTask.cpp
- SetManaCrystalTask.cpp
- SetPlayerGameTagTask.cpp
- SilenceTask.cpp
- SummonCapturedMinionTask.cpp
- SummonCopyTask.cpp
- SummonNumberTask.cpp
- SummonOpTask.cpp
- SummonStackTask.cpp
- SummonTask.cpp
- SwapAttackHealthTask.cpp
- SwapHeroPowerTask.cpp
- SwapTopCardTask.cpp
- TempManaTask.cpp
- TransformCopyTask.cpp
- TransformMinionTask.cpp
- TransformTask.cpp
- WeaponStackTask.cpp
- WeaponTask.cpp
- ITask.cpp
- TaskQueue.cpp
- MultiTrigger.cpp
- Trigger.cpp
- DeckCode.cpp
- DeckZone.cpp
- FieldZone.cpp
- GraveyardZone.cpp
- HandZone.cpp
- SecretZone.cpp
- SetasideZone.cpp
- CMakeLists.txt
- test_card.py
- test_card_stats.py
- test_cards.py
- test_deck.py
- test_deck_code.py
- CardsTests.cpp
- BattlegroundsCardsGenTests.cpp
- GameTests.cpp
- BattleTests.cpp
- UtilsTests.cpp
- ChooseTests.cpp
- CopyTests.cpp
- GenericTests.cpp
- RandomAgentTests.cpp
- AdjacentAuraTests.cpp
- AuraTests.cpp
- CardsTests.cpp
- CardTests.cpp
- AlteracValleyCardsGenTests.cpp
- BlackTempleCardsGenTests.cpp
- BoomsdayCardsGenTests.cpp
- BrmCardsGenTests.cpp
- CoreCardsGenTests.cpp
- DalaranCardsGenTests.cpp
- DarkmoonFaireCardsGenTests.cpp
- DemonHunterInitCardsGenTests.cpp
- DragonsCardsGenTests.cpp
- Expert1CardsGenTests.cpp
- GangsCardsGenTests.cpp
- GilneasCardsGenTests.cpp
- GvgCardsGenTests.cpp
- IcecrownCardsGenTests.cpp
- KaraCardsGenTests.cpp
- LegacyCardsGenTests.cpp
- LoECardsGenTests.cpp
- LootapaloozaCardsGenTests.cpp
- NaxxCardsGenTests.cpp
- OgCardsGenTests.cpp
- Placeholder202204CardsGenTests.cpp
- ReturnOfTheLichKingCardsGen.cpp
- RevendrethCardsGenTests.cpp
- ScholomanceCardsGenTests.cpp
- StormwindCardsGenTests.cpp
- TgtCardsGenTests.cpp
- TheBarrensCardsGenTests.cpp
- TheSunkenCityCardsGenTests.cpp
- TrollCardsGenTests.cpp
- UldumCardsGenTests.cpp
- UngoroCardsGenTests.cpp
- VanillaCardsGenTests.cpp
- YoDCardsGenTests.cpp
- DeckCodeTests.cpp
- UtilsTests.cpp
- DeckTests.cpp
- PlayerAuraEffectsTests.cpp
- GameTests.cpp
- CharacterTests.cpp
- EntityTests.cpp
- PlayerTests.cpp
- AttackTaskTests.cpp
- TradeCardTaskTests.cpp
- ChangeHeroPowerTaskTests.cpp
- ControlTaskTests.cpp
- CountTaskTests.cpp
- DamageTaskTests.cpp
- DestroyTaskTests.cpp
- DrawTaskTests.cpp
- GetEventNumberTaskTests.cpp
- IncludeTaskTests.cpp
- MathNumberIndexTaskTests.cpp
- TransformCopyTaskTests.cpp
- TriggerTests.cpp
- FieldZoneTests.cpp
- HandZoneTests.cpp
- SecretZoneTests.cpp
- CardSetHeaders.hpp
- TestUtils.cpp
- TestUtils.hpp
- CMakeLists.txt
- doctest_proxy.hpp
- main.cpp
- .clang-format
- .codacy.yml
- .gitattributes
- .gitignore
- 3RD-PARTY.md
- AGENTS.md
- ARCHITECTURE.md
- CMakeLists.txt
- CMakeSettings.json
- codecov.yml
- Dockerfile
- LICENSE
- README.md
- requirements.txt
- sonar-project.properties
- vcpkg.json
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
cmake
View Details ▼
cmake
Cross-platform build automation system, that generates recipes for native build systems.
cmake {{path/to/project_directory}}
Generate a build recipe in the current directory with `CMakeLists.txt` from a project directory:
cmake --build {{path/to/build_directory}}
Use a generated recipe in a given directory to build artifacts:
cmake --install {{path/to/build_directory}} --strip
Install the build artifacts into `/usr/local/` and strip debugging symbols:
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
python
View Details ▼
python
Python language interpreter.
python
Start a REPL (interactive shell):
python {{path/to/file.py}}
Execute a specific Python file:
python -i {{path/to/file.py}}
Execute a specific Python file and start a REPL:
