getCardStatus

fun getCardStatus(game: LobbyLoadedState, currentGameName: String?): CardStatus

Determines the status of a game based on its state and comparison with the current game.

Return

The CardStatus representing the game's state.

Parameters

game

The game to evaluate.

currentGameName

The name of the currently active game.