LobbyCarousel

@Composable
fun ColumnScope.LobbyCarousel(currentGameName: String?, games: List<LobbyLoadedState>, viewModel: LobbyViewModel, reversiScope: ReversiScope, buttonRefresh: @Composable () -> Unit = {}, onGameClick: (LobbyLoadedState) -> Unit)

Carousel component for browsing saved multiplayer games. Supports search filtering, pagination, and game status indication.

Parameters

currentGameName

Name of the currently active game for highlighting.

games

List of all available games to display.

viewModel

The lobby view model managing game state.

reversiScope

The ReversiScope receiver for theming and utilities.

buttonRefresh

Optional composable for rendering a refresh button.

onGameClick

Callback invoked when a game card is selected.