Files
  • index.html
  • index.css
  • index.js
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <title>HTML5 Pacman</title>
    <link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
    <link href="./index.css" rel="stylesheet">
</head>

<body>

  <div class="pacman-game">
    Pacman game
  </div>
 
  <div id="pacman"></div>>
  <script src="https://cdn.rawgit.com/simondegheselle/a66f14f3aebc3fca8f806eac27976794/raw/828660d77ca073388156016af5ac83df3db467b0/pacman-build.js" type="text/javascript"></script>
  <script src="./index.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.js"></script>
</body>
</html>
result
console