File size: 4,700 Bytes
9f1f972
969ba3d
9f1f972
969ba3d
9f1f972
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
969ba3d
 
 
9f1f972
 
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
# backend/utils/tarot.py

# ๋ผ์ด๋” ์›จ์ดํŠธ(Rider-Waite) ์˜ค๋ฆฌ์ง€๋„ ๋ฑ ์ด๋ฏธ์ง€ (Wikimedia Commons)
MAJOR_ARCANA = [
    {
        "name": "The Fool", 
        "id": 0, 
        "desc": "์ƒˆ๋กœ์šด ์‹œ์ž‘, ๋ชจํ—˜, ์ˆœ์ˆ˜ํ•จ",
        "image": "https://upload.wikimedia.org/wikipedia/commons/9/90/RWS_Tarot_00_Fool.jpg"
    },
    {
        "name": "The Magician", 
        "id": 1, 
        "desc": "์ฐฝ์กฐ๋ ฅ, ๊ธฐ์ˆ , ์˜์ง€",
        "image": "https://upload.wikimedia.org/wikipedia/commons/d/de/RWS_Tarot_01_Magician.jpg"
    },
    {
        "name": "The High Priestess", 
        "id": 2, 
        "desc": "์ง€ํ˜œ, ์ง๊ด€, ์‹ ๋น„",
        "image": "https://upload.wikimedia.org/wikipedia/commons/8/88/RWS_Tarot_02_High_Priestess.jpg"
    },
    {
        "name": "The Empress", 
        "id": 3, 
        "desc": "ํ’์š”, ๋ชจ์„ฑ, ์ž์—ฐ",
        "image": "https://upload.wikimedia.org/wikipedia/commons/d/d2/RWS_Tarot_03_Empress.jpg"
    },
    {
        "name": "The Emperor", 
        "id": 4, 
        "desc": "๊ถŒ์œ„, ๊ตฌ์กฐ, ์•„๋ฒ„์ง€",
        "image": "https://upload.wikimedia.org/wikipedia/commons/c/c3/RWS_Tarot_04_Emperor.jpg"
    },
    {
        "name": "The Hierophant", 
        "id": 5, 
        "desc": "์ „ํ†ต, ์‹ ๋…, ๊ต์œก",
        "image": "https://upload.wikimedia.org/wikipedia/commons/8/8d/RWS_Tarot_05_Hierophant.jpg"
    },
    {
        "name": "The Lovers", 
        "id": 6, 
        "desc": "์‚ฌ๋ž‘, ์กฐํ™”, ์„ ํƒ",
        "image": "https://upload.wikimedia.org/wikipedia/commons/3/3a/TheLovers.jpg"
    },
    {
        "name": "The Chariot", 
        "id": 7, 
        "desc": "์Šน๋ฆฌ, ์˜์ง€๋ ฅ, ์ „์ง„",
        "image": "https://upload.wikimedia.org/wikipedia/commons/9/9b/RWS_Tarot_07_Chariot.jpg"
    },
    {
        "name": "Strength", 
        "id": 8, 
        "desc": "์ธ๋‚ด, ์šฉ๊ธฐ, ๋‚ด๋ฉด์˜ ํž˜",
        "image": "https://upload.wikimedia.org/wikipedia/commons/f/f5/RWS_Tarot_08_Strength.jpg"
    },
    {
        "name": "The Hermit", 
        "id": 9, 
        "desc": "์„ฑ์ฐฐ, ๊ณ ๋…, ํƒ๊ตฌ",
        "image": "https://upload.wikimedia.org/wikipedia/commons/4/4d/RWS_Tarot_09_Hermit.jpg"
    },
    {
        "name": "Wheel of Fortune", 
        "id": 10, 
        "desc": "์šด๋ช…, ๋ณ€ํ™”, ์ฃผ๊ธฐ",
        "image": "https://upload.wikimedia.org/wikipedia/commons/3/3c/RWS_Tarot_10_Wheel_of_Fortune.jpg"
    },
    {
        "name": "Justice", 
        "id": 11, 
        "desc": "์ •์˜, ์ง„์‹ค, ์ธ๊ณผ์‘๋ณด",
        "image": "https://upload.wikimedia.org/wikipedia/commons/e/e0/RWS_Tarot_11_Justice.jpg"
    },
    {
        "name": "The Hanged Man", 
        "id": 12, 
        "desc": "ํฌ์ƒ, ์ƒˆ๋กœ์šด ๊ด€์ , ์ •์ง€",
        "image": "https://upload.wikimedia.org/wikipedia/commons/2/2b/RWS_Tarot_12_Hanged_Man.jpg"
    },
    {
        "name": "Death", 
        "id": 13, 
        "desc": "๋, ๋ณ€ํ™”, ์žฌํƒ„์ƒ",
        "image": "https://upload.wikimedia.org/wikipedia/commons/d/d7/RWS_Tarot_13_Death.jpg"
    },
    {
        "name": "Temperance", 
        "id": 14, 
        "desc": "์ ˆ์ œ, ๊ท ํ˜•, ์ธ๋‚ด",
        "image": "https://upload.wikimedia.org/wikipedia/commons/f/f8/RWS_Tarot_14_Temperance.jpg"
    },
    {
        "name": "The Devil", 
        "id": 15, 
        "desc": "์ค‘๋…, ์†๋ฐ•, ๋ฌผ์งˆ์ฃผ์˜",
        "image": "https://upload.wikimedia.org/wikipedia/commons/5/55/RWS_Tarot_15_Devil.jpg"
    },
    {
        "name": "The Tower", 
        "id": 16, 
        "desc": "๊ฐ‘์ž‘์Šค๋Ÿฐ ๋ณ€ํ™”, ๋ถ•๊ดด, ๊ณ„์‹œ",
        "image": "https://upload.wikimedia.org/wikipedia/commons/5/53/RWS_Tarot_16_Tower.jpg"
    },
    {
        "name": "The Star", 
        "id": 17, 
        "desc": "ํฌ๋ง, ์˜๊ฐ, ํ‰์˜จ",
        "image": "https://upload.wikimedia.org/wikipedia/commons/d/db/RWS_Tarot_17_Star.jpg"
    },
    {
        "name": "The Moon", 
        "id": 18, 
        "desc": "๋ถˆ์•ˆ, ํ™˜์ƒ, ๋ฌด์˜์‹",
        "image": "https://upload.wikimedia.org/wikipedia/commons/7/7f/RWS_Tarot_18_Moon.jpg"
    },
    {
        "name": "The Sun", 
        "id": 19, 
        "desc": "์„ฑ๊ณต, ํ™œ๋ ฅ, ๊ธฐ์จ",
        "image": "https://upload.wikimedia.org/wikipedia/commons/1/17/RWS_Tarot_19_Sun.jpg"
    },
    {
        "name": "Judgement", 
        "id": 20, 
        "desc": "์‹ฌํŒ, ๋ถ€ํ™œ, ๊ฐ์„ฑ",
        "image": "https://upload.wikimedia.org/wikipedia/commons/d/dd/RWS_Tarot_20_Judgement.jpg"
    },
    {
        "name": "The World", 
        "id": 21, 
        "desc": "์™„์„ฑ, ํ†ตํ•ฉ, ์„ฑ์ทจ",
        "image": "https://upload.wikimedia.org/wikipedia/commons/f/ff/RWS_Tarot_21_World.jpg"
    }
]

def draw_tarot_cards(count=3):
    import random
    return random.sample(MAJOR_ARCANA, count)