<@U092308M7> it’s for sure much clearer but the or...
# getting-started
n
@orangy it’s for sure much clearer but the original question was about verbosity i’d reconcile your answer with the original form and take advantage of the ordering
Copy code
when {
    currentCellState == Alive && liveNeighbours in 2..3 -> Alive
    currentCellState == Alive -> Dead       
    liveNeighbours == 3 -> Alive
    else -> Dead 
}
👍 1