<!DOCTYPE html>
<html>
	<head>
		<title>Reverse Snake</title>
		<style>
			td.snakecell {
				background-color:red;
			}
			td.emptycell {
				background-color:black;
			}
			table.snaketable {
				background-color: white;
				border: 5px solid white;
				cellspacing: 1px;
				margin: auto;
			}
		</style>
		<script src="Snake.js"></script>
		<script src="Board.js"></script>
		<script src="detectmobilebrowser.js"></script>
	</head>
	<body>
		<button onclick="init(height, width)">Click Me!</button>
		<table class="snaketable"></table>
	</body>
</html>

<!DOCTYPE html>
<html>
	<head>
		<title>Reverse Snake</title>
		<style>
			td.snakecell {
				background-color:red;
			}
			td.emptycell {
				background-color:black;
			}
			table.snaketable {
				background-color: white;
				border: 5px solid white;
				cellspacing: 1px;
				margin: auto;
			}
		</style>
		<script src="Snake.js"></script>
		<script src="detectmobilebrowser.js"></script>
	</head>
	<body>
		<button onclick="init(height, width)">Click Me!</button>
		<table class="snaketable"></table>
	</body>
	<script src="Board.js"></script>
</html>

Load script later, so it can find the body
Load script later, so it can find the body
