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
df65a97225
fix disabled cursor
2024-07-03 10:12:14 +01:00
Alberto Xamin
d2bddb9eda
fix broken card descriptions
2024-06-26 14:08:17 +03:00
Alberto Xamin
dd84d91b43
Merge pull request #507 from albertoxamin/train-robbery
...
add better info screen
2024-06-15 18:59:41 +03:00
Alberto Xamin
bae85b7508
add better info screen
2024-06-15 18:58:06 +03:00
Alberto Xamin
5d0e46f205
Merge pull request #505 from albertoxamin/train-robbery
...
Add Train robbery expansion
2024-06-14 18:16:09 +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
db98f88db0
add localized str
2024-06-13 14:19:15 +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
a6029cdb0d
tab completion
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
ca74f692ec
train robbery deck display
2024-06-08 17:34:49 +01:00
Alberto Xamin
9bc1922e76
allow tequila to be played on self always
2024-06-08 15:36:34 +01:00
Alberto Xamin
b4d04d081f
be sure mira does -2
2024-06-08 15:30:59 +01:00
Alberto Xamin
ad5c10249c
Update README.md
2024-06-03 09:10:24 +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
c9df3d0b78
update cz translation
2024-05-28 10:13:16 +01:00
Alberto Xamin
7071e85f1b
Merge pull request #496 from albertoxamin/dependabot/npm_and_yarn/frontend/vite-4.5.3
...
Bump vite from 4.5.2 to 4.5.3 in /frontend
2024-05-26 20:06:26 +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
Alberto Xamin
ade95b4818
Merge pull request #500 from albertoxamin/dependabot/npm_and_yarn/frontend/ejs-3.1.10
...
Bump ejs from 3.1.9 to 3.1.10 in /frontend
2024-05-21 13:46:37 +01:00
Alberto Xamin
763bd10b7c
Merge pull request #502 from albertoxamin/dependabot/pip/backend/requests-2.32.0
...
Bump requests from 2.31.0 to 2.32.0 in /backend
2024-05-21 13:46:23 +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
Alberto Xamin
6aa3d6508f
add russian localization
2024-05-17 16:28:52 +01:00
Alberto Xamin
6b178d952a
add Spanish translation
2024-05-17 16:19:42 +01:00
Alberto Xamin
3252fdbf34
Add French language
2024-05-17 12:40:28 +01:00
Alberto Xamin
424d88e7b8
Update index.js
2024-05-16 22:33:40 +01:00
Alberto Xamin
7a793d902f
Create fr.json
2024-05-16 22:33:13 +01:00
dependabot[bot]
bd3c666703
Bump ejs from 3.1.9 to 3.1.10 in /frontend
...
Bumps [ejs](https://github.com/mde/ejs ) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases )
- [Commits](https://github.com/mde/ejs/compare/v3.1.9...v3.1.10 )
---
updated-dependencies:
- dependency-name: ejs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-02 17:32:42 +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
dependabot[bot]
359089c4c6
Bump vite from 4.5.2 to 4.5.3 in /frontend
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.3/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.5.3/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-04 01:53:56 +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
442e58effd
update npm packages
2024-02-27 10:51:48 +00:00
Alberto Xamin
badd8ebbf6
update npm lock file
2024-02-23 11:19:29 +00:00