From: Benjamin Auder Date: Thu, 25 Jan 2018 10:17:50 +0000 (+0100) Subject: Better messages in case of draw X-Git-Url: https://git.auder.net/js/pieces/scripts/current/doc/index.css?a=commitdiff_plain;h=d90f571b8e5008492be6784c359f6e66c52c2f35;p=rpsls-bot.git Better messages in case of draw --- diff --git a/js/rpsls.js b/js/rpsls.js index d7cae75..b22e5af 100644 --- a/js/rpsls.js +++ b/js/rpsls.js @@ -4,11 +4,11 @@ const symbols = [ "Rock", "Lizard", "Spock", "Scissors", "Paper" ]; // Same order as in symbols const messages = [ - [ "=", "crushes", "is vaporized by", "cruches", "is covered by" ], - [ "is crushed by", "=", "poisons", "is decapitated by", "eats" ], - [ "vaporizes", "is poisoned by", "=", "smashes", "is disproved by" ], - [ "is crushed by", "decapitates", "is smashed by", "=", "cuts" ], - [ "covers", "is eaten by", "disproves", "is cut by", "=" ], + [ "can't win vs.", "crushes", "is vaporized by", "cruches", "is covered by" ], + [ "is crushed by", "can't win vs.", "poisons", "is decapitated by", "eats" ], + [ "vaporizes", "is poisoned by", "can't win vs.", "smashes", "is disproved by" ], + [ "is crushed by", "decapitates", "is smashed by", "can't win vs.", "cuts" ], + [ "covers", "is eaten by", "disproves", "is cut by", "can't win vs." ], ]; // Rewards matrix, order as in symbols