Workshop › Asteroids › Step 39 of 41
When the game is over, the ship is no longer drawn, and the middle of the screen says GAME OVER with the best score.
```js
if (state === 'playing' && (!safe || Math.floor(now / 150) % 2 === 0)) drawShip()
if (state === 'over') {
ctx.textAlign = 'center'
ctx.font = 'bold 36px monospace'
ctx.fillText('GAME OVER', canvas.width / 2, canvas.height / 2)
ctx.font = '16px monospace'
ctx.fillText('BEST ' + best + ' SPACE TO PLAY AGAIN', canvas.width / 2, canvas.height / 2 + 34)
}
```&&.'BEST ' + best + ' SPACE TO PLAY AGAIN' joins text and the number.draw, change the ship line so it starts with state === 'playing' && ( and closes the extra parenthesis.GAME OVER block.Skills: Drawing on a canvas