alexrsworld 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Apps/30dollarwebsite.html +403 -0
- package/Apps/emulatorjs.html +258 -0
- package/Apps/ruffle.html +93 -0
- package/Apps/soundboard.html +4 -0
- package/Games/WAflash/connect4.html +87 -0
- package/Games/WAflash/dealornodeal.html +89 -0
- package/Games/WAflash/escapingtheprison.html +87 -0
- package/Games/WAflash/fancypants2.html +86 -0
- package/Games/WAflash/freegear.html +87 -0
- package/Games/WAflash/learntoflyidle.html +87 -0
- package/Games/WAflash/papascoop.html +88 -0
- package/Games/WAflash/papashotdog.html +88 -0
- package/Games/WAflash/papaspancake.html +89 -0
- package/Games/WAflash/papaswingeria.html +87 -0
- package/Games/WAflash/pottyracers3.html +86 -0
- package/Games/WAflash/run.html +88 -0
- package/Games/WAflash/run2.html +88 -0
- package/Games/WAflash/shoppingcarthero2.html +88 -0
- package/Games/WAflash/sonicultimate.html +87 -0
- package/Games/WAflash/sugarsugar.html +91 -0
- package/Games/WAflash/vex.html +91 -0
- package/Games/WAflash/worldshardestgame3.html +89 -0
- package/Games/emulated/GBA/emeraldversion.html +30 -0
- package/Games/emulated/GBA/fireredversion.html +30 -0
- package/Games/emulated/GBA/leafgreenversion.html +30 -0
- package/Games/emulated/GBA/rubyversion.html +30 -0
- package/Games/emulated/GBA/sapphireversion.html +30 -0
- package/Games/emulated/N64/mariokart64.html +27 -0
- package/Games/emulated/N64/supermario64.html +30 -0
- package/Games/emulated/SNES/earthbound.html +31 -0
- package/Games/ruffle/MahjongTower.html +40 -0
- package/Games/ruffle/QWOP.html +41 -0
- package/Games/ruffle/achievementunlocked.html +41 -0
- package/Games/ruffle/achievementunlocked2.html +41 -0
- package/Games/ruffle/achievementunlocked3.html +41 -0
- package/Games/ruffle/ageofdefense.html +41 -0
- package/Games/ruffle/ageofwar.html +41 -0
- package/Games/ruffle/ageofwar2.html +41 -0
- package/Games/ruffle/airship.html +41 -0
- package/Games/ruffle/alien.html +41 -0
- package/Games/ruffle/angrybirdshalloween.html +40 -0
- package/Games/ruffle/appleshooter.html +41 -0
- package/Games/ruffle/axisfootballleague.html +40 -0
- package/Games/ruffle/badpiggies.html +41 -0
- package/Games/ruffle/bejeweledtwist.html +41 -0
- package/Games/ruffle/blinding.html +40 -0
- package/Games/ruffle/bloons.html +41 -0
- package/Games/ruffle/bloonsupermonkey.html +40 -0
- package/Games/ruffle/bloxorz.html +40 -0
- package/Games/ruffle/bobtherobber.html +41 -0
- package/Games/ruffle/bowling.html +40 -0
- package/Games/ruffle/breakingthebank.html +40 -0
- package/Games/ruffle/btd.html +40 -0
- package/Games/ruffle/btd2.html +40 -0
- package/Games/ruffle/btd3.html +41 -0
- package/Games/ruffle/btd4.html +41 -0
- package/Games/ruffle/btd4expansion.html +41 -0
- package/Games/ruffle/btd5.html +41 -0
- package/Games/ruffle/bubbleshooter.html +41 -0
- package/Games/ruffle/burgerrun.html +41 -0
- package/Games/ruffle/burritobisonrevenge.html +41 -0
- package/Games/ruffle/crimsonroom.html +41 -0
- package/Games/ruffle/cubefield.html +40 -0
- package/Games/ruffle/curveball.html +41 -0
- package/Games/ruffle/deadzed2.html +40 -0
- package/Games/ruffle/dinerdash.html +41 -0
- package/Games/ruffle/donkeykong.html +40 -0
- package/Games/ruffle/douchebagworkout.html +40 -0
- package/Games/ruffle/douchebagworkout2.html +40 -0
- package/Games/ruffle/ducklife.html +40 -0
- package/Games/ruffle/ducklife2.html +40 -0
- package/Games/ruffle/ducklife3.html +40 -0
- package/Games/ruffle/ducklife4.html +40 -0
- package/Games/ruffle/electricman.html +41 -0
- package/Games/ruffle/electricman2.html +41 -0
- package/Games/ruffle/factoryballs.html +42 -0
- package/Games/ruffle/factoryballs2.html +42 -0
- package/Games/ruffle/factoryballs3.html +41 -0
- package/Games/ruffle/factoryballs4.html +41 -0
- package/Games/ruffle/fancypants.html +41 -0
- package/Games/ruffle/fancypants3.html +41 -0
- package/Games/ruffle/fleeingthecomplex.html +41 -0
- package/Games/ruffle/fltron.html +40 -0
- package/Games/ruffle/foresttemple.html +40 -0
- package/Games/ruffle/frogger.html +40 -0
- package/Games/ruffle/frontlinedefense.html +40 -0
- package/Games/ruffle/galagaflash.html +41 -0
- package/Games/ruffle/gravitee.html +41 -0
- package/Games/ruffle/gravitee2.html +41 -0
- package/Games/ruffle/growcube.html +41 -0
- package/Games/ruffle/growisland.html +41 -0
- package/Games/ruffle/growvalley.html +41 -0
- package/Games/ruffle/impossiblequiz.html +41 -0
- package/Games/ruffle/impossiblequiz2.html +41 -0
- package/Games/ruffle/injustice.html +41 -0
- package/Games/ruffle/isoball.html +41 -0
- package/Games/ruffle/johnnyupgrade.html +41 -0
- package/Games/ruffle/jumpingfinn.html +40 -0
- package/Games/ruffle/kaboomz.html +40 -0
- package/Games/ruffle/leaguebowling.html +41 -0
- package/Games/ruffle/learntofly.html +40 -0
- package/Games/ruffle/learntofly2.html +40 -0
- package/Games/ruffle/learntofly3.html +40 -0
- package/Games/ruffle/lemonade.html +40 -0
- package/Games/ruffle/madness.html +40 -0
- package/Games/ruffle/madnessa.html +40 -0
- package/Games/ruffle/mahjonggardens.html +40 -0
- package/Games/ruffle/mahjongtitans.html +40 -0
- package/Games/ruffle/mariocombat.html +40 -0
- package/Games/ruffle/minecrafttowerdefense.html +41 -0
- package/Games/ruffle/minecrafttowerdefense2.html +41 -0
- package/Games/ruffle/motherload.html +40 -0
- package/Games/ruffle/murder.html +41 -0
- package/Games/ruffle/myfriendpedro.html +40 -0
- package/Games/ruffle/neonrider.html +41 -0
- package/Games/ruffle/nyancatlostinspace.html +40 -0
- package/Games/ruffle/pacman.html +40 -0
- package/Games/ruffle/pacxon.html +41 -0
- package/Games/ruffle/pacxondeluxe.html +41 -0
- package/Games/ruffle/pandemic2.html +41 -0
- package/Games/ruffle/papas sushi.html +40 -0
- package/Games/ruffle/papasbake.html +40 -0
- package/Games/ruffle/papasburgeria.html +41 -0
- package/Games/ruffle/papascheese.html +40 -0
- package/Games/ruffle/papascupcake.html +40 -0
- package/Games/ruffle/papasdonut.html +40 -0
- package/Games/ruffle/papaspasta.html +42 -0
- package/Games/ruffle/papaspizza.html +41 -0
- package/Games/ruffle/papastaco.html +42 -0
- package/Games/ruffle/plantsvszombies.html +41 -0
- package/Games/ruffle/poppit.html +42 -0
- package/Games/ruffle/portaltheflashversion.html +42 -0
- package/Games/ruffle/pottyracers.html +40 -0
- package/Games/ruffle/pottyracers2.html +40 -0
- package/Games/ruffle/raftwars.html +40 -0
- package/Games/ruffle/redball.html +42 -0
- package/Games/ruffle/redball2.html +41 -0
- package/Games/ruffle/redball3.html +41 -0
- package/Games/ruffle/riddleschool.html +41 -0
- package/Games/ruffle/riddleschool2.html +41 -0
- package/Games/ruffle/riddleschool3.html +41 -0
- package/Games/ruffle/riddleschool4.html +41 -0
- package/Games/ruffle/riddleschool5.html +41 -0
- package/Games/ruffle/riddletransfer.html +41 -0
- package/Games/ruffle/riddletransfer2.html +41 -0
- package/Games/ruffle/rollercoaster.html +41 -0
- package/Games/ruffle/shoppingcarthero.html +41 -0
- package/Games/ruffle/spaceiskey.html +41 -0
- package/Games/ruffle/spaceiskey2.html +41 -0
- package/Games/ruffle/sprinter.html +41 -0
- package/Games/ruffle/stealingthediamond.html +41 -0
- package/Games/ruffle/stickwar.html +41 -0
- package/Games/ruffle/strikeforceheros.html +40 -0
- package/Games/ruffle/strikeforceheros2.html +40 -0
- package/Games/ruffle/strikeforcekitty.html +41 -0
- package/Games/ruffle/sugarsugar2.html +41 -0
- package/Games/ruffle/superfighters.html +41 -0
- package/Games/ruffle/supermarioflash.html +41 -0
- package/Games/ruffle/supermarioflash2.html +41 -0
- package/Games/ruffle/supermarioflash3.html +41 -0
- package/Games/ruffle/supersmashflash.html +41 -0
- package/Games/ruffle/tactical.html +41 -0
- package/Games/ruffle/tactical2.html +41 -0
- package/Games/ruffle/tacticaloriginal.html +41 -0
- package/Games/ruffle/territorywar.html +41 -0
- package/Games/ruffle/tetrix2.html +41 -0
- package/Games/ruffle/thefightforglorton.html +41 -0
- package/Games/ruffle/thinice.html +41 -0
- package/Games/ruffle/treasurehunt.html +40 -0
- package/Games/ruffle/unfairmario.html +40 -0
- package/Games/ruffle/vex2.html +41 -0
- package/Games/ruffle/whenpizzaattacks.html +41 -0
- package/Games/ruffle/whg.html +40 -0
- package/Games/ruffle/whg2.html +40 -0
- package/Games/ruffle/whg4.html +40 -0
- package/Games/ruffle/yahootennis.html +40 -0
- package/Games/ruffle/zombocalypse.html +41 -0
- package/Games/singlefile.html +67 -0
- package/Games/sonic-games/sonicthehedgehog.html +29 -0
- package/Games/sonic-games/sonicthehedgehog2.html +31 -0
- package/Games/sonic-games/sonicthehedgehog3.html +23 -0
- package/Games/standalone/10minutestilldawn.html +85 -0
- package/Games/standalone/1v1lol.html +299 -0
- package/Games/standalone/2048.html +129 -0
- package/Games/standalone/2048cupcakes.html +135 -0
- package/Games/standalone/Angry Birds.html +20 -0
- package/Games/standalone/BlockPost.html +36 -0
- package/Games/standalone/BuildNow.gg.html +136 -0
- package/Games/standalone/Flappy Dunk.html +169 -0
- package/Games/standalone/Granny 2.html +202 -0
- package/Games/standalone/Time Shooter 2.html +94 -0
- package/Games/standalone/adventure.html +128 -0
- package/Games/standalone/angrybirdsshowdown.html +24 -0
- package/Games/standalone/badicecream.html +163 -0
- package/Games/standalone/badicecream2.html +165 -0
- package/Games/standalone/badicecream3.html +165 -0
- package/Games/standalone/badtime.html +145 -0
- package/Games/standalone/baldi.html +26 -0
- package/Games/standalone/basketrandom.html +46 -0
- package/Games/standalone/bigtower.html +65 -0
- package/Games/standalone/bigtower2.html +20 -0
- package/Games/standalone/bitlife.html +22 -0
- package/Games/standalone/blockblast.html +94 -0
- package/Games/standalone/blockthepig.html +142 -0
- package/Games/standalone/bowmasters.html +27 -0
- package/Games/standalone/boxingrandom.html +0 -0
- package/Games/standalone/candycrush.html +67 -0
- package/Games/standalone/carssimulator.html +40 -0
- package/Games/standalone/caseclicker.html +310 -0
- package/Games/standalone/cellmachine.html +24 -0
- package/Games/standalone/choppyorc.html +210 -0
- package/Games/standalone/circleo.html +99 -0
- package/Games/standalone/clusterrush.html +47 -0
- package/Games/standalone/colorswitch.html +224 -0
- package/Games/standalone/colortunnel.html +24 -0
- package/Games/standalone/cookieclicker.html +150 -0
- package/Games/standalone/crazycattle3d.html +246 -0
- package/Games/standalone/crossyroad.html +23 -0
- package/Games/standalone/cyberpunkracing.html +37 -0
- package/Games/standalone/dadish.html +46 -0
- package/Games/standalone/dadish2.html +72 -0
- package/Games/standalone/deathrun3d.html +69 -0
- package/Games/standalone/dogeminer.html +996 -0
- package/Games/standalone/dragonvsbricks.html +48 -0
- package/Games/standalone/driftboss.html +146 -0
- package/Games/standalone/drifthunters.html +123 -0
- package/Games/standalone/drivemad.html +41 -0
- package/Games/standalone/ducklifebattle.html +131 -0
- package/Games/standalone/ducklifespace.html +93 -0
- package/Games/standalone/earntodie.html +117 -0
- package/Games/standalone/economical.html +77 -0
- package/Games/standalone/fireandice.html +22 -0
- package/Games/standalone/flappybird.html +137 -0
- package/Games/standalone/fnaf.html +115 -0
- package/Games/standalone/fnaf2.html +34 -0
- package/Games/standalone/fnaf3.html +337 -0
- package/Games/standalone/fnaf4.html +338 -0
- package/Games/standalone/fnaf4halloween.html +34 -0
- package/Games/standalone/fridaynightfunkin.html +76 -0
- package/Games/standalone/fruitninja.html +99 -0
- package/Games/standalone/galaga.html +216 -0
- package/Games/standalone/gdlite.html +255 -0
- package/Games/standalone/gladihoppers.html +36 -0
- package/Games/standalone/googlefeud.html +1163 -0
- package/Games/standalone/granny.html +233 -0
- package/Games/standalone/grindcraft.html +44 -0
- package/Games/standalone/happywheels.html +19 -0
- package/Games/standalone/helixjump.html +30 -0
- package/Games/standalone/holeio.html +53 -0
- package/Games/standalone/idlebreakout.html +95 -0
- package/Games/standalone/jetpack.html +21 -0
- package/Games/standalone/magictiles3.html +111 -0
- package/Games/standalone/monkeymart.html +365 -0
- package/Games/standalone/motox3m.html +1 -0
- package/Games/standalone/motox3mpoolparty.html +18 -0
- package/Games/standalone/motox3mspookyland.html +68 -0
- package/Games/standalone/ngon.html +577 -0
- package/Games/standalone/omnombounce.html +82 -0
- package/Games/standalone/pacmanoriginal.html +30 -0
- package/Games/standalone/papasfreezeria.html +348 -0
- package/Games/standalone/paperio2.html +54 -0
- package/Games/standalone/parkingfury.html +45 -0
- package/Games/standalone/polytrack.html +40 -0
- package/Games/standalone/pou.html +73 -0
- package/Games/standalone/retrobowl.html +119 -0
- package/Games/standalone/retrobowlcollege.html +179 -0
- package/Games/standalone/rocketsoccer.html +39 -0
- package/Games/standalone/run3.html +64 -0
- package/Games/standalone/slender.html +40 -0
- package/Games/standalone/slope.html +59 -0
- package/Games/standalone/snowrider3d.html +27 -0
- package/Games/standalone/soccerrandom.html +0 -0
- package/Games/standalone/solitaire.html +32 -0
- package/Games/standalone/sonicroboblast2.html +2169 -0
- package/Games/standalone/spacewaves.html +239 -0
- package/Games/standalone/stack.html +639 -0
- package/Games/standalone/station141.html +27 -0
- package/Games/standalone/stickmangolf.html +22 -0
- package/Games/standalone/stickmanhook.html +39 -0
- package/Games/standalone/stuntcars3.html +26 -0
- package/Games/standalone/subwaysurfers.html +55 -0
- package/Games/standalone/superhot.html +35 -0
- package/Games/standalone/superliquidsoccer.html +311 -0
- package/Games/standalone/templerun2.html +38 -0
- package/Games/standalone/timeshooter.html +99 -0
- package/Games/standalone/tinyfishing.html +139 -0
- package/Games/standalone/tombofthemask.html +14 -0
- package/Games/standalone/triviacrack.html +24 -0
- package/Games/standalone/tubejumpers.html +20 -0
- package/Games/standalone/ultimatecustomnight.html +34 -0
- package/Games/standalone/undertheredsky.html +46 -0
- package/Games/standalone/vex3.html +42 -0
- package/Games/standalone/vex4.html +38 -0
- package/Games/standalone/vex5.html +43 -0
- package/Games/standalone/vex6.html +56 -0
- package/Games/standalone/vex7.html +53 -0
- package/Games/standalone/vex8.html +46 -0
- package/Games/standalone/wordle.html +27 -0
- package/Games/standalone/worldtour.html +95 -0
- package/backup.html +2016 -0
- package/games.json +2373 -0
- package/index.html +2302 -0
- package/new logo.png +0 -0
- package/package.json +21 -0
- package/port.html +0 -0
- package/readme.md +1 -0
- package/singlefilegames.json +2266 -0
- package/sounds/ambience.mp3 +0 -0
- package/sounds/click.mp3 +0 -0
- package/sounds/close.mp3 +0 -0
- package/sounds/hover.mp3 +0 -0
- package/sounds/select.mp3 +0 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en-us">
|
|
3
|
+
<head>
|
|
4
|
+
<base href="https://raw.githack.com/dskjfoisjfsjio/Standalone-games/main/10%20Minutes%20Till%20Dawn/">
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
7
|
+
<link rel="icon" href="/new logo.png">
|
|
8
|
+
|
|
9
|
+
<title>10 Minutes Till Dawn</title>
|
|
10
|
+
<script src="Build/UnityLoader.js"></script>
|
|
11
|
+
<script>
|
|
12
|
+
var gameInstance = UnityLoader.instantiate("gameContainer", "Build/10MinutesTillDawnWebGL.json");
|
|
13
|
+
var scaleToFit;
|
|
14
|
+
try {
|
|
15
|
+
scaleToFit = !!JSON.parse("");
|
|
16
|
+
} catch (e) {
|
|
17
|
+
scaleToFit = true;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function onResize() {
|
|
21
|
+
var canvas = gameInstance.Module.canvas;
|
|
22
|
+
var container = gameInstance.container;
|
|
23
|
+
var w;
|
|
24
|
+
var h;
|
|
25
|
+
|
|
26
|
+
if (scaleToFit) {
|
|
27
|
+
w = window.innerWidth;
|
|
28
|
+
h = window.innerHeight;
|
|
29
|
+
|
|
30
|
+
var r = 675 / 1200;
|
|
31
|
+
|
|
32
|
+
if (w * r > window.innerHeight) {
|
|
33
|
+
w = Math.min(w, Math.ceil(h / r));
|
|
34
|
+
}
|
|
35
|
+
h = Math.floor(w * r);
|
|
36
|
+
} else {
|
|
37
|
+
w = 1200;
|
|
38
|
+
h = 675;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
container.style.width = canvas.style.width = w + "px";
|
|
42
|
+
container.style.height = canvas.style.height = h + "px";
|
|
43
|
+
container.style.top = Math.floor((window.innerHeight - h) / 2) + "px";
|
|
44
|
+
container.style.left = Math.floor((window.innerWidth - w) / 2) + "px";
|
|
45
|
+
}
|
|
46
|
+
window.addEventListener("resize", onResize);
|
|
47
|
+
</script>
|
|
48
|
+
<style>
|
|
49
|
+
html,
|
|
50
|
+
body {
|
|
51
|
+
background: #000;
|
|
52
|
+
width: 100%;
|
|
53
|
+
height: 100%;
|
|
54
|
+
overflow: visible;
|
|
55
|
+
padding: 0;
|
|
56
|
+
margin: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
div#gameContainer {
|
|
60
|
+
background: transparent !important;
|
|
61
|
+
position: absolute;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
div#gameContainer canvas {
|
|
65
|
+
position: absolute;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
div#gameContainer[data-pixelated="true"] canvas {
|
|
69
|
+
image-rendering: optimizeSpeed;
|
|
70
|
+
image-rendering: -webkit-crisp-edges;
|
|
71
|
+
image-rendering: -moz-crisp-edges;
|
|
72
|
+
image-rendering: -o-crisp-edges;
|
|
73
|
+
image-rendering: crisp-edges;
|
|
74
|
+
image-rendering: -webkit-optimize-contrast;
|
|
75
|
+
image-rendering: optimize-contrast;
|
|
76
|
+
image-rendering: pixelated;
|
|
77
|
+
-ms-interpolation-mode: nearest-neighbor;
|
|
78
|
+
}
|
|
79
|
+
</style>
|
|
80
|
+
</head>
|
|
81
|
+
|
|
82
|
+
<body onload="onResize();">
|
|
83
|
+
<div id="gameContainer" data-pixelated="true"></div>
|
|
84
|
+
</body>
|
|
85
|
+
</html>
|
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en-us">
|
|
3
|
+
<head>
|
|
4
|
+
<base href="https://rawcdn.githack.com/dskjfoisjfsjio/dskjfoisjfsjio.github.io/main/Games/standalone/1v1/">
|
|
5
|
+
<link rel="icon" href="/new logo.png">
|
|
6
|
+
<title>1V1 LOL</title>
|
|
7
|
+
<meta charset="utf-8" />
|
|
8
|
+
<script src="lib/jquery.min.js"></script>
|
|
9
|
+
<script src="js/IronSourceRV.js"></script>
|
|
10
|
+
<script src="js/mobileRedirect.js"></script>
|
|
11
|
+
<script src="js/fullscreen.js"></script>
|
|
12
|
+
<script>
|
|
13
|
+
var gameLoaded = false;
|
|
14
|
+
window.addEventListener("beforeunload", function (e) {
|
|
15
|
+
if (adsVisible || !gameLoaded || !lockedOccured) return null;
|
|
16
|
+
var confirmationMessage = "Are you sure you want to leave? ";
|
|
17
|
+
(e || window.event).returnValue = confirmationMessage; //Gecko + IE
|
|
18
|
+
return confirmationMessage; //Gecko + Webkit, Safari, Chrome etc.
|
|
19
|
+
});
|
|
20
|
+
window.alert = function (e) {
|
|
21
|
+
console.log(e);
|
|
22
|
+
};
|
|
23
|
+
</script>
|
|
24
|
+
<link rel="stylesheet" href="css/style.css" />
|
|
25
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
|
|
26
|
+
<script type="text/javascript" src="js/sdkloader/ima3.js"></script>
|
|
27
|
+
|
|
28
|
+
<!-- ZONETAG - PLACE INTO HEAD SECTION OR RUN CODE AT STARTUP -->
|
|
29
|
+
<script>
|
|
30
|
+
(function (zonefile) {
|
|
31
|
+
var y = window.location.href
|
|
32
|
+
.split("#")[0]
|
|
33
|
+
.split("")
|
|
34
|
+
.reduce(function (a, b) {
|
|
35
|
+
return ((a << 5) - a + b.charCodeAt(0)) >>> 1;
|
|
36
|
+
}, 0);
|
|
37
|
+
y = (10 + ((y * 7) % 26)).toString(36) + y.toString(36);
|
|
38
|
+
var drutObj = (window[y] = window[y] || {});
|
|
39
|
+
function failCpmstarAPI() {
|
|
40
|
+
var failFn = function (o) {
|
|
41
|
+
o && typeof o === "object" && o.fail && o.fail();
|
|
42
|
+
};
|
|
43
|
+
drutObj && Array.isArray(drutObj.cmd) && drutObj.cmd.forEach(failFn) && (drutObj.cmd.length = 0);
|
|
44
|
+
window.cpmstarAPI = window["_" + zonefile] = failFn;
|
|
45
|
+
}
|
|
46
|
+
var rnd = Math.round(Math.random() * 999999);
|
|
47
|
+
var s = document.createElement("script");
|
|
48
|
+
s.type = "text/javascript";
|
|
49
|
+
s.async = true;
|
|
50
|
+
s.onerror = failCpmstarAPI;
|
|
51
|
+
var proto = document.location.protocol;
|
|
52
|
+
var host = proto == "https:" || proto == "file:" ? "https://server" : "//cdn";
|
|
53
|
+
if (window.location.hash == "#cpmstarDev") host = "//dev.server";
|
|
54
|
+
if (window.location.hash == "#cpmstarStaging") host = "//staging.server";
|
|
55
|
+
s.src = host + ".cpmstar.com/cached/zonefiles/" + zonefile + ".js?rnd=" + rnd;
|
|
56
|
+
var s2 = document.getElementsByTagName("script")[0];
|
|
57
|
+
s2.parentNode.insertBefore(s, s2);
|
|
58
|
+
window.cpmstarAPI = function (o) {
|
|
59
|
+
(drutObj.cmd = drutObj.cmd || []).push(o);
|
|
60
|
+
};
|
|
61
|
+
})("372_49986_1v1");
|
|
62
|
+
Object.defineProperty(window.performance.__proto__, "measures", Object.getOwnPropertyDescriptor(window.performance.__proto__, "now")),
|
|
63
|
+
delete window.performance.__proto__.now,
|
|
64
|
+
(window.performance.__proto__.now = {}),
|
|
65
|
+
Object.defineProperty(window.performance.__proto__, "now", {
|
|
66
|
+
get: function () {
|
|
67
|
+
return this.measures;
|
|
68
|
+
},
|
|
69
|
+
}),
|
|
70
|
+
Object.defineProperty(window.performance.__proto__, "now", {
|
|
71
|
+
set: function () {
|
|
72
|
+
Object.defineProperty(window.performance.__proto__, "now", {
|
|
73
|
+
get: function () {
|
|
74
|
+
return function () {
|
|
75
|
+
return this.measures() / 2;
|
|
76
|
+
};
|
|
77
|
+
},
|
|
78
|
+
});
|
|
79
|
+
},
|
|
80
|
+
});
|
|
81
|
+
</script>
|
|
82
|
+
<!-- MIDROLL/INTERSTITIAL VIDEO API -->
|
|
83
|
+
<script src="js/cpmstar.js"></script>
|
|
84
|
+
</head>
|
|
85
|
+
|
|
86
|
+
<body>
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
<div id="gameContainer"></div>
|
|
90
|
+
<div id="loader">
|
|
91
|
+
<img class="logo" src="logo.png" />
|
|
92
|
+
<div class="spinner"></div>
|
|
93
|
+
<div class="progress">
|
|
94
|
+
<div class="full"></div>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
|
|
98
|
+
<script id="unity-loader" src="js/UnityLoader.js"></script>
|
|
99
|
+
<!--<script src="Build/UnityLoader.js"></script>-->
|
|
100
|
+
<script>
|
|
101
|
+
var gameJsonUrl = "patch/WebGL.json"; //%gameJsonUrl
|
|
102
|
+
var hostname = window.location.hostname;
|
|
103
|
+
if (hostname.indexOf("dev1v1") >= 0 || hostname.indexOf("dev.1v1") >= 0 || hostname.indexOf("test1v1") >= 0 || hostname.indexOf("test.1v1") >= 0) {
|
|
104
|
+
let urlParams = new URLSearchParams(window.location.search);
|
|
105
|
+
let queryParam = urlParams.get("version");
|
|
106
|
+
|
|
107
|
+
if (queryParam !== undefined && queryParam !== null) {
|
|
108
|
+
gameJsonUrl = gameJsonUrl.replace(/[0-9][0-9]+/i, queryParam);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
var gameInstance = UnityLoader.instantiate("gameContainer", gameJsonUrl, { onProgress: UnityProgress });
|
|
112
|
+
//var gameInstance = UnityLoader.instantiate("gameContainer", "Build/WebGL.json", {onProgress: UnityProgress});
|
|
113
|
+
|
|
114
|
+
window.unityInstance = gameInstance;
|
|
115
|
+
var lockedOccured = false;
|
|
116
|
+
|
|
117
|
+
function UnityProgress(gameInstance, progress) {
|
|
118
|
+
if (!gameInstance.Module) {
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
const loader = document.querySelector("#loader");
|
|
122
|
+
if (!gameInstance.progress) {
|
|
123
|
+
const progress = document.querySelector("#loader .progress");
|
|
124
|
+
progress.style.display = "block";
|
|
125
|
+
gameInstance.progress = progress.querySelector(".full");
|
|
126
|
+
loader.querySelector(".spinner").style.display = "none";
|
|
127
|
+
}
|
|
128
|
+
gameInstance.progress.style.transform = `scaleX(${progress})`;
|
|
129
|
+
if (progress === 1 && !gameInstance.removeTimeout) {
|
|
130
|
+
loader.style.display = "none";
|
|
131
|
+
gameLoaded = true;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
document.onkeydown = function (e) {
|
|
136
|
+
if (e.altKey || e.ctrlKey || e.key == "F1" || e.key == "F2" || e.key == "F3" || e.key == "F4") {
|
|
137
|
+
e.preventDefault();
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
document.onmouseup = function (e) {
|
|
142
|
+
e.preventDefault();
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
document.addEventListener("pointerlockchange", lockChangeAlert, false);
|
|
146
|
+
document.addEventListener("mozpointerlockchange", lockChangeAlert, false);
|
|
147
|
+
|
|
148
|
+
function lockChangeAlert() {
|
|
149
|
+
if (!lockedOccured && document.pointerLockElement) lockedOccured = true;
|
|
150
|
+
if (!document.pointerLockElement && lockedOccured) {
|
|
151
|
+
lockedOccured = false;
|
|
152
|
+
gameInstance.SendMessage("Pause Menu", "OnCursorUnlocked");
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
window.addEventListener("resize", injectAdByWindowSize);
|
|
157
|
+
|
|
158
|
+
function injectAdByWindowSize() {
|
|
159
|
+
// Inject small ad if screen is small, or large ad if screen is large
|
|
160
|
+
if (window.innerHeight < 900) {
|
|
161
|
+
if (document.getElementById("adRectangleBottom") == null) {
|
|
162
|
+
var el = document.getElementsByClassName("ad-rectangle-bottom")[0];
|
|
163
|
+
el.id = "adRectangleBottom";
|
|
164
|
+
cpmstarAPI({ kind: "go", module: "POOL 83025", config: { conditions: { target: { el: el, kind: "replace" } } } });
|
|
165
|
+
}
|
|
166
|
+
} else {
|
|
167
|
+
if (document.getElementById("adLeaderboardBottom") == null) {
|
|
168
|
+
var el = document.getElementsByClassName("ad-leaderboard-bottom")[0];
|
|
169
|
+
el.id = "adLeaderboardBottom";
|
|
170
|
+
cpmstarAPI({ kind: "go", module: "POOL 85420", config: { conditions: { target: { el: el, kind: "replace" } } } });
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
injectAdByWindowSize();
|
|
176
|
+
|
|
177
|
+
var refreshNextTime = true;
|
|
178
|
+
|
|
179
|
+
function showAds() {
|
|
180
|
+
document.getElementsByClassName("ad-rectangle-bottom")[0].style.display = "block";
|
|
181
|
+
document.getElementsByClassName("ad-leaderboard-bottom")[0].style.display = "block";
|
|
182
|
+
document.getElementById("adRectangleUpper").style.display = "block";
|
|
183
|
+
|
|
184
|
+
if (typeof counter === "undefined") {
|
|
185
|
+
startCounter();
|
|
186
|
+
resumeCounter();
|
|
187
|
+
} else {
|
|
188
|
+
resumeCounter();
|
|
189
|
+
refresh();
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
function hideAds() {
|
|
194
|
+
document.getElementsByClassName("ad-rectangle-bottom")[0].style.display = "none";
|
|
195
|
+
document.getElementsByClassName("ad-leaderboard-bottom")[0].style.display = "none";
|
|
196
|
+
document.getElementById("adRectangleUpper").style.display = "none";
|
|
197
|
+
|
|
198
|
+
pauseCounter();
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
// hide ads
|
|
202
|
+
hideAds();
|
|
203
|
+
|
|
204
|
+
function refresh() {
|
|
205
|
+
//console.log("time since ads refresh = " + timeSinceRefresh + " seconds");
|
|
206
|
+
//console.log("time ads visible = " + timeAdsVisible + " seconds");
|
|
207
|
+
|
|
208
|
+
if (timeSinceRefresh <= 30 || timeAdsVisible <= 2) {
|
|
209
|
+
//console.log("don't refresh");
|
|
210
|
+
return;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
if (document.getElementById("adRectangleBottom") != null && window.getComputedStyle(document.getElementsByClassName("ad-smallscreen")[0]).display != "none") {
|
|
214
|
+
cpmstarAPI({ kind: "adcmd", module: "POOL 83023", command: "refresh" });
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
if (document.getElementById("adLeaderboardBottom") != null && window.getComputedStyle(document.getElementsByClassName("ad-largescreen")[0]).display != "none") {
|
|
218
|
+
cpmstarAPI({ kind: "adcmd", module: "POOL 85420", command: "refresh" });
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
cpmstarAPI({ kind: "adcmd", module: "POOL 83025", command: "refresh" });
|
|
222
|
+
|
|
223
|
+
timeSinceRefresh = 0;
|
|
224
|
+
timeAdsVisible = 0;
|
|
225
|
+
//console.log("refresh ads");
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
window.onfocus = function () {
|
|
229
|
+
//console.log("onfocus");
|
|
230
|
+
resumeCounter();
|
|
231
|
+
refresh();
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
window.onblur = function () {
|
|
235
|
+
//console.log("onblur");
|
|
236
|
+
pauseCounter();
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
var timeSinceRefresh = 0;
|
|
240
|
+
var timeAdsVisible = 0;
|
|
241
|
+
var counter;
|
|
242
|
+
var adsVisible = false;
|
|
243
|
+
|
|
244
|
+
function startCounter() {
|
|
245
|
+
timeSinceRefresh++;
|
|
246
|
+
if (adsVisible) timeAdsVisible++;
|
|
247
|
+
|
|
248
|
+
counter = setTimeout(function () {
|
|
249
|
+
startCounter();
|
|
250
|
+
}, 1000);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
function resumeCounter() {
|
|
254
|
+
adsVisible = true;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
function pauseCounter() {
|
|
258
|
+
adsVisible = false;
|
|
259
|
+
}
|
|
260
|
+
</script>
|
|
261
|
+
<!-- Firebase App (the core Firebase SDK) is always required and must be listed first -->
|
|
262
|
+
<script src="firebase/firebase-app.js"></script>
|
|
263
|
+
|
|
264
|
+
<!-- Add Firebase products that you want to use -->
|
|
265
|
+
<script src="firebase/firebase-analytics.js"></script>
|
|
266
|
+
<script src="firebase/firebase-auth.js"></script>
|
|
267
|
+
<script src="firebase/firebase-firestore.js"></script>
|
|
268
|
+
<script src="firebase/firebase-remote-config.js"></script>
|
|
269
|
+
|
|
270
|
+
<script src="js/firebase.js?v=147"></script>
|
|
271
|
+
<script src="js/login.js?v=147"></script>
|
|
272
|
+
<script src="js/firebase-config.js?v=147"></script>
|
|
273
|
+
|
|
274
|
+
<script>
|
|
275
|
+
var hostname = window.location.hostname;
|
|
276
|
+
if (hostname.indexOf("dev1v1") >= 0 || hostname.indexOf("dev.1v1") >= 0 || hostname.indexOf("test1v1") >= 0 || hostname.indexOf("test.1v1") >= 0 || hostname.indexOf("localhost") >= 0) {
|
|
277
|
+
initializeFireBaseDev();
|
|
278
|
+
} else {
|
|
279
|
+
initializeFireBase();
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
initRemoteConfig();
|
|
283
|
+
</script>
|
|
284
|
+
|
|
285
|
+
<script src="js/windowResize.js"></script>
|
|
286
|
+
<script src="js/adblockManager.js"></script>
|
|
287
|
+
<script src="js/macUserAgent.js"></script>
|
|
288
|
+
<script src="js/visibilityChangeListener.js"></script>
|
|
289
|
+
<script>
|
|
290
|
+
function onUnityReady() {
|
|
291
|
+
checkAdBlock();
|
|
292
|
+
sendConfig();
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
fixMacUserAgent();
|
|
296
|
+
</script>
|
|
297
|
+
<!-- <script src="/js/main.js"></script> -->
|
|
298
|
+
</body>
|
|
299
|
+
</html>
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>
|
|
5
|
+
2048
|
|
6
|
+
</title>
|
|
7
|
+
<base href="https://cdn.jsdelivr.net/gh/dskjfoisjfsjio/Standalone-games@main/2048/">
|
|
8
|
+
<link rel="icon" href="/new logo.png"/>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
|
|
12
|
+
<style>
|
|
13
|
+
|
|
14
|
+
a{
|
|
15
|
+
border: 7px solid black;
|
|
16
|
+
position: fixed;
|
|
17
|
+
left: -15px;
|
|
18
|
+
top: -5px;
|
|
19
|
+
color: white;
|
|
20
|
+
font-family: Arial Black;
|
|
21
|
+
font-size: 130%;
|
|
22
|
+
border-radius: 8px;
|
|
23
|
+
padding: 12px;
|
|
24
|
+
background: -webkit-linear-gradient(Black, Red, Black, Orange, Black, Yellow, Black, Green, Black, Blue, Black, Indigo, Black, Purple, Black, Indigo, Black, Blue, Black, Green, Black, Yellow, Black, Orange, Black, Red, Black);
|
|
25
|
+
}
|
|
26
|
+
n{
|
|
27
|
+
border: 8px solid black;
|
|
28
|
+
right: -15px;
|
|
29
|
+
position: fixed;
|
|
30
|
+
top: -8px;
|
|
31
|
+
color: white;
|
|
32
|
+
font-family: Arial Black;
|
|
33
|
+
font-size: 90%;
|
|
34
|
+
border-radius: 8px;
|
|
35
|
+
padding: 12px;
|
|
36
|
+
background: -webkit-linear-gradient( Red, Black, Orange, Black, Yellow, Black, Green, Black, Blue, Black, Indigo, Black, Purple, Black, Indigo, Black, Blue, Black, Green, Black, Yellow, Black, Orange, Black, Red, Black);
|
|
37
|
+
}
|
|
38
|
+
@keyframes panBackground {
|
|
39
|
+
0% {
|
|
40
|
+
background-position: 0% 0;
|
|
41
|
+
}
|
|
42
|
+
100% {
|
|
43
|
+
background-position: 100% 0;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
</style>
|
|
49
|
+
|
|
50
|
+
<link href="style/main.css" rel="stylesheet" type="text/css">
|
|
51
|
+
<link rel="shortcut icon" href="favicon.ico">
|
|
52
|
+
<link rel="apple-touch-icon" href="meta/apple-touch-icon.png">
|
|
53
|
+
<link rel="apple-touch-startup-image" href="meta/apple-touch-startup-image-640x1096.png" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)"> <!-- iPhone 5+ -->
|
|
54
|
+
<link rel="apple-touch-startup-image" href="meta/apple-touch-startup-image-640x920.png" media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2)"> <!-- iPhone, retina -->
|
|
55
|
+
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
56
|
+
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
57
|
+
|
|
58
|
+
<meta name="HandheldFriendly" content="True">
|
|
59
|
+
<meta name="MobileOptimized" content="320">
|
|
60
|
+
<meta name="viewport" content="width=device-width, target-densitydpi=160dpi, initial-scale=1.0, maximum-scale=1, user-scalable=no, minimal-ui">
|
|
61
|
+
</head>
|
|
62
|
+
<body>
|
|
63
|
+
<div class="container">
|
|
64
|
+
<div class="heading">
|
|
65
|
+
<h1 class="title">2048</h1>
|
|
66
|
+
<div class="scores-container">
|
|
67
|
+
<div class="score-container">0</div>
|
|
68
|
+
<div class="best-container">0</div>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
|
|
72
|
+
<div class="above-game">
|
|
73
|
+
|
|
74
|
+
<a class="restart-button">New Game</a>
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
<div class="game-container">
|
|
78
|
+
<div class="game-message">
|
|
79
|
+
<p></p>
|
|
80
|
+
<div class="lower">
|
|
81
|
+
<a class="keep-playing-button">Keep going</a>
|
|
82
|
+
<a class="retry-button">Try again</a>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
|
|
86
|
+
<div class="grid-container">
|
|
87
|
+
<div class="grid-row">
|
|
88
|
+
<div class="grid-cell"></div>
|
|
89
|
+
<div class="grid-cell"></div>
|
|
90
|
+
<div class="grid-cell"></div>
|
|
91
|
+
<div class="grid-cell"></div>
|
|
92
|
+
</div>
|
|
93
|
+
<div class="grid-row">
|
|
94
|
+
<div class="grid-cell"></div>
|
|
95
|
+
<div class="grid-cell"></div>
|
|
96
|
+
<div class="grid-cell"></div>
|
|
97
|
+
<div class="grid-cell"></div>
|
|
98
|
+
</div>
|
|
99
|
+
<div class="grid-row">
|
|
100
|
+
<div class="grid-cell"></div>
|
|
101
|
+
<div class="grid-cell"></div>
|
|
102
|
+
<div class="grid-cell"></div>
|
|
103
|
+
<div class="grid-cell"></div>
|
|
104
|
+
</div>
|
|
105
|
+
<div class="grid-row">
|
|
106
|
+
<div class="grid-cell"></div>
|
|
107
|
+
<div class="grid-cell"></div>
|
|
108
|
+
<div class="grid-cell"></div>
|
|
109
|
+
<div class="grid-cell"></div>
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
|
|
113
|
+
<div class="tile-container">
|
|
114
|
+
|
|
115
|
+
</div>
|
|
116
|
+
</div>
|
|
117
|
+
|
|
118
|
+
<script src="js/bind_polyfill.js"></script>
|
|
119
|
+
<script src="js/classlist_polyfill.js"></script>
|
|
120
|
+
<script src="js/animframe_polyfill.js"></script>
|
|
121
|
+
<script src="js/keyboard_input_manager.js"></script>
|
|
122
|
+
<script src="js/html_actuator.js"></script>
|
|
123
|
+
<script src="js/grid.js"></script>
|
|
124
|
+
<script src="js/tile.js"></script>
|
|
125
|
+
<script src="js/local_storage_manager.js"></script>
|
|
126
|
+
<script src="js/game_manager.js"></script>
|
|
127
|
+
<script src="js/application.js"></script>
|
|
128
|
+
</body>
|
|
129
|
+
</html>
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>2048 Cupcakes</title>
|
|
6
|
+
<link rel="icon" href="/assets/new%20logo.png">
|
|
7
|
+
<base href="https://cdn.jsdelivr.net/gh/dskjfoisjfsjio/Standalone-games@main/cupcake2048/">
|
|
8
|
+
<link href="style/main.css" rel="stylesheet" type="text/css">
|
|
9
|
+
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
10
|
+
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
11
|
+
|
|
12
|
+
<meta name="HandheldFriendly" content="True">
|
|
13
|
+
<meta name="MobileOptimized" content="320">
|
|
14
|
+
<meta name="viewport" content="width=device-width, target-densitydpi=160dpi, initial-scale=1.0, maximum-scale=1, user-scalable=no, minimal-ui">
|
|
15
|
+
<meta name="format-detection" content="telephone=no" />
|
|
16
|
+
</head>
|
|
17
|
+
<body>
|
|
18
|
+
<div class="container">
|
|
19
|
+
<div class="heading">
|
|
20
|
+
<div class="title-container">
|
|
21
|
+
<h1 class="title">2048 <small>Cupcakes</small></h1>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="scores-container">
|
|
24
|
+
<div class="score-points">0</div>
|
|
25
|
+
<div class="best-points">0</div>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="scores-container">
|
|
28
|
+
<div class="score-container">0 Kcal</div>
|
|
29
|
+
<div class="best-container">0 Kcal</div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
<div class="above-game">
|
|
34
|
+
<p class="game-intro">Join tiles and destroy <strong>EMPIRE!</strong></p>
|
|
35
|
+
<a class="restart-button">New Game</a>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
<div class="game-container">
|
|
39
|
+
<div class="game-message">
|
|
40
|
+
<p></p>
|
|
41
|
+
<div class="lower">
|
|
42
|
+
<a class="keep-playing-button">Keep going</a>
|
|
43
|
+
<a class="retry-button">Retry</a>
|
|
44
|
+
<div class="score-sharing"></div>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
<div class="grid-container">
|
|
49
|
+
<div class="grid-row">
|
|
50
|
+
<div class="grid-cell"></div>
|
|
51
|
+
<div class="grid-cell"></div>
|
|
52
|
+
<div class="grid-cell"></div>
|
|
53
|
+
<div class="grid-cell"></div>
|
|
54
|
+
</div>
|
|
55
|
+
<div class="grid-row">
|
|
56
|
+
<div class="grid-cell"></div>
|
|
57
|
+
<div class="grid-cell"></div>
|
|
58
|
+
<div class="grid-cell"></div>
|
|
59
|
+
<div class="grid-cell"></div>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="grid-row">
|
|
62
|
+
<div class="grid-cell"></div>
|
|
63
|
+
<div class="grid-cell"></div>
|
|
64
|
+
<div class="grid-cell"></div>
|
|
65
|
+
<div class="grid-cell"></div>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="grid-row">
|
|
68
|
+
<div class="grid-cell"></div>
|
|
69
|
+
<div class="grid-cell"></div>
|
|
70
|
+
<div class="grid-cell"></div>
|
|
71
|
+
<div class="grid-cell"></div>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
|
|
75
|
+
<div class="tile-container">
|
|
76
|
+
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
|
|
80
|
+
<p class="game-explanation">
|
|
81
|
+
<strong class="important">How to play:</strong> Use your <strong>arrow keys</strong> to move the tiles. When two tiles with the same symbol touch,
|
|
82
|
+
they <strong>get promoted!</strong><br>
|
|
83
|
+
</p>
|
|
84
|
+
<hr>
|
|
85
|
+
<p class="tile-legend"><strong class="important">Tile Legend:</strong></p>
|
|
86
|
+
<hr>
|
|
87
|
+
<p class="credits">
|
|
88
|
+
Cupcakes images by <a href="http://www.georgetowncupcake.com/" title="Georgetown Cupcake | DC Cupcakes | About">Georgetown Cupcake</a>.
|
|
89
|
+
</p>
|
|
90
|
+
<p class="repo-link"><small>hosted on <a href="https://github.com/3kh0/">GitHub</a> by 3kh0.</small></p><br>
|
|
91
|
+
</div>
|
|
92
|
+
|
|
93
|
+
<script src="js/bind_polyfill.js"></script>
|
|
94
|
+
<script src="js/classlist_polyfill.js"></script>
|
|
95
|
+
<script src="js/animframe_polyfill.js"></script>
|
|
96
|
+
<script src="js/l10n.js"></script>
|
|
97
|
+
<script src="js/localization.js"></script>
|
|
98
|
+
<script src="js/keyboard_input_manager.js"></script>
|
|
99
|
+
<script src="js/html_actuator.js"></script>
|
|
100
|
+
<script src="js/grid.js"></script>
|
|
101
|
+
<script src="js/tile.js"></script>
|
|
102
|
+
<script src="js/local_storage_manager.js"></script>
|
|
103
|
+
<script src="js/game_manager.js"></script>
|
|
104
|
+
<script src="js/application.js"></script>
|
|
105
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-98DP5VKS42"></script>
|
|
106
|
+
<script>
|
|
107
|
+
window.dataLayer = window.dataLayer || [];
|
|
108
|
+
function gtag(){dataLayer.push(arguments);}
|
|
109
|
+
gtag('js', new Date());
|
|
110
|
+
|
|
111
|
+
gtag('config', 'G-98DP5VKS42');
|
|
112
|
+
</script>
|
|
113
|
+
<script>
|
|
114
|
+
window.twttr = (function (d,s,id) {
|
|
115
|
+
var t, js, fjs = d.getElementsByTagName(s)[0];
|
|
116
|
+
if (d.getElementById(id)) return; js=d.createElement(s); js.id=id;
|
|
117
|
+
js.src="https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs);
|
|
118
|
+
return window.twttr || (t = { _e: [], ready: function(f){ t._e.push(f) } });
|
|
119
|
+
}(document, "script", "twitter-wjs"));
|
|
120
|
+
</script>
|
|
121
|
+
<script type="text/javascript">
|
|
122
|
+
|
|
123
|
+
var _gaq = _gaq || [];
|
|
124
|
+
_gaq.push(['_setAccount', 'UA-49474780-3']);
|
|
125
|
+
_gaq.push(['_trackPageview']);
|
|
126
|
+
|
|
127
|
+
(function() {
|
|
128
|
+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
129
|
+
ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
|
|
130
|
+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
131
|
+
})();
|
|
132
|
+
|
|
133
|
+
</script>
|
|
134
|
+
</body>
|
|
135
|
+
</html>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
<title>Angry Birds</title>
|
|
4
|
+
<link rel="icon" href="/assets/new%20logo.png">
|
|
5
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/paigerodeghero/academicwebsite@897c910c65e6c68b04c44a6b6eba0b99d0f2f2cf/TemplateData/style.css">
|
|
6
|
+
<script src="https://cdn.jsdelivr.net/gh/lee2sman/everyday@d45d601d2c4d60adf809a0b677c00b7d12aba7e9/96/TemplateData/UnityProgress.js"></script>
|
|
7
|
+
<script src="https://cdn.jsdelivr.net/gh/gertdoro/UnityExplorer@cffa09e09790018403c996d37adb6c4450e8f6c6/Runtime/birds/birds.js"></script>
|
|
8
|
+
<script>
|
|
9
|
+
var gameInstance = UnityLoader.instantiate("gameContainer", "https://cdn.jsdelivr.net/gh/gertdoro/UnityExplorer@cffa09e09790018403c996d37adb6c4450e8f6c6/Runtime/birds/birds.json", {
|
|
10
|
+
onProgress: UnityProgress,
|
|
11
|
+
Module: {
|
|
12
|
+
onRuntimeInitialized: function () {
|
|
13
|
+
UnityProgress(gameInstance, "complete")
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
</script>
|
|
18
|
+
<div class="webgl-content">
|
|
19
|
+
<div id="gameContainer" style="width: 100vw; height: 100vh"></div>
|
|
20
|
+
</div>
|