Package de.aikiit.game.kaiser
Class KaiserEnginePrinter
java.lang.Object
de.aikiit.game.kaiser.KaiserEnginePrinter
This class contains static helper methods to print
results or calculation or status information of the currently running game.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDepending on global rules the player's legacy is described/classified depending on the engine's results.After the game ends and the maximum number of years is reached an overall statistics is printed out.getStatus
(int round) Show status information of the underlying game engine for the given round.getYearResult
(int round) Show population result of the current round.
-
Field Details
-
ANSI_RESET
- See Also:
-
ANSI_BLACK
- See Also:
-
ANSI_RED
- See Also:
-
ANSI_GREEN
- See Also:
-
ANSI_YELLOW
- See Also:
-
ANSI_BLUE
- See Also:
-
ANSI_PURPLE
- See Also:
-
ANSI_CYAN
- See Also:
-
ANSI_WHITE
- See Also:
-
ORANGE
- See Also:
-
-
Constructor Details
-
KaiserEnginePrinter
-
-
Method Details
-
getStatus
Show status information of the underlying game engine for the given round.- Parameters:
round
- current round/year of the game.- Returns:
- colour-encoded status.
-
getYearResult
Show population result of the current round.- Parameters:
round
- current round/year of the game.- Returns:
- colour-encoded population statistics.
-
getResults
After the game ends and the maximum number of years is reached an overall statistics is printed out.- Returns:
- colour-encoded overall statistics.
-
evaluateRegency
Depending on global rules the player's legacy is described/classified depending on the engine's results.- Returns:
- colour-encoded legacy/regency output.
-