RosettaStone is Hearthstone simulator using C++ with some reinforcement learning. The code is built on C++17 and can be compiled with commonly available compilers such as g++, clang++, or Microsoft Visual Studio. RosettaStone currently supports macOS (10.14 or later), Ubuntu (18.04 or later), Windows (Visual Studio 2017 or later), and Windows Subsystem for Linux (WSL). Other untested platforms that support C++17 also should be able to build RosettaStone.
You will need CMake to build the code. If you're using Windows, you need Visual Studio 2017 in addition to CMake.
First, clone the code:
git clone https://github.com/utilForever/RosettaStone.git --recursive
cd RosettaStone
Build and install the package by running
pip install -U .
NOTE: We are making Python API and related examples.
For macOS or Linux or Windows Subsystem for Linux (WSL):
mkdir build
cd build
cmake ..
make
For Windows:
mkdir build
cd build
cmake .. -G"Visual Studio 15 2017 Win64"
MSBuild RosettaStone.sln /p:Configuration=Release
Now run console simulator:
bin/RosettaConsole
NOTE: To run GUI simulator, please check out RosettaStone GUI.
docker pull utilforever/rosettastone:latest
Now run console simulator:
docker run -it utilforever/rosettastone
[inside docker container]
/app/build/bin/RosettaConsole
To learn how to build, test, and install the SDK, please check out Install.md.
All the documentations for the framework can be found from the project website incluing the API reference.
Contributions are always welcome, either reporting issues/bugs or forking the repository and then issuing pull requests when you have completed some additional coding that you feel will be beneficial to the main project. If you are interested in contributing in a more dedicated capacity, then please check out Contributing.md.
You can contact me via e-mail (utilForever at gmail.com). I am always happy to answer questions or help with any issues you might have, and please be sure to share any additional work or your creations with me, I love seeing what other people are making.
The class is licensed under the Affero GPLv3 License:
RosettaStone is based on part of Sabberstone's code
Copyright © 2017-2021 SabberStone Team, darkfriend77 & rnilva
RosettaStone, Hearthstone simulator using C++ with some reinforcement learning
Copyright © 2017-2024 Chris Ohk
RosettaStone is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License. RosettaStone is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
Hearthstone is an interactive game of Blizzard Entertainment, Inc and all rights reserved. Hearthstone is a registered trademark of Blizzard Entertainment, Inc. in the U.S. and/or other countries. This project is not affiliated with Blizzard Entertainment.