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
-`TOOLS.json`: Strategy-specific function definitions
241
+
242
+
**manifest.json Structure**:
243
+
244
+
```json
245
+
{
246
+
"name": "Default",
247
+
"description": "Conservative, financially disciplined approach to Balatro",
248
+
"author": "BalatroBench",
249
+
"version": "0.1.0",
250
+
"tags": ["conservative", "financial"]
251
+
}
252
+
```
253
+
254
+
All 5 fields are required. Strategy versions are independent from BalatroLLM versions.
255
+
256
+
For comprehensive strategy documentation including Jinja2 templates, validation, and contribution guidelines, see [docs/strategies.md](https://s1m0n38.github.io/balatrollm/strategies/).
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-87Lines changed: 1 addition & 87 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ This document provides guidelines and instructions for contributing to the proje
16
16
17
17
5.**Use Conventional Commits**: Follow the conventional commits specification for your commit messages.
18
18
19
-
6.**Submit Strategies**: Community members can contribute new playing strategies by following the strategy submission guidelines below.
19
+
6.**Submit Strategies**: Community members can contribute new playing strategies. See the [Strategies documentation](https://s1m0n38.github.io/balatrollm/strategies/) for detailed guidelines.
20
20
21
21
## Environment Setup
22
22
@@ -49,89 +49,3 @@ source .envrc
49
49
```
50
50
51
51
> You can use [direnv](https://github.com/direnv/direnv) to automatically activate the environment when you enter the project directory.
52
-
53
-
## Contributing Strategies
54
-
55
-
Community members can contribute new playing strategies to enhance BalatroLLM's gameplay variety. Strategies define how the bot approaches decision-making during different game phases.
56
-
57
-
### Strategy Structure
58
-
59
-
Each strategy must be organized as a directory under `src/balatrollm/strategies/` containing exactly four files:
60
-
61
-
```
62
-
src/balatrollm/strategies/your_strategy_name/
63
-
├── STRATEGY.md.jinja # Strategy-specific guide and approach
64
-
├── GAMESTATE.md.jinja # Game state representation template
65
-
├── MEMORY.md.jinja # Response history tracking template
66
-
└── TOOLS.json # Strategy-specific function definitions
67
-
```
68
-
69
-
### Strategy Naming Requirements
70
-
71
-
Strategy names must follow these rules:
72
-
73
-
-**Lowercase letters and numbers only** (e.g., `aggressive`, `value_based`, `risky2`)
74
-
-**Valid Python identifier** (cannot start with a number)
1.**Study Existing Strategies**: Review `src/balatrollm/strategies/default/` and `src/balatrollm/strategies/aggressive/` to understand the template structure and content expectations.
81
-
82
-
2.**Create Strategy Directory**: Create a new directory following the naming requirements:
0 commit comments