20 lines
280 B
Go
20 lines
280 B
Go
package game
|
|
|
|
import "github.com/google/uuid"
|
|
|
|
type State struct {
|
|
ID uuid.UUID
|
|
Turn uint
|
|
Stage uint
|
|
Players []PlayerState
|
|
Finished bool
|
|
}
|
|
|
|
type PlayerState struct {
|
|
ID uuid.UUID
|
|
RaceName string
|
|
Planets uint
|
|
Population Float
|
|
Extinct bool
|
|
}
|