HTML and CSS Reference
In-Depth Information
in the
directionsToTest
array or in order up, down, left, and right) are tested until the
testBounds()
function returns
true
.
That's all there is to this code. In
Example 9-2
,
you find the entire set of code for this game.