cg85-v2/Sources/Np85Snake/IO.swift

6 lines
159 B
Swift

public protocol BoardIO {
mutating func next() -> (any StringProtocol)?
mutating func commit(command: SnakeCommand)
mutating func commit(text: String)
}