Workshop › Frogger-style Crossing › Step 12 of 22
On a phone, a tap after a game over starts a new game instead of hopping.
```js
if (state === 'over') {
reset()
} else if (Math.max(
```In pointerup, put the game over check in front of the chain.
Skills: Keyboard and mouse input
← Play again Logs on the river →