bang/backend/tests
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
..
__init__.py add cattletruck 2024-06-13 15:32:52 +03:00
cards_test.py refactor pending action 2024-06-10 17:22:30 +01:00
character_test.py refactor pending action 2024-06-10 17:22:30 +01:00
deck_test.py change is none checks 2023-01-23 14:50:03 +00:00
dodge_city_test.py refactor pending action 2024-06-10 17:22:30 +01:00
dummy_socket.py add colorado bill 2023-01-27 15:08:23 +00:00
game_test.py refactor pending action 2024-06-10 17:22:30 +01:00
roles_test.py refactor pending action 2024-06-10 17:22:30 +01:00
test_card_events.py fix miniera abbandonata 2024-06-02 16:15:48 +01:00
test_trains.py add cattletruck 2024-06-13 15:32:52 +03:00
valley_of_shadows_characters_test.py refactor pending action 2024-06-10 17:22:30 +01:00
valley_of_shadows_test.py Fix Sventagliata to target only one player at a distance from the first target 2024-08-03 18:58:33 +01:00
wild_west_show_characters_test.py refactor pending action 2024-06-10 17:22:30 +01:00
wild_west_show_events_test.py refactor pending action 2024-06-10 17:22:30 +01:00