Created
March 5, 2022 00:28
-
-
Save gwoodhouse/0f159083f30dfb7a1de99dfc28c61d10 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public bool findTarget(target) { | |
grid.forXY(int x, int y) { | |
if(grid[x,y] == target) return true | |
} | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment