mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 21:40:00 -08:00
Auto-shuffles the seats at game start when enabled (now for games with two or more players instead of three or more) and handles the new SET_PLAYER_ORDER command so the game host or a moderator can reorder or randomize the seats before the game starts. Re-seating re-keys the player ids while keeping the per-user game/seat routing and persistent player records in sync, then broadcasts the new order to everyone.
23 lines
345 B
CMake
Executable file
23 lines
345 B
CMake
Executable file
cockatrice_add_test(
|
|
NAME
|
|
reverse_card_move_test
|
|
SOURCES
|
|
reverse_card_move_test.cpp
|
|
LIBS
|
|
libcockatrice_network_server_remote
|
|
libcockatrice_rng
|
|
LABELS
|
|
server
|
|
)
|
|
|
|
cockatrice_add_test(
|
|
NAME
|
|
player_order_test
|
|
SOURCES
|
|
player_order_test.cpp
|
|
LIBS
|
|
libcockatrice_network_server_remote
|
|
libcockatrice_rng
|
|
LABELS
|
|
server
|
|
)
|