Workshop › Pinball › Step 41 of 42
After game over, a tap anywhere on the table starts a new game, and the box says so.
```js
if (state === 'over') return reset()
ctx.fillText('Space or tap to play again', 200, 392)
```return reset() starts a new game and leaves the handler at once, so the same tap does not also lift a flipper.if (state === 'over') return reset() the first line of the pointerdown handler.draw, change 'Space to play again' to 'Space or tap to play again'.Skills: Keyboard and mouse input, Game states
← Pull with a finger Build it yourself: slingshots →