gameEnded

internal fun gameEnded()

Validates whether the game already ended and throws if a winner is set.

Throws

if the game already has a winner.