HTML and CSS Reference
In-Depth Information
Figure 11-1: The final game.
Open the file called blockbreak.html and put in the boilerplate HTML code in Listing 11-5 to get
a page started. You'll also need to include the quintus.js and quintus_input.js files from the last
chapter and the jquery.min.js and underscore.js dependencies.
Listing 11-5: blockbreak.html boilerplate
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=0,
minimum-scale=1.0, maximum-scale=1.0"/>
<title>Block Break</title>
<script src='jquery.min.js'></script>
<script src='underscore.js'></script>
<script src='quintus.js'></script>
<script src='quintus_input.js'></script>
<script src='quintus_sprites.js'></script>
<script src='blockbreak.js'></script>
Search WWH ::

Custom Search