Workshop › Pac-Man-style Maze Chase › Step 26 of 42
Four ghosts that all aim at you would just follow each other. Pink aims 4 tiles ahead of you, in the direction you are going: it tries to come at you from the front.
```js
if (g.name === 'pink') return { col: player.col + player.dir[0] * 4, row: player.row + player.dir[1] * 4 }
```STOP) it is the player's own
tile.In target, under the scatter line, write the pink line.
Skills: Game states
← Every ghost to its corner Orange is shy →