Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 47 additions & 29 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,37 +1,55 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8" />
<title>HTML5 lightcycles</title>
<!--[if IE]>
<meta charset="utf-8" />
<title>HTML5 lightcycles</title>
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style>
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block;
}
body {
background-color: #333;
}
h1 {
font-size: 32px;
}
h1, p {
color: #FFF;
text-align: center;
}
canvas {
display: block;
margin: 10px auto;
background-color: #666;
}
</style>
<style>
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
display: block;
}

body {
background-color: #333;
}

h1 {
font-size: 32px;
}

h1,
p {
color: #FFF;
text-align: center;
}

canvas {
display: block;
margin: 10px auto;
background-color: #666;
}
</style>
</head>

<body>
<h1>lightcycles</h1>
<p>Use WASD or arrow keys control cycle.</p>
<p>Click inside canvas to play game.</p>
<canvas id="the-game" width="320" height="240">
<script type="text/javascript" src="main.js"></script>
<h1>lightcycles</h1>
<p>Use WASD or arrow keys control cycle.</p>
<p>Click inside canvas to play game.</p>
<canvas id="the-game" width="320" height="240">
<script type="text/javascript" src="main.js"></script>
</body>
</html>

</html>