Honeycombs: Difference between revisions
Content added Content deleted
Line 1,464: | Line 1,464: | ||
reveal(win, true) |
reveal(win, true) |
||
if all(map(k -> honeycomb[k].color == colorant"violet", collect(keys(honeycomb)))) |
if all(map(k -> honeycomb[k].color == colorant"violet", collect(keys(honeycomb)))) |
||
println("All hexagons ($chosen, and the last |
println("All hexagons ($chosen, and the last letter was $(chosen[end])) have been chosen. Exiting.") |
||
exit(0) |
exit(0) |
||
else |
else |
||
Line 1,492: | Line 1,492: | ||
</lang> |
</lang> |
||
=={{header|Kotlin}}== |
=={{header|Kotlin}}== |