()
| 1 | const GRID_SIZE = 21 |
| 2 | |
| 3 | export function randomGridPosition() { |
| 4 | return { |
| 5 | x: Math.floor(Math.random() * GRID_SIZE) + 1, |
| 6 | y: Math.floor(Math.random() * GRID_SIZE) + 1 |
| 7 | } |
| 8 | } |
| 9 | |
| 10 | export function outsideGrid(position) { |
| 11 | return ( |
no outgoing calls
no test coverage detected