mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
[minor] toss a coin text extended.
This commit is contained in:
parent
eb7fdcc8fb
commit
d32600dbb1
1 changed files with 1 additions and 1 deletions
|
@ -1255,7 +1255,7 @@ public abstract class PlayerImpl<T extends PlayerImpl<T>> implements Player, Ser
|
||||||
@Override
|
@Override
|
||||||
public boolean flipCoin(Game game) {
|
public boolean flipCoin(Game game) {
|
||||||
boolean result = rnd.nextBoolean();
|
boolean result = rnd.nextBoolean();
|
||||||
game.informPlayers("[Flip a coin] " + getName() + (result ? " won." : " lost."));
|
game.informPlayers("[Flip a coin] " + getName() + (result ? " won (head)." : " lost (tail)."));
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue