-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
247 lines (240 loc) · 11.6 KB
/
Copy pathindex.html
File metadata and controls
247 lines (240 loc) · 11.6 KB
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
<!doctype html>
<html>
<head>
<title>2K inc.</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="alpha2klogo.png" type="image/x-icon">
<link rel="stylesheet" href="https://unpkg.com/material-components-web@latest/dist/material-components-web.min.css">
<meta name="keywords"
content="2k, 2k inc, 2k inc., 2K, 2K inc., games, 2d games, 2D games, exp, exp game, trick or treat, kalkulator, calculator, fidget, fidget tab, calc, jumping joe, a small planet, small planet">
<meta name="description"
content="2K inc. is a fun company that makes games for your pleasure. Check out our new game, E. X. P.">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons|Roboto">
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?lang=en&family=Product+Sans|Roboto:400,700" rel="stylesheet">
<link rel="stylesheet" href="https://use.typekit.net/lku7gbz.css">
<link rel="stylesheet" href="2kcomponents.css">
<link rel="stylesheet" href="style.css">
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
</head>
<body>
<k-navbar>
<k-navbar-title>2K inc</k-navbar-title>
<k-navbar-right>
<k-tabs>
<k-tab id="home-button">Home</k-tab>
<k-tab id="about-button">About</k-tab>
<k-tab id="game-button">Games</k-tab>
<k-tab id="post-stuff-button">Global Chat</k-tab>
<k-tab id="leaderboards-button">Leaderboards</k-tab>
</k-tabs>
<img src="" class="profile-picture" id="your-pro-pic" style="display:none;" height="40">
<k-button class="k-rainbow k-capsule" id="sign-in-with-google">Sign in</k-button>
</k-navbar-right>
</section>
</k-navbar>
<k-body>
<div id="home">
<div id="big-banner"></div>
<div class="padded">
<h2 class="mdc-typography--headline5">2K inc</h2>
<p>A company making games for your pleasure.</p>
<p>Check out <a href="exp-game">E. X. P.</a>, a text adventure game. </p>
<p id="user-info"></p>
<a class="k-button k-rainbow" href="https://github.com/2kinc" data-size="large"
aria-label="Check out @2kinc on GitHub">Check us out on GitHub!</a>
</div>
</div>
<div id="game" style="display:none;" class="padded">
<h2 class="mdc-typography--headline5">Games we have made</h2>
<k-card style="display: inline-block; width: 30%">
<k-card-title>
E. X. P.
</k-card-title>
<k-card-content>
Create your own world, and don't starve!
Warning: contains flashing effects.
</k-card-content>
<k-card-bottom>
<a class="k-button" href="https://2kinc.me/exp-game/">Check it out! (Pre-Alpha)</a>
</k-card-bottom>
</k-card>
<k-card style="display: inline-block; width: 30%">
<k-card-title>2K Space</k-card-title>
<k-card-content>
Team up with friends and create giant pixel art on a massive global canvas.
Coming soon: 2K Hyperspace. Draw pixel art and let AI link it to a website!
</k-card-content>
<k-card-bottom>
<a class="k-button" href="https://2kinc.me/space/">Nice!</a>
</k-card-bottom>
</k-card>
<k-card style="display: inline-block; width: 30%">
<k-card-title>Trick or treat</k-card-title>
<k-card-content>
Go trick or treating whenever
you want on your computer!
</k-card-content>
<k-card-bottom>
<a class="k-button"
href="https://chrome.google.com/webstore/detail/trick-or-treat/migjjgahlnpolhmacicegfjdpbbnhngc">Over
Here</a>
</k-card-bottom>
</k-card>
<k-card style="display: inline-block; width: 30%">
<k-card-title>Kalkulator</k-card-title>
<k-card-content>
A calculator whenever you need one!
</k-card-content>
<k-card-bottom>
<a class="k-button"
href="https://chrome.google.com/webstore/detail/kalkulator/ilidgdcdnofmfpmkmbhoemmdmgkjgfcb">Get
it here</a>
</k-card-bottom>
</k-card>
<k-card style="display: inline-block; width: 30%">
<k-card-title>Critters</k-card-title>
<k-card-content>
Critters is a framework for fluent AI in a JS environment.
</k-card-content>
<k-card-bottom>
<a class="k-button" href="https://2kinc.me/critters/">Cool!</a>
</k-card-bottom>
</k-card>
<k-card style="display: inline-block; width: 30%">
<k-card-title>spaghetti.js</k-card-title>
<k-card-content>
spaghetti.js is a framework for JS strings. Use it to lock values, encrypt strings, and
more!
</k-card-content>
<k-card-bottom>
<a class="k-button" href="https://2kinc.me/spaghetti-js/">Yummy!</a>
</k-card-bottom>
</k-card>
</div>
<div id="about" style="display:none;" class="padded">
<h2 class="mdc-typography--headline5">About us</h2>
<p>We make games and have fun doing it! Our newest game, <a href="exp-game">E. X. P.</a>, is in pre-alpha.
Please pay a visit sometime soon, it will be constantly updated. All our games are free and we hope you
enjoy them. Our (small) army of awesome coders include: </p>
<ul class="mdc-list">
<li class="mdc-list-item" tabindex="0">
<a class="mdc-list-item__text" href="https://www.github.com/iamcev">iamcev, lead developer and
designer</a>
</li>
<li class="mdc-list-item">
<a class="mdc-list-item__text" href="https://www.github.com/Craftingexpert1">Craftingexpert1,
iamcev's
second in command coder (The only one who can defeat him)</a>
</li>
<li class="mdc-list-item">
<a class="mdc-list-item__text" href="https://www.github.com/Lumby1">Lumby1, duck enthusiast and
expert
coder in the making</span></a>
</li>
<li class="mdc-list-item">
<a class="mdc-list-item__text" href="https://www.github.com/DimaTheGoat">DimaTheGoat, puffin
enthusiast
and another expert
coder in the making. Also Director of Marketing</span></a>
</li>
</ul>
</div>
<div id="posts" style="display: none;" class="padded">
<div id="posts-body"></div>
<div id="posts-sending">
<input id="post-input" class="k-input" maxlength="150" placeholder="Say something!">
<k-button id="submit-post-button" class="k-button--elevated">Send</k-button>
</div>
<div id="global-chat-disabled">
Sign in to 2K inc. to join the party!
</div>
</div>
<div id="leaderboards" class="padded" style="display: none;">
<h1 class="mdc-typography--headline3 centered">Trick or Treat</h1>
<ol class="mdc-list" id="tot-leaderboard">
</ol>
</div>
<div class="mdc-dialog" id="edit-profile-dialog" role="alertdialog" aria-modal="true"
aria-labelledby="edit-profile-dialog-title" aria-describedby="edit-profile-dialog-content">
<div class="mdc-dialog__container">
<div class="mdc-dialog__surface">
<!-- Title cannot contain leading whitespace due to mdc-typography-baseline-top() -->
<h2 class="mdc-dialog__title" id="edit-profile-dialog-title">
<!--
-->Edit Profile
<!--
-->
</h2>
<div class="mdc-dialog__content" id="edit-profile-dialog-content">
<div class="mdc-text-field">
<input type="text" id="edit-profile-dialog-username-input" class="mdc-text-field__input"
maxlength="15">
<label class="mdc-floating-label" for="edit-profile-dialog-username-input">New
Username</label>
<div class="mdc-line-ripple"></div>
</div>
<div class="mdc-text-field-helper-line">
<div class="mdc-text-field-character-counter">0 / 15</div>
</div>
</div>
<footer class="mdc-dialog__actions">
<button type="button" id="edit-profile-dialog-submit-button"
class="mdc-button mdc-dialog__button" data-mdc-dialog-action="yes">
<span class="mdc-button__label">Done</span>
</button>
</footer>
</div>
</div>
<div class="mdc-dialog__scrim"></div>
</div>
</k-body>
<script src="https://unpkg.com/material-components-web@latest/dist/material-components-web.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.8.3/firebase.js"></script>
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.9"></script>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="2kcomponents.js"></script>
<script src="index.js"></script>
<script>
mdc.textField.MDCTextField.attachTo(document.querySelector('#edit-profile-dialog-content'));
$("#home-button").click(function () {
$('#home').show();
$('#game').hide();
$('#about').hide();
$('#posts').hide();
$('#leaderboards').hide();
});
$("#game-button").click(function () {
$('#home').hide();
$('#game').show();
$('#about').hide();
$('#posts').hide();
$('#leaderboards').hide();
});
$("#about-button").click(function () {
$('#home').hide();
$('#game').hide();
$('#about').show();
$('#posts').hide();
$('#leaderboards').hide();
});
$('#post-stuff-button').click(function () {
$('#home').hide();
$('#game').hide();
$('#about').hide();
$('#posts').show();
$('#leaderboards').hide();
$('#post-stuff-button').removeClass('k-rainbow');
});
$('#leaderboards-button').click(function () {
$('#home').hide();
$('#game').hide();
$('#about').hide();
$('#posts').hide();
$('#leaderboards').show();
});
</script>
</body>
</html>