hjorthjort/CapStat

Throw exception in ThrowSequence if the state you want to update to is not valid

Opened this issue · 0 comments

Let's say someone tries to update a ThrowSequence with a starting point that looks like this:
lastThrowWasHit: false
startingPlayer: 1
Glasses: O X O O O X X O O

An exception must be thrown, since this is not a valid glass state and is caused by a logical error.