Index of types


H
history [Ps1]
A history is a list of moves that a player's opponent has made in a game of rock-paper-scissors.

M
move [Ps1]
Values of type move are moves that players can make in a rock-paper-scissors game.

P
player [Ps1]
A player is a function that produces a move given a history of the opponent's moves.

R
result [Ps1]
The result type is used to specify the outcome of an individual round of the game.