<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>Snake</title>
<script type="text/javascript" src="js/raphael-min.js"></script>
<script type="text/javascript" src="js/snake.js"></script>
<script type="text/javascript" src="js/shortcut.js"></script>
<script type="text/javascript">
window.onload = function(){
try{
var snake = new Snake("canvas");
snake.play();
}catch(e){
alert(e);
}
};
</script>
</head>
<body>
<div id="canvas" style="width:400px; height:400px;"></div>
</body>
</html>
|