-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathslate-tinfins.py
163 lines (149 loc) · 9.13 KB
/
slate-tinfins.py
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# flake8: noqa
"""
The SLATE table contains the corresponding flags to each card that is relevant
to Tin Fins as an archetype.
The FORMS table lists all forms for a first turn draw 21.
"""
SLATE = {
# Business
'Corpse Dance': ('CD',),
'Entomb': ('En',),
'Griselbrand': ('Gr',),
'Lion\'s Eye Diamond': ('LED',),
# 'Magus of the Mind': ('MM',),
# 'Mastermind\'s Acquisition': ('MA',),
# 'Past in Flames': ('PiF',),
'Shallow Grave': ('SG',),
# 'Unburial Rites': ('UR',),
# Cantrips
'Brainstorm': ('C', 'BS',),
'Gitaxian Probe': ('GP',),
'Ponder': ('C',),
# Discard
'Cabal Therapy': ('D',),
'Collective Brutality': ('CoBr',),
'Thoughtseize': ('D',),
# Mana
'Badlands': ('L', 'B', 'R',),
'Bloodstained Mire': ('L', 'W', 'U', 'B', 'R', 'G',),
'Cabal Ritual': ('CR',),
'Dark Ritual': ('DR',),
'Island': ('L', 'U',),
'Lotus Petal': ('LP',),
'Marsh Flats': ('L', 'W', 'U', 'B', 'R', 'G',),
'Plains': ('L', 'W',),
'Polluted Delta': ('L', 'W', 'U', 'B', 'R', 'G',),
'Scalding Tarn': ('L', 'W', 'U', 'B', 'R', 'G',),
'Swamp': ('L', 'B',),
'Tropical Island': ('L', 'U', 'G',),
'Tundra': ('L', 'W', 'U',),
'Underground Sea': ('L', 'U', 'B',),
'Verdant Catacombs': ('L', 'W', 'U', 'B', 'R', 'G',),
'Volcanic Island': ('L', 'U', 'R',),
}
FORMS = {
'Entomb in Hand': [
# With 0 CR and 0 DR
{'base': ((0, '=CR'), (0, '=DR'), (1, 'En'),)},
((1, 'B'), (2, '=LP'), (1, 'SG'), ), # 5
((0, '=B'), (3, '=LP'), (1, 'SG'), ), # 5
((1, 'B'), (3, '=LP'), (1, 'CD'), (0, '=SG'), ), # 6
((0, '=B'), (4, 'LP'), (1, 'CD'), (0, '=SG'), ), # 6
# With 0 CR and 1 DR
{'base': ((0, '=CR'), (1, '=DR'), (1, 'En'),)},
((1, 'B|LP'), (1, 'SG'), ), # 4
((1, 'B'), (1, '=LP'), (1, 'CD'), (0, '=SG'), ), # 5
( (2, 'LP'), (1, 'CD'), (0, '=SG'), ), # 5
# With 0 CR and 2 DR
{'base': ((0, '=CR'), (2, 'DR'), (1, 'En'),)},
((1, 'B|LP'), (1, 'CD|SG'), ), # 5
# With 1 CR and 0 DR
{'base': ((1, '=CR'), (0, '=DR'), (1, 'En'),)},
((1, 'B'), (1, '=LP'), (1, 'SG'), ), # 5
( (2, 'LP'), (1, 'SG'), ), # 5
((1, 'B'), (2, '=LP'), (1, 'CD'), (0, '=SG'), ), # 6
( (3, 'LP'), (1, 'CD'), (0, '=SG'), ), # 6
# With 2 CR and 0 DR
{'base': ((2, '=CR'), (0, '=DR'), (1, 'En'),)},
((1, 'B'), (1, '=LP'), (1, 'CD|SG'), ), # 6
( (2, 'LP'), (1, 'CD|SG'), ), # 6
# With 1 CR and 1 DR
{'base': ((1, 'CR'), (1, 'DR'), (1, 'En'),)},
((1, 'B|LP'), (1, 'CD|SG'), ), # 5
],
'Griselbrand in Hand': [
# With 0 CR and 0 DR
{'base': ((0, '=CR'), (0, '=DR'), (0, '=En'), (1, 'Gr'), (0, '=LED'),)},
((1, 'B'), (3, '=LP'), (1, 'CoBr'), (1, 'SG'), ), # 7
( (4, 'LP'), (1, 'CoBr'), (1, 'SG'), ), # 7
((1, 'B'), (2, '=LP'), (1, 'D'), (1, 'SG'), ), # 6
( (3, 'LP'), (1, 'D'), (1, 'SG'), ), # 6
((1, 'B'), (3, '=LP'), (1, 'D'), (1, 'CD'), (0, '=SG'), ), # 7
( (4, 'LP'), (1, 'D'), (1, 'CD'), (0, '=SG'), ), # 7
# With 0 CR and 1 DR
{'base': ((0, '=CR'), (0, '=D'), (1, '=DR'), (0, '=En'), (1, 'Gr'), (0, '=LED'),)},
((1, 'B'), (1, '=LP'), (1, 'CoBr'), (1, 'SG'), ), # 6
( (2, 'LP'), (1, 'CoBr'), (1, 'SG'), ), # 6
((1, 'B'), (2, '=LP'), (1, 'CoBr'), (1, 'CD'), (0, '=SG'), ), # 7
( (3, 'LP'), (1, 'CoBr'), (1, 'CD'), (0, '=SG'), ), # 7
{'base': ((0, '=CR'), (1, '=DR'), (0, '=En'), (1, 'Gr'), (0, '=LED'),)},
((1, 'B|LP'), (1, 'D'), (1, 'SG'), ), # 5
((1, 'B'), (1, '=LP'), (1, 'D'), (1, 'CD'), (0, '=SG'), ), # 6
( (2, 'LP'), (1, 'D'), (1, 'CD'), (0, '=SG'), ), # 6
# With 0 CR and 2 DR
{'base': ((0, '=CR'), (2, 'DR'), (0, '=En'), (1, 'Gr'), (0, '=LED'),)},
((1, 'B|LP'), (1, 'CoBr|D'), (1, 'CD|SG'), ), # 6
# With 1 CR and 0 DR
{'base': ((1, '=CR'), (0, '=DR'), (0, '=En'), (1, 'Gr'), (0, '=LED'),)},
((1, 'B'), (2, '=LP'), (1, 'CoBr'), (1, 'SG'), ), # 7
( (3, 'LP'), (1, 'CoBr'), (1, 'SG'), ), # 7
((1, 'B'), (1, '=LP'), (1, 'D'), (1, 'SG'), ), # 6
( (2, 'LP'), (1, 'D'), (1, 'SG'), ), # 6
((1, 'B'), (2, '=LP'), (1, 'D'), (1, 'CD'), (0, '=SG'), ), # 7
( (3, 'LP'), (1, 'D'), (1, 'CD'), (0, '=SG'), ), # 7
# With 2 CR and 0 DR
{'base': ((2, '=CR'), (0, '=DR'), (0, '=En'), (1, 'Gr'), (0, '=LED'),)},
((1, 'B'), (1, '=LP'), (1, 'CoBr'), (1, 'SG'), ), # 7
( (2, 'LP'), (1, 'CoBr'), (1, 'SG'), ), # 7
((1, 'B'), (1, '=LP'), (1, 'D'), (1, 'CD|SG'), ), # 7
( (2, 'LP'), (1, 'D'), (1, 'CD|SG'), ), # 7
# With 1 CR and 1 DR
{'base': ((1, '=CR'), (0, '=D'), (1, '=DR'), (0, '=En'), (1, 'Gr'), (0, '=LED'),)},
((1, 'B|LP'), (1, 'CoBr'), (1, 'SG'), ), # 6
((1, 'B'), (1, '=LP'), (1, 'CoBr'), (1, 'CD'), (0, '=SG'), ), # 7
( (2, 'LP'), (1, 'CoBr'), (1, 'CD'), (0, '=SG'), ), # 7
{'base': ((1, '=CR'), (1, '=DR'), (0, '=En'), (1, 'Gr'), (0, '=LED'),)},
((1, 'B|LP'), (1, 'D'), (1, 'CD|SG'), ), # 6
# With 2 CR and 1 DR
{'base': ((2, 'CR'), (1, 'DR'), (0, '=En'), (1, 'Gr'), (0, '=LED'),)},
((1, 'B|LP'), (1, 'CoBr|D'), (1, 'CD|SG'), ), # 7
],
'Griselbrand and LED in Hand': [
# With 0 CR and 0 DR
{'base': ((0, '=CR'), (0, '=DR'), (1, 'Gr'), (1, 'LED'),)},
((1, 'B'), (1, '=LP'), (1, 'SG'), ), # 5
( (2, 'LP'), (1, 'SG'), ), # 5
((1, 'B'), (2, '=LP'), (1, 'CD'), (0, '=SG'), ), # 6
( (3, 'LP'), (1, 'CD'), (0, '=SG'), ), # 6
# With 0 CR and 1 DR
{'base': ((0, '=CR'), (1, 'DR'), (1, 'Gr'), (1, 'LED'),)},
((1, 'B|LP'), (1, 'CD|SG'), ), # 5
# With 1 CR and 0 DR
{'base': ((1, 'CR'), (0, '=DR'), (1, 'Gr'), (1, 'LED'),)},
((1, 'B'), (1, '=LP'), (1, 'CD|SG'), ), # 6
( (2, 'LP'), (1, 'CD|SG'), ), # 6
# With 1 CR and 1 DR
{'base': ((1, 'CR'), (1, 'DR'), (1, 'Gr'), (1, 'LED'),)},
((1, 'B|LP'), (1, 'CD|SG'), ), # 6
],
'Brainstorm and LED in Hand': [
# With 0 CR and 0 DR
{'base': ((1, 'BS'), (0, '=CR'), (0, '=DR'), (1, 'LED'),)},
((1, 'U|LP'), (2, 'GP'), (1, 'En'), (1, 'SG'), ), # 7
((1, 'U|LP'), (1, 'GP'), (1, 'Gr'), (1, 'CD|SG'), ), # 6
((1, 'U'), (1, 'LP'), (1, 'C|GP'), (1, 'Gr'), (1, 'CD|SG'), ), # 7
( (2, 'LP'), (1, 'C|GP'), (1, 'Gr'), (1, 'CD|SG'), ), # 7
],
}