Shop-Leiste im TFT-Stil: Cards mit Splash, Trait-Pills, Shine, Upgrade-Sterne, Lock, Gold/Streak-Pills

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
team3
2026-07-23 05:47:52 +02:00
parent d191af34ca
commit 50c3f2857e
6 changed files with 214 additions and 45 deletions

View File

@@ -79,3 +79,11 @@ def test_invalid_actions_raise(art, cfg):
game.buy_xp()
with pytest.raises(InvalidAction):
game.sell("bench", 0)
def test_shop_lock_survives_step(art, cfg):
game = Game(art, cfg, seed=2)
game.toggle_lock()
before = list(game.shop)
game.step()
assert game.shop == before