You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Guidance for AI coding agents (Codex, Claude Code, etc.) working in this reposit
4
4
5
5
## What this repository is
6
6
7
-
This is **RosettaStone**, a C++17 Hearthstone simulator with console tooling, generated card/task implementations, and a Python API exposed through pybind11.
7
+
This is **RosettaStone**, a C++23 Hearthstone simulator with console tooling, generated card/task implementations, and a Python API exposed through pybind11.
8
8
9
9
It is not just a single C++ library:
10
10
@@ -22,7 +22,7 @@ Upstream lives at <https://github.com/utilForever/RosettaStone.git>.
22
22
1.**Keep C++ and Python-visible behavior in sync.** If you change public types, enums, cards, tasks, zones, game flow, or other core behavior, check whether `Extensions/RosettaPython/` and `Tests/PythonTests/` need matching updates.
23
23
2.**Treat generated files as generated.**`Includes/Rosetta/RosettaStone.hpp` is produced by `Scripts/header_gen.py` during the CMake build. Change headers under `Includes/Rosetta/` or the generator, not the aggregate header by hand.
24
24
3.**Use CMake targets as the source of truth.** Before adding or moving C++ files, read the relevant `CMakeLists.txt`. Most source lists use `GLOB_RECURSE`, but target ownership and compile definitions still live there.
25
-
4.**Preserve C++17 portability.** CI builds on Ubuntu, macOS, and Windows with several compilers. Avoid compiler-specific assumptions unless they are isolated or guarded by CMake.
25
+
4.**Preserve C++23 portability.** CI builds on Ubuntu, macOS, and Windows with several compilers. Avoid compiler-specific assumptions unless they are isolated or guarded by CMake.
26
26
5.**Do not add dependencies casually.** Prefer the standard library and existing vendored libraries. If Python dependencies change, update `requirements.txt` and verify the Python tests.
27
27
6.**Run the smallest relevant check.** Documentation-only changes usually do not need a build. Code or API changes should run the focused C++ and/or Python tests below.
To build the code, a compiler that supports C++17 is required. Platform-specific build instructions are described below.
19
+
To build the code, a compiler that supports C++23 is required. Platform-specific build instructions are described below.
20
20
21
21
### Building from macOS
22
22
@@ -203,4 +203,4 @@ The build quality is tracked by [Travis CI](https://travis-ci.org/utilForever/Ro
203
203
204
204
### Code Quality
205
205
206
-
The code quality is tracked by [Codacy](https://app.codacy.com/project/utilForever/RosettaStone/dashboard) and [CodeFactor](https://www.codefactor.io/repository/github/utilforever/RosettaStone). Any pull requests must pass all the code quality tools.
206
+
The code quality is tracked by [Codacy](https://app.codacy.com/project/utilForever/RosettaStone/dashboard) and [CodeFactor](https://www.codefactor.io/repository/github/utilforever/RosettaStone). Any pull requests must pass all the code quality tools.
Hearthstone++ 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. Hearthstone++ currently supports macOS (10.12.6 or later), Ubuntu (17.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 Hearthstone++.
1
+
RosettaStone is a Hearthstone simulator using C++ with some reinforcement learning. The code is built on C++23 and can be compiled with supported versions of g++, clang++, or Microsoft Visual Studio. RosettaStone currently supports macOS, Ubuntu, Windows, and Windows Subsystem for Linux (WSL). Other C++23 platforms have not been verified.
0 commit comments