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
Alberto Xamin
bae85b7508
add better info screen
2024-06-15 18:58:06 +03:00
Alberto Xamin
7dab001bb0
fix duello
2024-06-14 18:11:20 +03:00
Alberto Xamin
a474dfbc24
also add new animations
2024-06-14 18:09:24 +03:00
Alberto Xamin
c171739db8
add circus wagon
2024-06-13 15:57:13 +03:00
Alberto Xamin
344b7cc043
add cattletruck
2024-06-13 15:32:52 +03:00
Alberto Xamin
c2b123b482
make it for trains aswell
2024-06-10 17:28:37 +01:00
Alberto Xamin
da7e4834b7
refactor pending action
2024-06-10 17:22:30 +01:00
Alberto Xamin
399645de27
add express car, lumber, mail
2024-06-10 17:02:47 +01:00
Alberto Xamin
beff8151c2
add train robbery cards to help
2024-06-10 14:25:05 +01:00
Alberto Xamin
b72319f335
fix potential bugs
2024-06-10 14:04:06 +01:00
Alberto Xamin
64feee23ae
fix lint
2024-06-08 17:51:38 +01:00
Alberto Xamin
0691780472
fix recursive import
2024-06-08 17:48:02 +01:00
Alberto Xamin
3707b24f8c
wip
2024-06-08 17:34:49 +01:00
Alberto Xamin
9d5ac5b166
stations and train info
2024-06-08 17:34:49 +01:00
Alberto Xamin
f716a96334
buy trains
2024-06-08 17:34:49 +01:00
Alberto Xamin
14534997e8
progress
2024-06-08 17:34:49 +01:00
Alberto Xamin
1ee92afb9a
add trains
2024-06-08 17:34:49 +01:00
Alberto Xamin
9e89092090
stations in the deck
2024-06-08 17:34:49 +01:00
Alberto Xamin
b4d04d081f
be sure mira does -2
2024-06-08 15:30:59 +01:00
Alberto Xamin
689725fe5c
fix ritorno di fiamma con roulette russa
2024-06-02 16:27:32 +01:00
Alberto Xamin
e08c7162a1
fix Mira
2024-06-02 16:24:37 +01:00
Alberto Xamin
72dc942901
fix miniera abbandonata
2024-06-02 16:15:48 +01:00
Alberto Xamin
1a839db4c8
Merge pull request #497 from albertoxamin/dependabot/pip/backend/eventlet-0.35.2
...
Bump eventlet from 0.33.3 to 0.35.2 in /backend
2024-05-26 20:06:13 +01:00
Alberto Xamin
3c5300e5da
fix sventagliata
2024-05-26 20:04:46 +01:00
dependabot[bot]
1f57d1a700
---
...
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 08:01:34 +00:00
dependabot[bot]
e6dc40bc57
Bump eventlet from 0.33.3 to 0.35.2 in /backend
...
Bumps [eventlet](https://github.com/eventlet/eventlet ) from 0.33.3 to 0.35.2.
- [Changelog](https://github.com/eventlet/eventlet/blob/master/NEWS )
- [Commits](https://github.com/eventlet/eventlet/compare/v0.33.3...v0.35.2 )
---
updated-dependencies:
- dependency-name: eventlet
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-12 21:53:39 +00:00
Alberto Xamin
ae36bbcec6
Merge pull request #471 from albertoxamin/dependabot/pip/backend/requests-2.31.0
...
Bump requests from 2.28.2 to 2.31.0 in /backend
2024-03-25 11:16:00 +00:00
Alberto Xamin
4eb1a82ab7
expire and remove secrets
2024-02-23 10:45:52 +00:00
dependabot[bot]
6995714835
Bump requests from 2.28.2 to 2.31.0 in /backend
...
Bumps [requests](https://github.com/psf/requests ) from 2.28.2 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.28.2...v2.31.0 )
---
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 05:53:48 +00:00
Alberto Xamin
2ddf18b8c0
user rng instead of random
2023-04-18 19:58:48 +01:00
Alberto Xamin
06069462ae
fix gary looter and big spencer
2023-04-18 19:52:18 +01:00
Alberto Xamin
8a5e25385f
small readability updates
2023-04-15 11:19:21 +01:00
Alberto Xamin
9ea0a49c2e
fix flint westwood
2023-04-10 14:24:29 +01:00
Alberto Xamin
674a25bcf3
more details to chat
2023-04-10 14:16:13 +01:00
Alberto Xamin
6b233b652d
fix manette
2023-04-10 10:33:59 +01:00
Alberto Xamin
95ca45b059
add suggest expansion
2023-04-09 20:45:04 +01:00
Alberto Xamin
ad1db9e0dc
fix broken password login
2023-04-09 19:46:51 +01:00
Alberto Xamin
340c86b5db
fix username renaming
2023-04-09 12:22:42 +01:00
Alberto Xamin
bda273849b
add option to set characters to distribute
2023-04-09 12:10:06 +01:00
Alberto Xamin
55c90ddd56
add gary looter
2023-04-09 11:05:33 +01:00
Alberto Xamin
c81a806a6b
fix regolamento di conti
2023-04-09 10:24:44 +01:00
Alberto Xamin
6c611aec0b
no double prigione
2023-04-04 16:41:36 +01:00
Alberto Xamin
a936f44099
add Lee Van Kliff
2023-04-02 22:36:26 +01:00
Alberto Xamin
744bc44950
card refactor
2023-04-02 17:34:31 +01:00
Alberto Xamin
21b7c261bf
rename bots
2023-04-02 17:21:11 +01:00
Alberto Xamin
7692c7818f
add henry block
2023-04-02 17:05:49 +01:00
Alberto Xamin
0d960390be
fix bot overusing self panico
2023-04-02 16:38:30 +01:00
Alberto Xamin
ba6d8ddecb
fix mira for bots
2023-04-02 15:09:25 +01:00
Alberto Xamin
72bb52d037
fix Lemat
2023-04-02 14:56:52 +01:00