PETEndGameScoringFunctionsTrait

trait SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Utility\PETEndGameScoringFunctionsTrait
Trait holding function relative to endGameScoring state
Source

modules/php/Traits/Utility/PETEndGameScoringFunctionsTrait.php#8

Used traits

SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Utility\PETSkillFunctionsTrait SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Utility\PETScoreFunctionsTrait

Methods

private SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Utility\PETEndGameScoringFunctionsTrait::ageCardsScore($playerId)
Compute the victory points offered by the player's active cards
Source

modules/php/Traits/Utility/PETEndGameScoringFunctionsTrait.php#20

Parameters
  • $playerId (int)

Returns

int

private SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Utility\PETEndGameScoringFunctionsTrait::skillScore($playerId)
Computes the victory points given by the skills on the player's board
Source

modules/php/Traits/Utility/PETEndGameScoringFunctionsTrait.php#62

Parameters
  • $playerId (int)

Returns

int

private SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Utility\PETEndGameScoringFunctionsTrait::powersScores($players)
Compute the victory points given by each player's rank on the power tracks
Source

modules/php/Traits/Utility/PETEndGameScoringFunctionsTrait.php#80

Returns

array[]