Skip to content

Commit ae45b4d

Browse files
committed
feat: add current score and target score to gamestate
Also comment out the booster packs for now because the API does not support them yet
1 parent d11e5df commit ae45b4d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/balatrollm/strategies/default/GAMESTATE.md.jinja

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
- **Money**: ${{ G.game.dollars }}
1313
- **Hands left**: {{ G.game.current_round.hands_left}}/{{ G.game.current_round.hands_left + G.game.current_round.hands_played}}
1414
- **Discards left**: {{ G.game.current_round.discards_left }}/{{ G.game.current_round.discards_left + G.game.current_round.discards_used }}
15+
- **Current Score**: {{ G.game.chips }}
16+
- **Target Score**: {% if G.blinds.small.status == "Current" %}{{ G.blinds.small.score }}{% elif G.blinds.big.status == "Current" %}{{ G.blinds.big.score }}{% elif G.blinds.boss.status == "Current" %}{{ G.blinds.boss.score }}{% endif %}
1517
{%- elif G.state == 8 -%}
1618
- **Phase**: Round Evaluation Phase
1719
- **Round**: {{ G.game.round }}
@@ -204,13 +206,13 @@ Here are the vouchers that can be redeemed:
204206
{%- endif %}
205207
{%- endfor %}
206208

207-
Here are the booster packs that can be opened:
209+
{#- Here are the booster packs that can be opened:
208210
209211
{% for pack in G.shop_booster.cards -%}
210212
- {{ loop.index0 }}: {{ pack.label }}
211213
- **Cost**: ${{ pack.cost }}
212214
- **Sell value**: ${{ pack.sell_cost }}
213-
{% endfor %}
215+
{% endfor %} -#}
214216
{%- endif %}
215217

216218
# Tools available

0 commit comments

Comments
 (0)