Contestant

com.phasmidsoftware.gambit.game.Contestant
case class Contestant[S, M, Pl](name: String, player: Player[S, M, Pl])

A named contestant in a tournament.

Wraps a Player with a display name so the league table can identify each entry independently of the Boolean player-identity used internally by two-player GameRunner.

Type parameters

M

the move type.

Pl

the player identity type.

S

the state type.

Value parameters

name

display name for the league table.

player

the underlying player.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product