main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
const arcana = {
  glyph: {
    minor: {
      // spades - pip
      'AS': '\u{1F0A1}',
      '2S': '\u{1F0A2}',
      '3S': '\u{1F0A3}',
      '4S': '\u{1F0A4}',
      '5S': '\u{1F0A5}',
      '6S': '\u{1F0A6}',
      '7S': '\u{1F0A7}',
      '8S': '\u{1F0A8}',
      '9S': '\u{1F0A9}',
      'XS': '\u{1F0AA}',
      // spades - court
      'JS': '\u{1F0AB}',
      'CS': '\u{1F0AC}',
      'QS': '\u{1F0AD}',
      'KS': '\u{1F0AE}',
      // hearts - pip
      'AH': '\u{1F0B1}',
      '2H': '\u{1F0B2}',
      '3H': '\u{1F0B3}',
      '4H': '\u{1F0B4}',
      '5H': '\u{1F0B5}',
      '6H': '\u{1F0B6}',
      '7H': '\u{1F0B7}',
      '8H': '\u{1F0B8}',
      '9H': '\u{1F0B9}',
      'XH': '\u{1F0BA}',
      // hearts - court
      'JH': '\u{1F0BB}',
      'CH': '\u{1F0BC}',
      'QH': '\u{1F0BD}',
      'KH': '\u{1F0BE}',
      // diamonds - pip
      'AD': '\u{1F0C1}',
      '2D': '\u{1F0C2}',
      '3D': '\u{1F0C3}',
      '4D': '\u{1F0C4}',
      '5D': '\u{1F0C5}',
      '6D': '\u{1F0C6}',
      '7D': '\u{1F0C7}',
      '8D': '\u{1F0C8}',
      '9D': '\u{1F0C9}',
      'XD': '\u{1F0CA}',
      // diamonds - court
      'JD': '\u{1F0CB}',
      'CD': '\u{1F0CC}',
      'QD': '\u{1F0CD}',
      'KD': '\u{1F0CE}',
      // clubs - pip
      'AC': '\u{1F0D1}',
      '2C': '\u{1F0D3}',
      '3C': '\u{1F0D3}',
      '4C': '\u{1F0D4}',
      '5C': '\u{1F0D5}',
      '6C': '\u{1F0D6}',
      '7C': '\u{1F0D7}',
      '8C': '\u{1F0D8}',
      '9C': '\u{1F0D9}',
      'XC': '\u{1F0DA}',
      // clubs - court
      'JC': '\u{1F0DB}',
      'CC': '\u{1F0DC}',
      'QC': '\u{1F0DD}',
      'KC': '\u{1F0DE}'
    },
    major: {
      '01': '\u{1F0E1}',
      '00': '\u{1F0E0}',
      '02': '\u{1F0E2}',
      '03': '\u{1F0E3}',
      '04': '\u{1F0E4}',
      '05': '\u{1F0E5}',
      '06': '\u{1F0E6}',
      '07': '\u{1F0E7}',
      '08': '\u{1F0E8}',
      '09': '\u{1F0E9}',
      '10': '\u{1F0EA}',
      '11': '\u{1F0EB}',
      '12': '\u{1F0EC}',
      '13': '\u{1F0ED}',
      '14': '\u{1F0EE}',
      '15': '\u{1F0EF}',
      '16': '\u{1F0F0}',
      '17': '\u{1F0F1}',
      '18': '\u{1F0F2}',
      '19': '\u{1F0F3}',
      '20': '\u{1F0F4}',
      '21': '\u{1F0F5}'
    },
    misc: {
      'WJ': '\u{1F0BF}',
      'BJ': '\u{1F0CF}',
      'RJ': '\u{1F0DF}'
    }
  },
  data: {
    minor: {
      rank: {
        'A': [ 'Ace', 'as' ],
        '2': [ 'Two', 'deux' ],
        '3': [ 'Three', 'trois' ],
        '4': [ 'Four', 'quatre' ],
        '5': [ 'Five', 'cinq' ],
        '6': [ 'Six', 'six' ],
        '7': [ 'Seven', 'sept' ],
        '8': [ 'Eight', 'huit' ],
        '9': [ 'Nine', 'neuf' ],
        'X': [ 'Ten', 'dix' ],
        'J': [ 'Jack', 'valet' ], // or 'Page'
        'C': [ 'Knight', 'chevalier' ],
        'Q': [ 'Queen', 'dame' ],
        'K': [ 'King', 'roi' ]
      },
      suit: {
        'S': [ '♠', [ 'Spades', 'Swords' ], [ 'pique', 'épée' ] ],
        'H': [ '♥', [ 'Hearts', 'Cups' ], [ 'cœur', 'coupe' ] ],
        'D': [ '♦', [ 'Diamonds', 'Pentacles' ], [ 'carreau', 'denier' ] ], // or 'Coins'
        'C': [ '♣', [ 'Clubs', 'Wands' ], [ 'trèfle', 'bâton' ] ]
      },
      court: {
        /*
          * “Who are the court figures?”
          * https://i-p-c-s.org/faq/history_12.php
          *
          * “Paris and Rouen patterns”
          * https://i-p-c-s.org/faq/history_13.php
        */
        paris: {
          // spades
          'JS': 'Ogier',
          'QS': 'Pallas',
          'KS': 'David',
          // hearts
          'JH': 'La Hire',
          'QH': 'Judith',
          'KH': 'Charles', // or 'Charlemagne'
          // diamonds
          'JD': 'Hector',
          'QD': 'Rachel',
          'KD': 'Caesar',
          // clubs
          'JC': 'Judah Maccabee', // or 'Lancelot'
          'QC': 'Argine',
          'KC': 'Alexander'
        },
        rouen: {
          // spades
          'JS': 'Hector',
          'QS': 'Pallas',
          'KS': 'David',
          // hearts
          'JH': 'La Hire',
          'QH': 'Rachel',
          'KH': 'Charles', // or 'Charlemagne'
          // diamonds
          'JD': 'Hector',
          'QD': 'Argine',
          'KD': 'Caesar',
          // clubs
          'JC': 'Judah Maccabee', // or 'Lancelot'
          'QC': 'Judith',
          'KC': 'Charles' // or 'Charlemagne'
        }
      }
    },
    major: {
      rank: {
        '00': [ '0', 'The Fool' ],
        '01': [ 'I', ['Individual', 'The Magician'] ],
        '02': [ 'II', ['Childhood', 'The High Priestess'] ],
        '03': [ 'III', ['Youth', 'The Empress'] ],
        '04': [ 'IV', ['Maturity', 'The Emperor'] ],
        '05': [ 'V', ['Old Age', 'The Hierophant'] ],
        '06': [ 'VI', ['Morning', 'The Lovers'] ],
        '07': [ 'VII', ['Afternoon', 'The Chariot'] ],
        '08': [ 'VIII', ['Evening', 'Strength'] ],
        '09': [ 'IX', ['Night', 'The Hermit'] ],
        '10': [ 'X', ['Earth & Air', 'Wheel of Fortune'] ],
        '11': [ 'XI', ['Water & Fire', 'Justice'] ],
        '12': [ 'XII', ['Dance', 'The Hanged Man'] ],
        '13': [ 'XIII', ['Shopping', 'Death'] ],
        '14': [ 'XIV', ['Open Air', 'Temperance'] ],
        '15': [ 'XV', ['Visual Arts', 'The Devil'] ],
        '16': [ 'XVI', ['Spring', 'The Tower'] ],
        '17': [ 'XVII', ['Summer', 'The Star'] ],
        '18': [ 'XVIII', ['Autumn', 'The Moon'] ],
        '19': [ 'XIX', ['Winter', 'The Sun'] ],
        '20': [ 'XX', ['The Game', 'Judgement'] ],
        '21': [ 'XXI', ['Collective', 'The World'] ]
      }
    },
    misc: {}
  }
}
Babel Compiler v6.4.4 Copyright (c) 2014-2015 Sebastian McKenzie