()
| 2073 | } |
| 2074 | |
| 2075 | public final boolean hasWon() { |
| 2076 | if (cantWin()) { |
| 2077 | return false; |
| 2078 | } |
| 2079 | // in multiplayer game one player's win is replaced by all other's lose (rule 103.4h) |
| 2080 | // so if someone cannot lose, the game appears to continue |
| 2081 | return getOutcome() != null && getOutcome().lossState == null; |
| 2082 | } |
| 2083 | |
| 2084 | public final boolean isInGame() { |
| 2085 | return getOutcome() == null; |
no test coverage detected