Last active
April 13, 2020 16:02
-
-
Save jonnycaley/73ea3d333f4f125787c36e4f5727b627 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
fun getMineCells(): List<IntArray> { | |
val mineCells = mutableListOf<IntArray>() | |
gameBoardCells.forEach { cell -> | |
if (cell[0] == 4) | |
mineCells.add(cell) | |
} | |
return mineCells | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment