- Added Goblin Game and Menacing Ogre

This commit is contained in:
swordshine
2014-05-24 16:54:05 +00:00
parent a4ee8d7b0a
commit eef787261a
6 changed files with 119 additions and 13 deletions

View File

@@ -789,6 +789,9 @@ public class PlayerControllerHuman extends PlayerController {
}
switch(sa.getApi()) {
case ChooseNumber:
if (sa.hasParam("SecretlyChoose")) {
return value;
}
final boolean random = sa.hasParam("Random");
return String.format(random ? "Randomly chosen number for %s is %s" : "%s choses number: %s", mayBeYou(target), value);
case FlipACoin: