Skip to content

Instantly share code, notes, and snippets.

@cfv1984
Created January 29, 2013 01:46
Show Gist options
  • Save cfv1984/4660968 to your computer and use it in GitHub Desktop.
Save cfv1984/4660968 to your computer and use it in GitHub Desktop.
Initial idea for a plastic HTML structure for the game
<!DOCTYPE html>
<html>
<head>
<title>Browser based RPG</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="./css/game.css">
</head>
<body>
<article>
<header>
<h1>Browser based RPG</h1>
</header>
<section id="game-wrap">
<canvas id="game">
<p>Your browser does not know what a canvas is. Get one that does.</p>
</canvas>
</section>
</article>
<script src="./js/ocanvas.min.js"></script>
<script src="./js/klass.min.js"></script>
<script src="./js/engine.js"></script>
<script src="./game.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment