6 lines
159 B
Swift
6 lines
159 B
Swift
public protocol BoardIO {
|
|
mutating func next() -> (any StringProtocol)?
|
|
mutating func commit(command: SnakeCommand)
|
|
mutating func commit(text: String)
|
|
}
|