battleroyal

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BattleRoyalScenario

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

func Scenario

func Scenario() *BattleRoyalScenario

func (*BattleRoyalScenario) Evaluate

fifoEvaluate accepts all matches which don't contain the same ticket as in a previously accepted match. Essentially first to claim the ticket wins.

func (*BattleRoyalScenario) MatchFunction

func (b *BattleRoyalScenario) MatchFunction(p *pb.MatchProfile, poolTickets map[string][]*pb.Ticket) ([]*pb.Match, error)

func (*BattleRoyalScenario) Profiles

func (b *BattleRoyalScenario) Profiles() []*pb.MatchProfile

func (*BattleRoyalScenario) Ticket

func (b *BattleRoyalScenario) Ticket() *pb.Ticket

Jump to

Keyboard shortcuts

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