gg

package
v0.0.0-...-b9e61c6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	DevCreator    dev.Creator
	PlayerCreator player.Creator

	DevCt           int
	PlayerCt        int
	DevIterations   int
	PlayIterations  int
	PlayTime        int
	MechanicsPerGen int

	Assignment func(playerCt, devCt int) [][]int

	Render bool
	// contains filtered or unexported fields
}

func (*Instance) Loop

func (in *Instance) Loop()

type PlayerCount

type PlayerCount struct {
	// contains filtered or unexported fields
}

type PlayerCounts

type PlayerCounts []PlayerCount

func (PlayerCounts) Len

func (a PlayerCounts) Len() int

func (PlayerCounts) Less

func (a PlayerCounts) Less(i, j int) bool

func (PlayerCounts) Swap

func (a PlayerCounts) Swap(i, j int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL