Skip to content

Instantly share code, notes, and snippets.

@jezinka

jezinka/Main.groovy Secret

Created Oct 17, 2018
Embed
What would you like to do?
while (board.emptyCells.size() > 0 || results.any { it }) {
List bees = []
(0..10).each {
Cell cell = board.getCell()
bees << task { board.resolve(cell) }
}
results = waitAll(bees)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment