bgammon/command.go
2023-07-31 16:46:28 -07:00

17 lines
255 B
Go

package bgammon
// commands are always sent TO the server
type Command struct {
Type int
}
type CommandChat struct {
Command
Message string
}
type CommandMove struct {
Event
Spaces []int // One or more sets of moves from A->B as A,B,A,B,A,B...
}