-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
135 lines (135 loc) · 4.1 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Commander Deck Curve Analyzer</title>
<style>
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: space-between;
padding: 20px;
}
#app {
flex: 1;
}
#results {
display: flex;
flex-wrap: wrap;
margin-top: 20px;
}
.card {
margin: 10px;
text-align: center;
}
.analysis, .grade, .ideal {
margin-top: 20px;
}
.curve-table {
margin-left: 20px;
border-collapse: collapse;
width: 300px;
}
.curve-table th, .curve-table td {
border: 1px solid #ddd;
padding: 8px;
}
.curve-table th {
background-color: #f2f2f2;
text-align: center;
}
.curve-table td {
text-align: center;
}
</style>
</head>
<body>
<div id="app">
<h1>Commander Deck Curve Analyzer</h1>
<form id="deck-form">
<textarea id="deck-list" placeholder="Paste your deck list here" rows="10" cols="50"></textarea>
<input type="number" id="commander-cmc" placeholder="Commander CMC" required>
<button type="submit">Analyze</button>
<div id="results">
<!-- Results will be displayed here -->
</div>
</div>
<div id="curve-table-container">
<h3>Ideal Curves According to <a href="https://www.channelfireball.com/article/whats-an-optimal-mana-curve-and-land-ramp-count-for-commander/e22caad1-b04b-4f8a-951b-a41e9f08da14/?utm_medium=stratredirect&utm_source=lgstrat">Frank</a></h3>
<table class="curve-table">
<thead>
<tr>
<th>Commander</th>
<th>1-drops</th>
<th>2-drops</th>
<th>3-drops</th>
<th>4-drops</th>
<th>5-drops</th>
<th>6-drops</th>
<th>Mana rocks</th>
<th>Lands</th>
</tr>
</thead>
<tbody>
<tr>
<td>2 mana</td>
<td>9</td>
<td>0</td>
<td>20</td>
<td>14</td>
<td>9</td>
<td>4</td>
<td>Sol Ring + 0 Signet</td>
<td>42</td>
</tr>
<tr>
<td>3 mana</td>
<td>8</td>
<td>19</td>
<td>0</td>
<td>16</td>
<td>10</td>
<td>3</td>
<td>Sol Ring + 0 Signet</td>
<td>42</td>
</tr>
<tr>
<td>4 mana</td>
<td>6</td>
<td>12</td>
<td>13</td>
<td>0</td>
<td>13</td>
<td>8</td>
<td>Sol Ring + 7 Signet</td>
<td>39</td>
</tr>
<tr>
<td>5 mana</td>
<td>6</td>
<td>12</td>
<td>10</td>
<td>13</td>
<td>0</td>
<td>10</td>
<td>Sol Ring + 8 Signet</td>
<td>39</td>
</tr>
<tr>
<td>6 mana</td>
<td>6</td>
<td>12</td>
<td>10</td>
<td>14</td>
<td>9</td>
<td>0</td>
<td>Sol Ring + 9 Signet</td>
<td>38</td>
</tr>
</tbody>
</table>
</div>
<script src="script.js"></script>
</body>
</html>