Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (13 sloc) 491 Bytes
"""Classes: ElementConflictException, ElementOutOfBoundsException, InvalidMoveException, GameOverException."""
class ElementConflictException(Exception):
"""Element position is in conflict with another element."""
pass
class ElementOutOfBoundsException(Exception):
"""Element position is out of bounds."""
pass
class InvalidMoveException(Exception):
"""Player move is invalid."""
pass
class GameOverException(Exception):
"""Game over mate."""
pass
You can’t perform that action at this time.