GameX extension Null safety

Some extensions on Game to more easiliy get some of the GenericGame fields

on

Properties

currentPlayer Player?
Gets the current Player or null if the game is not turn based
read-only
currentPlayerID String
Gets the current Player ID
read-only
currentPlayerIndex int?
Gets the current player's index
read-only
gameOver bool
Gets whether the game is over
read-only
isMultiPly bool
Gets whether the game has multiple actions before a reward
read-only
isSimultaneousAction bool
Gets whether the game is simultaneous action at this ply
read-only
messages IList<GameMessage>
Gets the list of GameMessages that have been exchanged this game
read-only
playerIDs IList<PlayerID>
Gets the players that are a part of this game
read-only
playerRoundScores IMap<PlayerID, IList<double>>
Gets the list of round scores for each player mapped by their id
read-only
players IList<Player>
Gets an unmodifiable list of players that are a part of this game
read-only
readyPlayers IList<PlayerID>
Gets the players who are ready for the next round
read-only
round int
Gets the current round number
read-only
roundOver bool
Gets whether the round is over
read-only
roundPlayerScores IList<IMap<PlayerID, double>>
Gets the map of player scores grouped by round
read-only
status GameStatus
Gets the status of the game
read-only
time DateTime
Gets the DateTime that this state was updated
read-only
totalScores IMap<PlayerID, double>
Gets the total score for each player mapped by player id
read-only