tim
aa1b037c1a
Fix guess-validation tests for high round numbers
...
test_get_active_player and test_is_guessing_completed built a round 6
(only 8-6=2 tricks) but bid 4, which the engine correctly rejects
(guess must be <= number of tricks). Adjust the bids to legal values
while preserving each test's intent (player 0 stays the unique high
bidder so it leads the first stash).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-13 23:40:13 +02:00
tim
00937aa89f
Add Bridzik.get_player_cards and make get_status player-agnostic
...
Engine support for the per-connection Socket.IO API: hands are fetched
explicitly via get_player_cards(player) and the shared status no longer
embeds a single player's cards.
2026-06-13 23:40:04 +02:00
Frantisek F
cd3d84319e
Add main socket communication
2022-07-05 21:28:05 +02:00
Frantisek F
3053040da9
Add docker and sockets
2022-07-05 15:58:23 +02:00
Jakub Senderák
2281e030f6
ui enhancements
2021-04-18 17:40:38 +02:00
Jakub Senderák
889f787f29
shuffler added as explicit dependency
2021-04-18 17:40:38 +02:00
Jakub Senderák
618e632ce4
sort_card_list moved to utils and refactored
2021-04-18 17:40:38 +02:00
Jakub Senderák
834e03c172
main module name change
2021-04-18 17:40:38 +02:00
Jakub Senderák
40b18cbf41
previous stash added to display
2021-04-18 17:40:38 +02:00
Jakub Senderák
71c9e33b85
Bridzik.get_previous_stash added
2021-04-18 17:40:38 +02:00
Jakub Senderák
6ebff98db7
guesses display order fix
2021-04-18 17:40:38 +02:00
Jakub Senderák
f4fd27a5c1
added points summary
2021-04-18 17:40:38 +02:00
Jakub Senderák
aa7b3c1a02
requirements
2021-04-18 17:40:38 +02:00
Jakub Senderák
d12f5c093c
ui tweaks, admin form
2021-04-18 17:40:37 +02:00
Jakub Senderák
d657dedf5f
first working prototype
2021-04-18 17:40:37 +02:00
Jakub Senderák
a43a7c4881
added config - form csrf tag
2021-04-18 17:40:37 +02:00
Jakub Senderák
e851da47ce
Flask api init
2021-04-18 17:40:37 +02:00
Jakub Senderák
f7dd5d44ed
added guess interval validation
2021-04-18 17:22:26 +02:00
Jakub Senderák
2fb53d1c3d
removed Card class dependency
2020-04-22 14:12:50 +02:00
Jakub Senderák
357d36b89a
Bridzik.get_standings fix
2020-04-21 13:41:45 +02:00
Jakub Senderák
df52e6ce4b
gitignore add for images
2020-04-21 13:39:50 +02:00
Jakub Senderák
3187c42678
Bridzik.get_status fix
2020-04-20 15:23:04 +02:00
Jakub Senderák
93f98aa3cf
gitignore update
2020-03-30 22:51:38 +02:00
Jakub Senderák
122c4ba675
reorganized module
2020-03-30 22:27:43 +02:00
Jakub Senderák
4067582077
Initial comments removed
2020-03-30 21:21:54 +02:00
Jakub Senderák
a5b4629287
Series.play_card fix
2020-03-30 21:07:49 +02:00
Jakub Senderák
4bba93a03b
Card.JSONEncoder added
2020-03-30 21:07:49 +02:00
Jakub Senderák
1f17eede1a
top class init
2020-03-30 21:07:38 +02:00
Jakub Senderák
c5207f3ad9
Series init
2020-03-28 21:20:37 +01:00
Jakub Senderák
3f3ba86ca3
Round.get_points_summary added
2020-03-28 09:15:58 +01:00
Jakub Senderák
c1a7eb0e54
Round.get_stashes_summary renamed
2020-03-28 09:04:04 +01:00
Jakub Senderák
9da7a6a3f5
Card repr added
2020-03-28 07:26:53 +01:00
Jakub Senderák
07a494a40b
Round.get_winner_summary added
2020-03-28 07:22:52 +01:00
Jakub Senderák
ada5d74fd4
Stash.get_winner fix
2020-03-28 07:19:29 +01:00
Jakub Senderák
9885571222
refactor
2020-03-27 22:34:55 +01:00
Jakub Senderák
93e51762f5
additional tests for Round class
2020-03-27 22:28:04 +01:00
Jakub Senderák
404002c50e
Round - input valdation fix
2020-03-27 22:27:24 +01:00
Jakub Senderák
5098a1aa9a
stash.add_card arguments reordered
2020-03-27 15:17:58 +01:00
Jakub Senderák
38bf52c867
Initial commit
2020-03-26 16:37:01 +01:00