mmf

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mmf provides a sample match function that uses the GRPC harness to set up the match making function as a service. This sample is a reference to demonstrate the usage of the GRPC harness and should only be used as a starting point for your match function. You will need to modify the matchmaking logic in this function based on your game's requirements.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeMatches

func MakeMatches(params *mmfHarness.MatchFunctionParams) ([]*pb.Match, error)

MakeMatches is where your custom matchmaking logic lives. This is the core match making function that will be triggered by Open Match to generate matches. The goal of this function is to generate predictable matches that can be validated without flakyness. This match function loops through all the pools and generates one match per pool aggregating all players in that pool in the generated match.

Types

This section is empty.

Jump to

Keyboard shortcuts

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