Workshop › Simon Says Colors › Step 15 of 27
The top right says what is happening: Watch... while the computer shows the sequence, Your turn when the player
should repeat it.
```js
ctx.textAlign = 'right'
ctx.fillText(state === 'showing' ? 'Watch...' : 'Your turn', canvas.width - 10, 27)
```textAlign = 'right' makes x the right edge of the text, so it ends 10 pixels from the right side.In draw, under the Round line, write the two new lines.
Skills: Drawing on a canvas, Game states
← Show the whole sequence Check each press →