from enum import Enum class ShipDirection(Enum): VERTICAL = 0 HORIZONTAL = 1 UNKNOWN = -1