Module rpsls_eduardo_player

Player that always choose the most used option of the opponent.

Behaviours: rpsls_player.

Authors: Eduardo Santana (ezambomsantana@gmail.com).

Description

Player that always choose the most used option of the opponent. The first choise is random.

Function Index

play/2

Function Details

play/2

play(History::[{You::rpsls_player:choice(), Rival::rpsls_player:choice()}], State::term()) -> {rpsls_player:choice(), NewState::term()}


Generated by EDoc