minimal-web-templates
/games/pacman/index.html |
@@ -5,11 +5,11 @@ |
<title>HTML5 Pacman</title> |
|
<style type="text/css"> |
#pacman { |
height:450px; |
width:342px; |
margin:20px auto; |
} |
#pacman { |
height: 450px; |
width: 342px; |
margin: 20px auto |
} |
</style> |
|
</head> |
@@ -17,9 +17,12 @@ |
<body> |
<h1>HTML5 Pacman</h1> |
|
<!-- Load the pacman game into this container. --> |
<div id="pacman"></div> |
|
<!-- Include pacman.js script. --> |
<script src="pacman.js"></script> |
<!-- Load the pacman game into the "pacman" container by ID. --> |
<script> |
PACMAN.init(document.getElementById("pacman"), "./"); |
</script> |