Initial project import
This commit is contained in:
commit
23f2d29e32
11957 files changed
+1754577
No files matched your search
@@ -0,0 +1,36 @@
|
||||
<!doctype html>
|
||||
<html lang="en-us">
|
||||
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<meta content="text/html; charset=utf-8" http-equiv=Content-Type>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>v 2048</title>
|
||||
<style>
|
||||
body {
|
||||
margin-left: 1rem;
|
||||
background-color: rgb(250, 248, 239);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>V 2048 demo</h1>
|
||||
<h3>
|
||||
Authors: <a href="http://github.com/spaceface777">@spaceface777</a>, <a href="http://github.com/spytheman">@spytheman</a> and other V contributors.
|
||||
<br>
|
||||
Original game by <a href="http://github.com/gabrielecirulli">@gabrielecirulli</a>.
|
||||
</h3>
|
||||
<h3>Click on the canvas to go into fullscreen mode</h3>
|
||||
<canvas id=canvas oncontextmenu=event.preventDefault() tabindex=-1 width="544" height="560"></canvas>
|
||||
<script src=index.js></script>
|
||||
<script>
|
||||
const m = Module()
|
||||
const e = document.getElementById("canvas");
|
||||
e.onclick = e.ontouchstart = () => {
|
||||
e.requestFullscreen()
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in new issue
Block a user