GameCoreGetPlayerRankings Method

Determines the rank of each player based on their score, number of completed puzzles and leftover tetrominos. If this method is called before FinalizeGame, it will not take into account the points lost for unfinished puzzles.

Definition

Namespace: ProjectLCore.GameLogic
Assembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
public Dictionary<Player, int> GetPlayerRankings()

Return Value

DictionaryPlayer, Int32
A dictionary containing the rank for each player. Player with rank 1 wins. It is possible for multiple players to have the same rank.

See Also