Cockatrice/libcockatrice_network/libcockatrice/network/server/remote
Lukas Brübach 1c62588c38 PR 0: introduce GameConfig, strategy pattern, and refactor Server_Game constructor
- Add GameConfig struct consolidating 14 construction parameters
- Add strategy interfaces for deck validation, game lifecycle, and match results
- Add Server_MatchGameFactory abstract factory (forward-looking for tournaments)
- Replace 15-arg Server_Game constructor with (GameConfig, Server_Room*)
- Wire default strategies into Server_Game with lifecycle/match hooks
- Update server_protocolhandler to build GameConfig from protobuf
- Update reverse_card_move_test to use new constructor
- Update CMakeLists.txt with new headers

Took 7 minutes

Took 2 minutes
2026-07-29 09:20:36 +02:00
..
game PR 0: introduce GameConfig, strategy pattern, and refactor Server_Game constructor 2026-07-29 09:20:36 +02:00
CMakeLists.txt PR 0: introduce GameConfig, strategy pattern, and refactor Server_Game constructor 2026-07-29 09:20:36 +02:00
room_message_type.h Turn Card, Deck_List, Protocol, RNG, Network (Client, Server), Settings and Utility into libraries and remove cockatrice_common. (#6212) 2025-10-09 07:36:12 +02:00
server.cpp [Room][UserList] Introduce style delegate (#6981) 2026-06-26 20:52:24 -04:00
server.h [Room][UserList] Introduce style delegate (#6981) 2026-06-26 20:52:24 -04:00
server_abstractuserinterface.cpp style: Add braces to all control flow statements (#6887) 2026-05-16 19:19:53 +02:00
server_abstractuserinterface.h [Cleanup] Unused #includes (#6367) 2025-11-29 18:53:11 +01:00
server_database_interface.cpp Turn Card, Deck_List, Protocol, RNG, Network (Client, Server), Settings and Utility into libraries and remove cockatrice_common. (#6212) 2025-10-09 07:36:12 +02:00
server_database_interface.h [Fix-Warnings] Remove more redundant empty declarations. (extra semicolons) (#6374) 2025-11-29 14:19:11 +01:00
server_player_reference.h fix arch compiling (#6895) 2026-05-16 19:39:34 +02:00
server_protocolhandler.cpp PR 0: introduce GameConfig, strategy pattern, and refactor Server_Game constructor 2026-07-29 09:20:36 +02:00
server_protocolhandler.h [Cleanup] Unused #includes (#6367) 2025-11-29 18:53:11 +01:00
server_remoteuserinterface.cpp Turn Card, Deck_List, Protocol, RNG, Network (Client, Server), Settings and Utility into libraries and remove cockatrice_common. (#6212) 2025-10-09 07:36:12 +02:00
server_remoteuserinterface.h Turn Card, Deck_List, Protocol, RNG, Network (Client, Server), Settings and Utility into libraries and remove cockatrice_common. (#6212) 2025-10-09 07:36:12 +02:00
server_response_containers.cpp style: Add braces to all control flow statements (#6887) 2026-05-16 19:19:53 +02:00
server_response_containers.h Mark more functions as [[nodiscard]] (#6320) 2025-11-16 01:39:24 +01:00
server_room.cpp Split trice_limits.h into dedicated headers (#7025) 2026-06-29 14:37:52 -07:00
server_room.h [Cleanup] Unused #includes (#6367) 2025-11-29 18:53:11 +01:00
serverinfo_user_container.cpp style: Add braces to all control flow statements (#6887) 2026-05-16 19:19:53 +02:00
serverinfo_user_container.h Mark more functions as [[nodiscard]] (#6320) 2025-11-16 01:39:24 +01:00
user_level.h Turn Card, Deck_List, Protocol, RNG, Network (Client, Server), Settings and Utility into libraries and remove cockatrice_common. (#6212) 2025-10-09 07:36:12 +02:00