-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.html
286 lines (281 loc) · 12.9 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
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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
<!DOCTYPE html>
<html>
<head>
<meta name="google-site-verification" content="a8dvn1ZTpajlvdQVzKpLgsKNsQ-krXOM4Eec6uvFRUU" />
<meta charset="utf-8">
<link rel="icon" type="image/png" href="http://counfties.com/blob/favicon.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<meta name=robots content="index,follow">
<meta name="description" content="A place where you can own your country and climb the leaderboard.">
<meta name="keywords" content="Own country king dominate leaderboard game">
<meta name="author" content="Rutger Klamer">
<link rel="canonical" href="http://counfties.com">
<meta name="revised" content="23-3-2021">
<meta name='Classification' content='Game'>
<meta name='url' content='http://counfties.com'>
<meta http-equiv='Expires' content='0'>
<meta http-equiv='Pragma' content='no-cache'>
<meta http-equiv='Cache-Control' content='no-cache'>
<meta http-equiv='imagetoolbar' content='no'>
<meta http-equiv='x-dns-prefetch-control' content='off'>
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="http://counfties.com/blob/website.png" />
<meta name="twitter:site" content="@CrypTinTin" />
<meta name="twitter:creator" content="@CrypTinTin" />
<meta name="twitter:description" content="A place where you can own your country and climb the leaderboard.">
<meta property="og:title" content="Counfties" />
<meta property="og:image" content="http://counfties.com/blob/website.png" />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://counfties.com" />
<meta property="og:description" content="A place where you can own your country and climb the leaderboard.">
<meta property="og:site_name" content="Counfties" />
<link rel="stylesheet" href="./css/style.css">
<title>Counfties</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<span id="empty"> </span>
<a href="http://counfties.com"><h1 >Cou<b>nft</b>ies</h1></a>
<small><b>NOTE:</b> Standard network is BSC mainnet.<br> Connect your wallet to change network.</small>
<div id="leaderboard">
<div class="loader center"><span></span></div>
<span>Leaderboard:</span><br>
<small><small><small>(Prices in $BNB)</small></small></small><br>
<a id="firstPlace" href="#"> </a> <br>
<a id="secondPlace" href="#"> </a> <br>
<a id="thirdPlace" href="#"> </a> <br>
<a id="fourthPlace" href="#"> </a> <br>
</div> <br>
<input type="button" class="glow" id="connectBtn" onclick="onConnect()" value="Connect wallet"></button> <br> <br>
<select>
<option value="AFG">Afghanistan</option>
<option value="ALB">Albania</option>
<option value="DZA">Algeria</option>
<option value="ATA">Antarctica</option>
<option value="ARG">Argentina</option>
<option value="ARM">Armenia</option>
<option value="AUS">Australia</option>
<option value="AUT">Austria</option>
<option value="AZE">Azerbaijan</option>
<option value="BHS">Bahamas</option>
<option value="BGD">Bangladesh</option>
<option value="BLR">Belarus</option>
<option value="BEL">Belgium</option>
<option value="BLZ">Belize</option>
<option value="BEN">Benin</option>
<option value="BTN">Bhutan</option>
<option value="BOL">Bolivia, Plurinational State of</option>
<option value="BIH">Bosnia and Herzegovina</option>
<option value="BWA">Botswana</option>
<option value="BRA">Brazil</option>
<option value="BRN">Brunei Darussalam</option>
<option value="BGR">Bulgaria</option>
<option value="BFA">Burkina Faso</option>
<option value="BDI">Burundi</option>
<option value="KHM">Cambodia</option>
<option value="CMR">Cameroon</option>
<option value="CAN">Canada</option>
<option value="CAF">Central African Republic</option>
<option value="TCD">Chad</option>
<option value="CHL">Chile</option>
<option value="CHN">China</option>
<option value="COL">Colombia</option>
<option value="COG">Congo</option>
<option value="COD">Congo, the Democratic Republic of the</option>
<option value="CRI">Costa Rica</option>
<option value="CIV">Côte d'Ivoire</option>
<option value="HRV">Croatia</option>
<option value="CUB">Cuba</option>
<option value="CUW">Curaçao</option>
<option value="CYP">Cyprus</option>
<option value="CZE">Czech Republic</option>
<option value="DNK">Denmark</option>
<option value="DJI">Djibouti</option>
<option value="DOM">Dominican Republic</option>
<option value="ECU">Ecuador</option>
<option value="EGY">Egypt</option>
<option value="SLV">El Salvador</option>
<option value="GNQ">Equatorial Guinea</option>
<option value="ERI">Eritrea</option>
<option value="EST">Estonia</option>
<option value="ETH">Ethiopia</option>
<option value="FLK">Falkland Islands (Malvinas)</option>
<option value="FJI">Fiji</option>
<option value="FIN">Finland</option>
<option value="FRA">France</option>
<option value="ATF">French Southern Territories</option>
<option value="GAB">Gabon</option>
<option value="GMB">Gambia</option>
<option value="GEO">Georgia</option>
<option value="DEU">Germany</option>
<option value="GHA">Ghana</option>
<option value="GRC">Greece</option>
<option value="GRL">Greenland</option>
<option value="GRD">Grenada</option>
<option value="GLP">Guadeloupe</option>
<option value="GUM">Guam</option>
<option value="GTM">Guatemala</option>
<option value="GIN">Guinea</option>
<option value="GNB">Guinea-Bissau</option>
<option value="GUY">Guyana</option>
<option value="HTI">Haiti</option>
<option value="HND">Honduras</option>
<option value="HUN">Hungary</option>
<option value="HON">Hong Kong</option>
<option value="ISL">Iceland</option>
<option value="IND">India</option>
<option value="IDN">Indonesia</option>
<option value="IRN">Iran, Islamic Republic of</option>
<option value="IRQ">Iraq</option>
<option value="IRL">Ireland</option>
<option value="ISR">Israel</option>
<option value="ITA">Italy</option>
<option value="JAM">Jamaica</option>
<option value="JPN">Japan</option>
<option value="JOR">Jordan</option>
<option value="KAZ">Kazakhstan</option>
<option value="KEN">Kenya</option>
<option value="PRK">Korea, Democratic People's Republic of</option>
<option value="KOR">Korea, Republic of</option>
<option value="KWT">Kuwait</option>
<option value="KGZ">Kyrgyzstan</option>
<option value="LAO">Lao People's Democratic Republic</option>
<option value="LVA">Latvia</option>
<option value="LBN">Lebanon</option>
<option value="LSO">Lesotho</option>
<option value="LBR">Liberia</option>
<option value="LBY">Libya</option>
<option value="LTU">Lithuania</option>
<option value="LUX">Luxembourg</option>
<option value="MAC">Macao</option>
<option value="MKD">Macedonia, the former Yugoslav Republic of</option>
<option value="MDG">Madagascar</option>
<option value="MWI">Malawi</option>
<option value="MYS">Malaysia</option>
<option value="MLI">Mali</option>
<option value="MLT">Malta</option>
<option value="MRT">Mauritania</option>
<option value="MEX">Mexico</option>
<option value="MDA">Moldova, Republic of</option>
<option value="MNG">Mongolia</option>
<option value="MNE">Montenegro</option>
<option value="MAR">Morocco</option>
<option value="MOZ">Mozambique</option>
<option value="MMR">Myanmar</option>
<option value="NAM">Namibia</option>
<option value="NPL">Nepal</option>
<option value="NLD">Netherlands</option>
<option value="NCL">New Caledonia</option>
<option value="NZL">New Zealand</option>
<option value="NIC">Nicaragua</option>
<option value="NER">Niger</option>
<option value="NGA">Nigeria</option>
<option value="NOR">Norway</option>
<option value="OMN">Oman</option>
<option value="PAK">Pakistan</option>
<option value="PSE">Palestinian Territory, Occupied</option>
<option value="PAN">Panama</option>
<option value="PNG">Papua New Guinea</option>
<option value="PRY">Paraguay</option>
<option value="PER">Peru</option>
<option value="PHL">Philippines</option>
<option value="POL">Poland</option>
<option value="PRT">Portugal</option>
<option value="PRI">Puerto Rico</option>
<option value="QAT">Qatar</option>
<option value="ROU">Romania</option>
<option value="RUS">Russian Federation</option>
<option value="RWA">Rwanda</option>
<option value="SAU">Saudi Arabia</option>
<option value="SEN">Senegal</option>
<option value="SRB">Serbia</option>
<option value="SLE">Sierra Leone</option>
<option value="SGP">Singapore</option>
<option value="SVK">Slovakia</option>
<option value="SVN">Slovenia</option>
<option value="SLB">Solomon Islands</option>
<option value="SOM">Somalia</option>
<option value="ZAF">South Africa</option>
<option value="ESP">Spain</option>
<option value="LKA">Sri Lanka</option>
<option value="SDN">Sudan</option>
<option value="SUR">Suriname</option>
<option value="SWZ">Swaziland</option>
<option value="SWE">Sweden</option>
<option value="CHE">Switzerland</option>
<option value="SYR">Syrian Arab Republic</option>
<option value="TWN">Taiwan</option>
<option value="TJK">Tajikistan</option>
<option value="TZA">Tanzania, United Republic of</option>
<option value="THA">Thailand</option>
<option value="TLS">Timor-Leste</option>
<option value="TGO">Togo</option>
<option value="TTO">Trinidad and Tobago</option>
<option value="TUN">Tunisia</option>
<option value="TUR">Turkey</option>
<option value="TKM">Turkmenistan</option>
<option value="UGA">Uganda</option>
<option value="UKR">Ukraine</option>
<option value="ARE">United Arab Emirates</option>
<option value="GBR">United Kingdom</option>
<option value="USA">United States</option>
<option value="URY">Uruguay</option>
<option value="UZB">Uzbekistan</option>
<option value="VUT">Vanuatu</option>
<option value="VEN">Venezuela, Bolivarian Republic of</option>
<option value="VNM">Vietnam</option>
<option value="YEM">Yemen</option>
<option value="ZMB">Zambia</option>
<option value="ZWE">Zimbabwe</option>
</select>
<div id="preInfo">
<a href="https://t.me/counfties" class="fa fa-telegram"></a>
<a href="https://twitter.com/counfties" class="fa fa-twitter"></a>
<a href="https://github.com/rutgerklamer/counfties" class="fa fa-github"></a>
<div id="infoText">
<a href="http://counfties.com"><h1 >Cou<b>nft</b>ies</h1></a><br>
- <b>What?</b> <br>
This is a Decentralized Application (Dapp). You can own countries and display your message on them. The leaderboard shows the wealthiest countries. <br> <br>
- <b>What's in it for me?</b> <br>
Once you own a country you're now it's king. You message will be displayed on that countries page. Each time a country is bought, it's price increases by 20%.
If someone buys your country, you get your BNB back + an extra 10%. <br> <br>
- <b>So now what?</b> <br>
Continue to the site. Explore it on the BSC main net or the BSC test net. <br> <br>
- <b>Goal?</b> <br>
Have an blockchain powered world war between wealthiest countries. <br> <br>
<small><b> Disclaimer: </b> for the best experience, use a desktop!</small>
</div>
<input type="button" id="enterSite" onclick="enterSite()" value="Enter site"></input>
</div>
<div id="test"> </div>
<div id="globe"> </div>
<input type="button" class="zoom" onclick="zoomInOnDiv()" value="Zoom in"></input>
<input type="button" class="zoom" onclick="zoomInOutDiv()" value="Reset"></input>
<div id="countryInfo">
Current selected country: <br>
Name: <span id="countryName"></span><br>
ID: <span id="countryId"></span><br>
Country price (in BNB): <span id="countryPrice"></span> $BNB<br>
Owner: <a id="countryOwner"> </a><br>
Country message: <span id="countryMessage"> </span><br><br>
<textarea id="newCountryMessage" placeholder="New message to be displayed (max 140 characters)" maxlength="140"></textarea> <br>
<input type="button" id="buyCountry" class="notAvailable" onclick="buyCountry()" value="Connect wallet to buy ^"></input> <br>
<div class="loader center hide"><span></span></div>
Current network: <span id="network">Main net</span>
<br>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript" src="./js/UI.js"></script>
<script type="text/javascript" src="./dist/d3.js"></script>
<script type="text/javascript" src="./dist/d3.geo.js"></script>
<script src="./dist/web3.min.js"></script>
<script src="./dist/index.js"></script>
<script src="./dist/umd/index.min.js"></script>
<script src="./dist/umd/1.2.1/index.min.js"></script>
<script type="text/javascript" src="./js/countries.js"></script>
<script type="text/javascript" src="./js/worldGeographicalData.js"></script>
<script type="text/javascript" src="./js/d3Init.js"></script>
<script type="text/javascript" src="./js/abi.js"></script>
<script type="text/javascript" src="./js/connectToWallet.js"></script>
</body>
</html>