bang/backend/bang
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
..
expansions Fix Sventagliata to target only one player at a distance from the first target 2024-08-03 18:58:33 +01:00
cards.py buy trains 2024-06-08 17:34:49 +01:00
characters.py characters refactor 2023-04-02 14:37:14 +01:00
deck.py add cattletruck 2024-06-13 15:32:52 +03:00
game.py also add new animations 2024-06-14 18:09:24 +03:00
players.py fix duello 2024-06-14 18:11:20 +03:00
roles.py change is none checks 2023-01-23 14:50:03 +00:00