summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js34
1 files changed, 0 insertions, 34 deletions
diff --git a/rules.js b/rules.js
index 25a35e0..eb91a10 100644
--- a/rules.js
+++ b/rules.js
@@ -45,28 +45,6 @@ const TILE_RED = 36
const TILE_GREEN = 48
const TILE_UNKNOWN = 60
-const COUNT_NAME = [
- "no",
- "one",
- "two",
- "three",
- "four",
- "five",
- "six",
- "seven",
- "eight",
- "nine",
- "ten",
- "eleven",
- "twelve",
-]
-
-function count_name(n) {
- if (n > 12)
- return String(n)
- return COUNT_NAME[n]
-}
-
function space_name(s) {
switch (s) {
case S_DRAGON_1: return "Dragon"
@@ -80,12 +58,6 @@ function space_name(s) {
}
}
-const XTILE_NAME_UC = [ "Gold", "Blue", "White", "Red", "Green" ]
-const XTILE_NAME_LC = [ "gold", "blue", "white", "red", "green" ]
-
-const TILE_NAME_UC = [ "Cloth", "Beasts", "Piety", "Tournaments", "Jewels" ]
-const TILE_NAME_LC = [ "cloth", "beasts", "piety", "tournaments", "jewels" ]
-
const TILE_NAME_CODE = [ "G", "B", "W", "R", "J", "K" ]
const TILE_NAME_CODE_X = [ [], [], [], [], [], [] ]
@@ -295,12 +267,6 @@ exports.setup = function (seed, scenario, options) {
// === HANDS AND COURTS ===
-function rival_name() {
- if (game.active === RED)
- return BLUE
- return RED
-}
-
function rival_court() {
if (game.active === RED)
return game.blue_court