bang/backend/bang/expansions
Alberto Xamin ff68001976 Fix Sventagliata to target only one player at a distance from the first target
Related to #513

Update the `Sventagliata` card to restrict the secondary target to be at a distance from the first target.

* **backend/bang/expansions/the_valley_of_shadows/cards.py**
  - Modify the `play_card` method in the `Sventagliata` class to enforce distance constraints for the secondary target.
  - Ensure the secondary target selection logic only includes players at a distance of 1 from the first target.

* **backend/tests/valley_of_shadows_test.py**
  - Update the `test_sventagliata` test to verify the secondary target is at a distance from the first target.
  - Add assertions to ensure the secondary target is correctly chosen based on the distance constraint.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/albertoxamin/bang/issues/513?shareId=XXXX-XXXX-XXXX-XXXX).
2024-08-03 18:58:33 +01:00
..
dodge_city refactor pending action 2024-06-10 17:22:30 +01:00
fistful_of_cards user rng instead of random 2023-04-18 19:58:48 +01:00
gold_rush refactor pending action 2024-06-10 17:22:30 +01:00
high_noon card event refactoring and moved wild-west-show to its own pile 2023-04-02 13:47:08 +01:00
the_valley_of_shadows Fix Sventagliata to target only one player at a distance from the first target 2024-08-03 18:58:33 +01:00
train_robbery also add new animations 2024-06-14 18:09:24 +03:00
wild_west_show user rng instead of random 2023-04-18 19:58:48 +01:00
__init__.py add better info screen 2024-06-15 18:58:06 +03:00