Skip to content

Commit e1e07e4

Browse files
committed
Integrate tech editing for Chapter 16
1 parent bd97dcd commit e1e07e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

16_game.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ give the player the feeling of being in direct control of the onscreen
6262

6363
{{index "fractional number", discretization, "artificial life", "electronic life"}}
6464

65-
The ((game)) consists of a fixed ((background)), laid out like a
65+
The ((game)) consists of a static ((background)), laid out like a
6666
((grid)), with the moving elements overlaid on that background. Each
6767
field on the grid is either empty, solid, or ((lava)). The moving
6868
elements are the player, coins, and certain pieces of lava. The
@@ -119,7 +119,7 @@ part of the background grid or a moving element.
119119
The plan for a small level might look like this:
120120

121121
```{includeCode: true}
122-
var simpleLevelPlan = `
122+
let simpleLevelPlan = `
123123
......................
124124
..#................#..
125125
..#..............=.#..
@@ -692,8 +692,8 @@ element into which we draw the game. That is why the
692692
protruding outside the viewport, we scroll that viewport to make sure
693693
the player is near its center. The following ((CSS)) gives the game's
694694
wrapping ((DOM)) element a maximum size and ensures that anything that
695-
sticks out of the element's box is not visible. We also give the outer
696-
element a relative position so that the actors inside it are
695+
sticks out of the element's box is not visible. We also give it
696+
a relative position so that the actors inside it are
697697
positioned relative to the level's top-left corner.
698698

699699
```{lang: "text/css"}

0 commit comments

Comments
 (0)