Workshop › Pac-Man-style Maze Chase › Step 30 of 42
While the game waits, say so: Press an arrow key in yellow, centered on row 11, just under the ghost house.
```js
ctx.textAlign = 'center'
if (state === 'ready') {
ctx.fillStyle = '#facc15'
ctx.fillText('Press an arrow key', canvas.width / 2, TOP + 11 * TILE + 18)
}
```textAlign = 'center' with canvas.width / 2 centers the text; TOP + 11 * TILE + 18 is near the bottom of row 11.At the end of draw, after an empty line, write the text lines.
Skills: Drawing on a canvas
← Wait for the first key Three lives →