Skip to content

Instantly share code, notes, and snippets.

@deleteman
Created December 15, 2022 06:48
Show Gist options
  • Save deleteman/b09a01daecffc18dc90d544ac100bc18 to your computer and use it in GitHub Desktop.
Save deleteman/b09a01daecffc18dc90d544ac100bc18 to your computer and use it in GitHub Desktop.
function isObstacle(x, y) {
return obstacles.find( o => o.x == x && o.y == y)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment